WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp Widget
[resolved] Parse Error (3 posts)

  1. lpleva1
    Member
    Posted 3 years ago #

    Whenever I try to active your plugin, I get the following error message:

    Parse error: syntax error, unexpected '{' in /nfs/c05/h03/mnt/74736/domains/moneythink.org/html/wp-content/plugins/mailchimp-widget/mailchimp-widget.php on line 40

    I am using WordPress 3.0.5.

    Any ideas what's wrong?

  2. jameslafferty
    Member
    Plugin Author

    Posted 3 years ago #

    Hi lpleva1,

    Which version of the plugin are you using? In the most recent version, line 40 is part of a try {} catch () {} block. If you're using that version, I'd suspect that the culprit is your version of PHP. If you could also tell me which version of PHP you're using, we can maybe figure out whether that's the issue.

    Cheers,

    J.

  3. jameslafferty
    Member
    Plugin Author

    Posted 3 years ago #

    Hi lpleva1,

    Per this post from Mythobeast, the issue is resolved when you upgrade PHP from 4 to 5.

    I'm going to mark this as resolved.

    Cheers,

    James

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic