• Resolved lzr0

    (@lzr0)


    Hi,
    After updating ReCaptcha plugin, my entire website got broken: it displays message

    Fatal error: Can’t use function return value in write context in /home/content/88/8890588/html/wp-content/plugins/login-recaptcha/login-nocaptcha.php on line 164

    The same message is displayed when I click on Plugins tab of the dashboard or any other link in the dashboard.
    I have WP5.1.8 . The plugin that caused problem was upgraded from 1.6.9 to 1.6.10.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robert Peake

    (@robertpeake)

    This is a problem with PHP versions less than or equal to 5.5. The code that triggers it existed in previous versions, so something must have changed on your server. Note that PHP 5x was discontinued in 2019, and versions below 5.5 are insecure. At minimum, you want to upgrade to 5.6.40, and ideally upgrade to PHP 7x or PHP 8x.

    I have pushed a backwards compatibility fix in 1.6.11, however as I say you have bigger (security) problems is you are running PHP <= 5.5 which you should address with your hosting provider.

    To disable the plugin if you are locked out, simply delete the entire plugin file directory from the plugins directory.

    Good luck!

    Thread Starter lzr0

    (@lzr0)

    I have pushed a backwards compatibility fix in 1.6.11

    Do you mean, it is safe now to upgrade the plugin with old versions of PHP?

    At minimum, you want to upgrade to 5.6.40, and ideally upgrade to PHP 7x or PHP 8x.

    I know, but this is PHP that my Godaddy webhost provides. Besides this, the theme I use is no longer maintained, so I am afraid to do any upgrades (but of course, this is my problem).

    Plugin Author Robert Peake

    (@robertpeake)

    1.6.11 should be backwards-compatible with PHP 5.5 (or, at least, this error should go away… I don’t have such an old version to test it myself).

    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Website is broken after updating recaptcha’ is closed to new replies.