Mailchimp not adding new subcribers or synching existing

Hello,

I have MailChimp installed, and set to not automatically opt-in. The API test is passed.

Adding new users through the front end or admin does not add the user to my mailing list.

Using the Synch feature also does not add any users to my mailing list.

There are no errors in my php log, and my apache log shows this:

09 – – [07/Jan/2012:00:13:14 -0500] “GET /wp-content/themes/bp-social-child/_inc/css/adminbar.css?ver=20110723 HTTP/1.1” 304 – “http://www.blogsforexpats.com/wp-admin/options-general.php?page=mailchimp&updated=true&updatedmsg=0+users+added%2C+0+updated%2C+and+0+spam+users+removed+from+your+list.” “Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1”

223.25.13.

In case it matters, I do have the membership plug-in installed. The plug-in is activated, but protection is not yet enabled.

Any ideas where to troubleshoot further?

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    I just ran a test of this plugin and found everything working correctly. Sync works as well as signup additions.

    Do you see your mailchimp lists on the settings page? Also, may just need to try it again. I received a notice that MailChimp servers had an outage earlier today – may just have been something on their end.

    Let us know if it doesn’t begin working.

    Thanks!

  • Jeffrey Beer
    • Design Lord, Child of Thor

    It has not begun working. I just tried synch again, and no users were added, and newly registered user are not being added.

    Yes, the list is showing, and is selected in both sections of the admin. It passes the API check. There are no errors being shown.

  • Mason
    • DEV MAN’s Sidekick

    Ok, I’m gonna ask the developer if he has any other suggestions for how to troubleshoot this one. I’m not able to replicate the issue.

    Can you also have a quick look at your error logs to see if there’s anything there?

    Thanks!

  • Jeffrey Beer
    • Design Lord, Child of Thor

    It's a brand new account, never used, so I can't imagine it's "flagged" somehow.

    I'm able to manually add members to the list.

    I went through every option on the list and the account, and there's nothing anywhere to indicate that the list or account is inactive or anything.

    The domain is verified with MailChimp.

    The Account Status is:

    "Our compliance team loves you. You've never had any issues!"

    I've added a screenshot of the API calls for the last 5 days and the detail listing for the last 24 hours.

    [attachments are only viewable by logged-in members]

  • Jeffrey Beer
    • Design Lord, Child of Thor

    Hi Aaron,

    Changing a user's name does not trigger the call, according to the Apache logs – there's no new entry containing mailchimp.

    Unchecking Auto opt In doesn't seem to have any effect on synching users. I still get the same result.

    Ok – I changed the user's last name and nothing happened with Mailchimp automatically (I'm not sure if it automatically synchs or not). However, when I ran synch after modifying the user record, it's saying it updated one user. That user was not present in the list before, so technically, it added the user. But only that one.

    Looking at Mailchimp, I do see that one user in the list now.

    I've attached the API call report from Mailchimp.

    Thanks,

    Jeff

    [attachments are only viewable by logged-in members]

  • Jeffrey Beer
    • Design Lord, Child of Thor

    I just added a new user, and the apache logs do not show a new call to mailchimp.

    However, Mailchimp's API call log does show an unsuccessful call (attached).

    After adding the user, I tried Synch again. The result was one user updated, 0 added. Mailchimp does not show the new user. I've attached the updated API call log.

    [attachments are only viewable by logged-in members] [attachments are only viewable by logged-in members]

  • Mason
    • DEV MAN’s Sidekick

    Hmmm… the both failures seem to be using the listsubscribe function.

    I don’t see where this has been updated as part of mailchimp’s api in quite sometime – but it is odd that both your errors came from this function (which we do use in our plugin).

    Reviewing our plugins methods and comparing to the mailchimp docs we appear to be doing everything correct:

    http://apidocs.mailchimp.com/api/1.3/listsubscribe.func.php

    Hopefully Aaron can see something I’ve missed here though. Thanks again for the detailed information and feedback.

  • Aaron
    • Ex Staff

    Try putting this in line 104 after the listSubscribe() call:

    if ($api->errorCode) {
    $error = "MailChimp listSubscribe() Error: " . $api->errorCode . " - " . $api->errorMessage;
    trigger_error($error, E_USER_WARNING);
    }

    That should add any API errors to your PHP error log.

  • Jeffrey Beer
    • Design Lord, Child of Thor

    Found the issue.

    I had required fields set in MailChimp that were not present in the add/modify user admin in WP.

    I turned out the requirement for those fields, and the users synched up just fine.

    My bad – sorry to waste your time on this.

  • Jeffrey Beer
    • Design Lord, Child of Thor

    Here’s another issue. I’m using your Membership plugin. How can I synch the fields between Membership, BuddyPress Extended Profiles, and MailChimp so they can work together?

    I see the form code is using field names like “field_5” and so on. Is there a way to make those field names more descriptive and intuitive?

    That would also mean I can’t add users through the dashboard, right? Different set of fields?

  • Aaron
    • Ex Staff

    Wow, I was pretty sure it was something with your MailChimp account settings! I’ll have to remeber that one.

    That’s kinda an unrelated question, maybe one for another thread. As far as MailChimp plugin, we only sync name and email fields (as those are default in mailchimp lists).