Support » Plugin: MailChimp Widget » [Plugin: MailChimp Widget] Error on activation

  • Resolved Mythobeast


    Parse error: syntax error, unexpected ‘{‘ in …/plugins/mailchimp-widget/mailchimp-widget.php on line 40

    This issue was fixed by shifting from PHP4 to PHP5

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


    Right on, Mythobeast. Thank you for showing how you fixed it. I’ll add this to the FAQ’s in my next release, with a thank you to you. 🙂



    Hi there,

    I keep on having an error message in the widget itself in my wordpress dashboard. This one:

    Warning: Invalid argument supplied for foreach() in /home/………./public_html/wp-content/plugins/mailchimp-widget/lib/ns_widget_mailchimp.class.php on line 90

    When i go to my website the widget looks fine in the sidebar, but when i want to suscribe, i get an error message. My hosting uses PHP 5.2 , so i don’t know what causes this.
    Could you please help me out?

    Plugin Author jameslafferty


    Hi draak,

    I think this is probable related to the issue in this thread:

    Alternately, it could be that the API key from MailChimp got mangled somewhere in copying it and isn’t valid (I should do better checking of that to give a more helpful error message). If you aren’t using MailChimp Archives, and you try changing the API key and it still won’t work, please contact me off list (james at nearlysensical dot com) and I’ll be happy to take a closer look at it for you.



Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: MailChimp Widget] Error on activation’ is closed to new replies.