• Resolved code23isaac

    (@code23isaac)


    After updating the plugin from version 4.25 to 4.3, I get the following error on all pages:

    Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in path/to/plugins/mailchimp-for-wp/includes/functions.php on line 69

    Same issue with all other plugins deactivated.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    We’re sorry that happened to you. Our previous plugin update contained a bug for people that were running an older PHP versions and our tests didn’t catch it. Again, sorry… ??

    I’ve just pushed out version 4.3.1 in which the issue is fixed.

    If you’re still having the issue, please go into your /wp-content/plugins/ folder and delete or rename the mailchimp-for-wp directory to get your website back-up. You can then re-install the latest version again.

    On a somewhat related note: I strongly suggest asking your webhost to upgrade you to a PHP version that is actively supported. Your sites are at a security risk running such an old version (PHP 5.4 has been unsupported for over 3 years at the time of writing).

    Not only that, but updating to PHP 7.x will greatly improve your website’s performance.

    Thread Starter code23isaac

    (@code23isaac)

    Thanks for the prompt response! That’s sorted it.

    Yeah unfortunately we don’t host the client’s site, but will be making the recommendation to update to PHP 7.2.

    Cheers!

    I am getting the parse error when trying to login to the WP Admin page… is there a known work around to get in so I can update to PHP?

    Thread Starter code23isaac

    (@code23isaac)

    Do you see the error on the front-end of the site too?

    PHP version is not handled within WordPress – it’s at the hosting level that you need to change this.

    Thread Starter code23isaac

    (@code23isaac)

    Danny’s reply above outlines how to get the site back up:

    If you’re still having the issue, please go into your /wp-content/plugins/ folder and delete or rename the mailchimp-for-wp directory to get your website back-up. You can then re-install the latest version again.

    That needs to be done through FTP, or via your hosting control panel, if you have access

    Ok thanks. Yes at first it was select pages and the admin log in and now it is the entire site.

    Hi, I am getting same error. I cannot enter my wp-admin site either. In the WP phone app, when trying to uninstall/delete MailChimp, and error comes out and the Mailchimp plugin gets activated again.

    Any work around for this?! My whole Website is down! I tried through hostgator to solve this, but couldnt find the way…

    Many thanks!
    ignacio
    https://www.lucesdemontana.org

    Thread Starter code23isaac

    (@code23isaac)

    @ipalomo You can delete the plugin folder from wp-content/plugins via FTP, or you can access the database (take a backup before anything else), go to the wp_options table and find the row with option_name of active_plugins – delete everything in this row’s option_value – this will turn off all the plugins on the site, which will allow you to access /wp-admin again. There you can reactivate everything else and install the latest update for MailChimp for WordPress, which has fixed the issue.

    Many many thanks, that worked!

    hi. I have this error on my site. It shows when I try to login to the site. When I try to login to my wp admin account to make the changes recommended I get the same error message and cannot access anything. What else can I do? Please know that I am a beginner.
    https://www.daytrippersus.com

    got it! no need to respond. I figured out how to update my php and my site is back.

    Update your host to use PHP version 5.6 and above

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Latest update causes parse error on PHP 5.4.5’ is closed to new replies.