Support » Plugin: Email Address Encoder » New update triggers fatal error

  • Resolved dlmweb

    (@dlmweb)



    Hello,
    The recent update caused a client’s website to return a blank white screen.

    I deleted the plugin folder, then attempted to reinstall the plugin which triggered this error:
    Parse error: syntax error, unexpected T_FUNCTION in /home2/macrealt/public_html/wp-content/plugins/email-address-encoder/email-address-encoder.php on line 105

    Other websites didn’t have a problem.
    Site is running PHP 5.2.17. I’ll upgrade and see if that fixes the issue.

    Danna

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Piani

    (@webbmasterpianise)

    I confirm this. Cant upgrade on my site.

    Error message:

    Forbidden
    You don’t have permission to access /wp-admin/plugin-install.php on this server.

    I also had this error, and had to contact my host’s support to deactivate the plugin to get the site to work again. A lot of errors in the log file. Here’s what the most recent error said: [02-Apr-2018 23:02:15] PHP Parse error: syntax error, unexpected T_FUNCTION in …/wp-content/plugins/email-address-encoder/email-address-encoder.php on line 105
    [02-Apr-2018 17:02:18] PHP Warning: PHP Startup: Unable to load dynamic library …

    I believe this is because the plugin now has a baseline requirement of PHP 5.3. If you’re running PHP 5.2 the syntax error will be triggered. The change was made because earlier versions of the plugin used PHP functions that have been deprecated – in this case create_function.

    The best solution is to have your host upgrade to a modern version of PHP, but as a workaround you can roll back to version 1.0.5 of the plugin, which is here: https://plugins.svn.wordpress.org/email-address-encoder/tags/1.0.5/

    The host said it was running a higher version (5.4.24), but when I looked at what version was selected in the cpanel phpconfig, none of the radio buttons was selected, so I went ahead and selected 5.6 single php.ini, (which I had on another site on the same host, with the same version of wordpress, same theme, which worked ok with the plugin update). It created a new php.ini and a new .htaccess file. I reactivated the plugin and all seems to be ok now.

    Plugin Author Till Krüss

    (@tillkruess)

    Thank @jnicol, just what he said. Make sure your website runs on PHP 7 or newer.

    PHP 5.2 hasn’t been supported for a long time: http://php.net/supported-versions.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New update triggers fatal error’ is closed to new replies.