Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember won't talk to Mailchimp
- This topic has 4 replies, 2 voices, and was last updated 12 years, 10 months ago by akaigotchi.
-
AuthorPosts
-
January 24, 2012 at 11:54 am #5363akaigotchiMember
Hi,
I set up Mailchimp integration for eMember as it is recommended in the manual. But whenever I signup a new member I get the following error msg:
Warning: Invalid argument supplied for foreach() in [snip]/httpdocs/wp-content/plugins/wp-eMember/eMember_auto_responder_handler.php on line 30
I double checked the signup credentials for Mailchimp and made sure that the Mailchimp list is only asking for the following details (default settings):
first name
last name
email
My signup form also uses default settings with:
username
password
email
first name
last name
company
adress street
adress city
adress zipcode
adress country
gender
What is causing the error msg and what prevents eMember from talking to Mailchimp?
Your help is greatly appreciated
Thanks in advance
Thorsten
January 25, 2012 at 3:30 am #41141adminKeymaster1. Please load a fresh build of the plugin:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
2. Then go to the settings menu of eMember and check the “Enable Debug” option (this will give me some insight).
3. Now, do a test registration.
Also, please post a link to your registration page so I can check a few things.
January 25, 2012 at 9:40 am #41142akaigotchiMemberHi,
thank you very much for the fast and helpful reply I upgraded eMember following your instructions.
Here’s my debug.log:
[01/25/2012 9:28 AM] – SUCCESS :Processing registration submission…
[01/25/2012 9:28 AM] – SUCCESS :Autoresponder signup if needed…
[01/25/2012 9:28 AM] – SUCCESS :Performing membership level specific autoresponder signup if specified.
[01/25/2012 9:28 AM] – SUCCESS :End of membership level specific autoresponder signup.
[01/25/2012 9:28 AM] – SUCCESS :Performing global autoresponder signup if specified.
[01/25/2012 9:28 AM] – SUCCESS :Subscribing to MailChimp without double opt-in… Name: T K Email: t.k@gmail.com
[01/25/2012 9:28 AM] – FAILURE :Unable to load listSubscribe()!
[01/25/2012 9:28 AM] – FAILURE : Error Code=-90
[01/25/2012 9:28 AM] – FAILURE : Error Msg=You must specify a id value for the listSubscribe method
[01/25/2012 9:28 AM] – SUCCESS :Mailchimp email address to signup:t.k@gmail.com
[01/25/2012 9:28 AM] – SUCCESS :Mailchimp list to signup to:estore customer
[01/25/2012 9:28 AM] – SUCCESS :Mailchimp signup operation performed. returned value:
[01/25/2012 9:28 AM] – SUCCESS :End of global autoresponder signup.
The test registration failed with the following PHP error:
Warning: Invalid argument supplied for foreach() in /httpdocs/wp-content/plugins/wp-eMember/eMember_auto_responder_handler.php on line 40
Here’s the signup page:
http://www.tk-report.de/registrieren/
Thank you very much in advance!
January 26, 2012 at 4:49 am #41143adminKeymasterThank you for sharing the debug, here is the issue:
[01/25/2012 9:28 AM] – FAILURE :Unable to load listSubscribe()!
[01/25/2012 9:28 AM] – FAILURE : Error Code=-90
[01/25/2012 9:28 AM] – FAILURE : Error Msg=You must specify a id value for the listSubscribe method
This error basically means that you specified a list name that is incorrect (the plugin couldn’t find that list in your MailChimp account) or the API details are incorrect. The list name has to match exactly otherwise it won’t be able to sign up the customer. Double check your MailChimp account and correct the list name value that you entered in eMember.
January 26, 2012 at 11:09 am #41144akaigotchiMemberHi,
thank you for your help. The hint you gave me didn’t lead to a direct solution, but pointed me in the right direction:
When I used my username and password in the credentials settings eMember wasn’t able to communicate with Mailchimp. I got the same PHP error msg as stated before and also got the same debug msg. So I changed my signup credentials to an API-Key from Mailchimp and tada everything worked as expected.
Maybe there is something going on here that needs further inspection on your site. As of now I am using eMember 7.5.8 with WordPress 3.3.
Thank you alot for your fast help! I really appreciate the support you give (which is outstanding compared to other payed WP plugins) and I am happy to be your customer.
-
AuthorPosts
- You must be logged in to reply to this topic.