Error

Could someone help with this error? Has anyone ever experienced this?

 

PHP WARNING: 2018-12-08 06:52:12 (EST): "Declaration of UserSupportFAQ::canComment($user_guid = 0) should be compatible with ElggObject::canComment($user_guid = 0, $default = NULL)" in file /home/dddrio/public_html/mod/user_support/classes/UserSupportFAQ.php (line 76)

PHP WARNING: 2018-12-08 06:52:07 (EST): "Declaration of UserSupportFAQ::canComment($user_guid = 0) should be compatible with ElggObject::canComment($user_guid = 0, $default = NULL)" in file /home/ddrio/public_html/mod/user_support/classes/UserSupportFAQ.php (line 76), referer: http://www.chocolateswing.com.br/user_support/faq

  • As the latest version of the User Support plugin available here on the community site is for Elgg 1.9 (should work up to Elgg 1.12)  it might not fully work anymore on Elgg 2.0 or newer. You might want to try upgrading to the latest version available at https://github.com/ColdTrick/user_support/releases that is for Elgg 2.3 and hopefully has no longer this issue.

  • IIonly, thanks for the tip. I downloaded the new version. But the old version when unmasked gives a fatal error. I am thinking of disabling and deleting the old version and already putting the new version. what do you think?
     
    
     
  • Class 'UserSupportFAQ' not found

    Error Object
    (
    [message:protected] => Class 'UserSupportFAQ' not found
    [string:Error:private] => Error: Class 'UserSupportFAQ' not found in /home/dddrj/public_html/mod/search_advanced/views/default/search_advanced/search/type_selection.php:59
    Stack trace:
    #0 

  • Iionly, I was able to upgrade without the above error. I deactivated the old user_support, and renamed it with another name. I put user_support updated and activated, all without leaving the administrator page. 
    I still took advantage of the old user_support language file, I had to do a few translations
     
    
     
     thank you
     
    
     
  • I deleted this error but still have the one below, would you have a tip?

     

    [Sat Dec 08 15:22:40 2018] [error] [client 2804:d41:4a96:dc00:b9ae:fd0e:a7f5:4e35] PHP WARNING: 2018-12-08 18:22:40 (-02): "gmdate() expects parameter 2 to be integer, array given" in file /home/dddrj/public_html/mod/celebrations/lib/celebrations_lib.php (line 20), referer: http://www.chocolate.com.br/admin

  • this line is 20:

    // year of celebration date is replaced with current year to allow for checking of upcoming celebrations days
    $celebration = gmdate("Y").'/'.gmdate("m", $fecha).'/'.gmdate("d", $fecha);