EvanHerman / yikes-inc-easy-mailchimp-extender

Easy Forms for MailChimp WordPress Plugin
http://yikesplugins.com
GNU General Public License v2.0
25 stars 28 forks source link

invalid MailChimp API key #151

Closed MattHill72 closed 9 years ago

MattHill72 commented 9 years ago

hi there

This plugin worked fine on my old server, but I've just moved the site to a new host and am having an issue:

The Dashboard Widget says this: Fatal error: Uncaught exception 'Mailchimp_Error' with message 'You must provide a MailChimp API key' in /wp-content/plugins/yikes-inc-easy-mailchimp-extender/classes/MCAPI_2.0.class.php:227 Stack trace: #0 /wp-content/plugins/yikes-inc-easy-mailchimp-extender/classes/class.yksemeBase.php(1816): wpyksMCAPI->__construct('') #1 /wp-content/plugins/yikes-inc-easy-mailchimp-extender/process/ajax.php(135): yksemeBase->getMailChimpChatterForWidget(Array) #2 /wp-content/plugins/yikes-inc-easy-mailchimp-extender/lib/lib.ajax.php(13): require_once('/wp-content/plu...') #3 [internal function]: ykseme_ajaxActions('') #4 /wp-includes/plugin.php(505): call_user_func_array('ykseme_ajaxActi...', Array) #5 /wp-admin/admin-ajax.php(85): do_action('wp_ajax_yks_mai...') #6 {main} thrown in /wp-content/plugins/yikes-inc-easy-mailchimp-extender/classes/MCAPI_2.0.class.php on line 227

The plugin setting for API key says this: Sorry, that is an invalid MailChimp API key. Please check the console for further information.

I have double-checked that nothing is being appended to the key (as per a previous post by yourself on this issue) and it definitely isn't - I have a 36-character key in there.

Any thoughts?

EvanHerman commented 9 years ago

Hi Matt,

What browser are you current using? Its possible your browsers password manager is filling in the API key input field with your sites password each time you hit 'Save'. I had run into this issue on one of my own sites a few times. Usually, running the browser in private or incognito mode temporarily while you enter your API key seems to prevent the issue of auto fill happening.

If that doesn't help, I can give it a shot by entering the key myself. Since I have no passwords stored for your site I dont seem to run into the password manage auto fill issue. You can email me at Evan@Yikesinc.com and I can get you squared away.

Thanks, Evan

EvanHerman commented 9 years ago

This issue was related to CURL not including the correct cert's. As a workaround, follow along with this tutorial : http://redwebturtle.blogspot.com/2013/09/mailchimp-api-v20-ssl-error-solution.html

Thanks, Evan