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
@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.
Thanks!
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.
@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.
Thanks!