• Hi, this morning wordpress did not work to access the admin panel. The website worked but I could not access. The pada returns a 500 error.

    After review the log file I have found this error:

    Wed Feb 05 09:07:57.466117 2020] [:error] [pid 27908] [client 195.235.87.52:61499] PHP Fatal error: Can’t use function return value in write context in /opt/html/salurfix/wp-content/plugins/crelly-slider/wordpress/ajax.php on line 311, referer: https://salurfix.es/wp-login.php

    I do not know why this slider plugin generates an error to access to wp-login.php

    After that I have renamed the folder plugin. Now I can access the admin panel but obviously the slider does not work.

    I have renamed to the right name the plugin’s folder but wordpress says that the plugin can not be activated because a fatal error.

    Any idea before change this slider for another?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter carlosato

    (@carlosato)

    I have downgraded the version 1.3.5. and it works. I think and old php version does not work with the last version

    Plugin Author Fabio Rinaldi

    (@fabiorino)

    Hi, what version of PHP are you running?

    Thread Starter carlosato

    (@carlosato)

    It seems is PHP 5.4.16

    Plugin Author Fabio Rinaldi

    (@fabiorino)

    That’s an ancient version of PHP, I’d strongly recommend you to upgrade as that’s not supported anymore and might suffer from potential vulnerabilities. Some googling suggested me that PHP versions prior to 5.5 behave differently with the PHP function empty(), which appears at line 311 of ajax.php. The latest version of WordPress recommends PHP 7.3, which is the most recent version.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error’ is closed to new replies.