I've got this error when updating users.

I am not sure, but I think the problem is, because I added the emails directly on the Mailchimp site. So when I updated the user on my Drupal site, there was no old value for that field.

Anyway I made a patch that worked for me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joco_sp created an issue. See original summary.

joco_sp’s picture

Title: Fatal error: Call to a member function getValue() on null in /modules/contrib/mailchimp/modules/mailchimp_lists/mailchimp_lists.module on line 216 » Fatal error: Call to a member function getValue() on null in mailchimp_lists.module on line 216
asrob’s picture

Assigned: joco_sp » Unassigned
Status: Needs review » Reviewed & tested by the community

I've successfully applied this patch and looks good to me. RTBC'ed!

Greg Boggs’s picture

Thanks for the patch. This got fixed in: #2826483, so I can't get you commit credit for it, but thank you!

Greg Boggs’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.