• Resolved pathos444

    (@pathos444)


    Hi,

    Thanks for this very nice plugin !

    I successfully managed to activate and use your plugin in a local wamp version, but once installed on my client’s website, I can’t activate it. I get this message (I translated it for you, so it might not be perfectly accurate) :

    This plugin cannot be activated, because it triggered a fatal error.

    And a complementary information :

    Parse error: syntax error, unexpected T_FUNCTION in /home/euroipse/www/wp-content/plugins/asgaros-forum/includes/forum-widgets.php on line 104

    I’ve tried to deactivate the other plugins, but still not work.
    Any idea ?

    Thank you very much !

    https://www.ads-software.com/plugins/asgaros-forum/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yworld

    (@yworld)

    Thread Starter pathos444

    (@pathos444)

    It works like a charm !

    Thank you very much !!

    Thread Starter pathos444

    (@pathos444)

    I have another issue now : in the Forums section, there is a warning message about usort() :

    Warning: usort() [function.usort]: Invalid comparison function in /home/euroipse/www/wp-content/plugins/asgaros-forum/includes/forum.php on line 504

    The same message displays a second time when I try to add a forum and save changes. And the forum added doesn’t appear.
    Do you have an idea ? Thanks !

    Yworld

    (@yworld)

    Update version PHP 5.3 above.
    Unless have the opportunity on host before new 5.5 – 5.7
    Only if not use an old version of WP!
    This is only a variant of the solution!

    Plugin Author Asgaros

    (@asgaros)

    Hello pathos444,

    Yworld is right, those problems occur because of an old version of PHP which is not supported anymore.

    WordPress recommends to use:
    PHP version 5.6 or greater
    MySQL version 5.6 or greater

    WordPress also works with PHP 5.2.4+ and MySQL 5.0+, but these versions have reached official End Of Life and as such may expose your site to security vulnerabilities.

    Anyway:

    Parse error: syntax error, unexpected T_FUNCTION in /home/euroipse/www/wp-content/plugins/asgaros-forum/includes/forum-widgets.php on line 104

    This bug has been fixed in the development version. A fix will be included in the upcoming v1.0.10 release.

    Warning: usort() [function.usort]: Invalid comparison function in /home/euroipse/www/wp-content/plugins/asgaros-forum/includes/forum.php on line 504

    I will try to find a solution for this as well. But it would be a good idea too to ask your host to upgrade your server to a more up-to-date PHP version.

    I will inform you when I have a fix for the bug. ??

    Thread Starter pathos444

    (@pathos444)

    Yes ! Thank you guys it works perfectly now !!

    Merci ! ??

    Plugin Author Asgaros

    (@asgaros)

    I am happy to hear that it is working now! ??

    The other incompatibility has been fixed as well and will be included in the upcoming v1.0.10 release:
    https://github.com/Asgaros/asgaros-forum/commit/e0c6a203364cd219351ba0de1a5630af20a469de

    Thank you for your report!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error when trying to activate plugin’ is closed to new replies.