Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added a required list set to sync during cron to sync all users with a specific role. When I queue existing users to be synced, I get
MCAPI Error: is not subscribed to list Members
for every user that's supposed to be synced.
I tried recreating the lists a few times, sync different roles, leave out or add fields, to no avail. Can't get them to sync. Where do I start?
Never had the problem before but I did have one list that synced all authenticated users (required) which I deleted on both ends.
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedMy required list also will not sync. Where did you see the error "MCAPI Error: is not subscribed to list Members"? I dont see any errors.
Comment #2
rzach CreditAttribution: rzach commentedIn the the log... Administration > Reports > Recent log messages
Comment #3
rzach CreditAttribution: rzach commentedPossibly related but the log hasa whole bunch of these messages before the "not synced" errors.
Notice: Undefined index: op in mailchimp_lists_cron() (line 155 of /home/site/public_html/sites/all/modules/mailchimp/modules/mailchimp_lists/mailchimp_lists.module).
Comment #4
julescone CreditAttribution: julescone commentedI have the same issue as described above, this is the first version of the MailChimp module I have used, so I am assuming it hasn't always had this problem!
Here is a summary of my experience (all as admin user).
Settings for the MailChimp list are:
(Php) Notice: Undefined index: op in mailchimp_lists_cron() (line 155 of /home/awesome/public_html/sites/all/modules/mailchimp/modules/mailchimp_lists/mailchimp_lists.module).
(MailChimp) MCAPI Error: testboy2@planetnz.com is not subscribed to list MoA test
(MailChimp) Removed 0 records in MailChimp
(MailChimp) Added 0, updated 0 records in MailChimp
Removed 1 records in MailChimp
I am wondering if the
Undefined index: op
is causing the issue, but I had thought that notice level messages were more informational rather than critical so I could be wrong there.In the interim I am going to use the optional List type and probably will update the list on MailChimp myself, but the required option would definitely be my preferred implementation.
If I can provide any more info to the devs then please let me know, and keep up the great work on this mod!
Cheers, Jules
Comment #5
rzach CreditAttribution: rzach commentedI tried the same with a virgin mailchimp account and get these errors for every Drupal user who's supposed to get added to the mailchimp list:
MCAPI Error: There is no record of "" in the database
Since this amounts to complete loss of functionality for me, upping to critical
Comment #6
levelos CreditAttribution: levelos commentedComment #7
mr_spark CreditAttribution: mr_spark commentedSame issue for me.
Optional lists in the same install are working fine.
Comment #8
imkane CreditAttribution: imkane commentedSame issue for me...disappointing that it's been 3 weeks and this still hasn't been resolved. Isn't MailChimp funding this project???
Weak...
Comment #9
levelos CreditAttribution: levelos commentedFound the root cause here in that the queue existing function was failing to set the op parameter when queuing up items. This is now fixed. There is a lingering issue, though, in that users who were queued using the previously broken callback were removed from the required list and MailChimp's spam policy prevents them from being resubscribed in the batch API callback. Sorry for any trouble this causes, I can't think of a technical solution offhand.
@imkane, not helpful. MailChimp does support this module, along with Mandrill, through it's relationship with ThinkShout. We work with them to set priorities and discuss new features, but we alone are responsible for managing the issue queue, messaging, release schedules, and when we can do the work. We are not here to respond to any particular requests on "demand" and, while we make every effort to respond to issues as quickly as possible, our schedule may not align with your needs.