Support » Plugin: Mailchimp for WooCommerce » Api key not connecting

  • Resolved winston whitely


    Hello MailChimp Help,

    My API key is not connecting from wordpress mailchimp plugin. Instead i am getting a blank screen and the attached message:
    See past in message below…

    I am running the latest plugin, php 7.17
    wordpress 5.1.1 and MySql 5.6.35

    owe, and i am also using Woocommerce

    My theme is not supported anymore but i have customized it to where it works for what i need and to use a new theme cannot be an option at this point.

    Your help is greatly appreciated.


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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Here is the error message i am getting:

    Warning: trim() expects parameter 1 to be string, array given in /app/public/wp-content/themes/nrgnetwork-child/functions.php on line 232 Fatal error: Uncaught TypeError: Argument 1 passed to MC4WP_Admin::save_general_settings() must be of the type array, string given, called in /app/public/wp-includes/class-wp-hook.php on line 288 and defined in /app/public/wp-content/plugins/mailchimp-for-wp/includes/admin/class-admin.php:243 Stack trace: #0 /app/public/wp-includes/class-wp-hook.php(288): MC4WP_Admin->save_general_settings(”) #1 /app/public/wp-includes/plugin.php(208): WP_Hook->apply_filters(”, Array) #2 /app/public/wp-includes/formatting.php(4709): apply_filters(‘sanitize_option…’, ”, ‘mc4wp’, ”) #3 /app/public/wp-includes/option.php(306): sanitize_option(‘mc4wp’, ”) #4 /app/public/wp-admin/options.php(283): update_option(‘mc4wp’, ”) #5 {main} thrown in /app/public/wp-content/plugins/mailchimp-for-wp/includes/admin/class-admin.php on line 243

    Plugin Author ryanhungate


    @winstonian this error you’re reporting is actually coming from another plugin called “MC4WP”. Please reach out to the developer of that plugin for guidance.


    Yes. MC4WP is the plugin i mentioned in my issue. I am having trouble with the api key not connecting. I reached out to Mailchimp and was told to try this forum.

    Plugin Author ryanhungate


    @winstonian no worries at all. With the naming of each plugin being very similar, it’s very easy to get confused on all fronts and we apologize for the miscommunication there.

    Unfortunately you’ll still need to reach out to the MC4WP plugin developer about this issue.


    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.