Support » Plugin: MailChimp List Subscribe Form » [Plugin: MailChimp List Subscribe Form] Parse error: syntax error, unexpected T_STRING, expecting T_

  • Keep getting the following message:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/wrosso/public_html/wp-content/plugins/mailchimp/miniMCAPI.class.php on line 162

    It completely shut down my blog and I could not get to my admin dashboard. I deleted the plugin via FTP and reinstalled. It would not reinstall and I keep getting the above message. I use it in conjunction with Autochimp.

    Can you please help?

    http://wordpress.org/extend/plugins/mailchimp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • What version of PHP are you running? I didn’t test v1.2.2 of the plugin against PHP4 and don’t have that handy, so I’m going to guess that may be the issue. If that’s the issue, you can download v1.2.1 and it should work.

    If not, it sounds like you somehow got an incomplete version of the plugin. I just downloaded it and am not getting any errors (with PHP5), so if that’s the case a fresh download might fix it.

    Thread Starter waynerosso

    (@waynerosso)

    I’m running PHP5. It was working fine until this morning. I reinstalled several times from my wordpress dashboard and keep getting the same error. Any clue? It’s also happening with the official Mailchimp plugin

    Ok, what version of PHP5?

    That file wasn’t included until v1.2.2, so you can likely just go back to 1.2.1 assuming you just upgraded this morning. However it also doesn’t have any syntax errors in the package available for download.

    It’s also happening with the official Mailchimp plugin

    That statement makes me worry me that you are mixing multiple things up. The error message you posted is from our official plugin. That plugin is also the only one that will have that file.

    Thread Starter waynerosso

    (@waynerosso)

    Oops..sorry..my bad. Didn’t mean to mix up.

    Will try 1.2.1

    Thread Starter waynerosso

    (@waynerosso)

    That did the trick! Thanks

    1.2.2 totally crashed my site.

    On a client’s site hosted on GoDaddy, I had no problems with the 1.2.2 version of the Mailchimp plugin when it was hosted on Windows. Switched to Linux last night and got this same parse error. Downgraded to 1.2.1 and it works just fine again. This post saved me tearing my hear out. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: MailChimp List Subscribe Form] Parse error: syntax error, unexpected T_STRING, expecting T_’ is closed to new replies.