When submitting the user edit form with a category different from the main (account) one, the following notice may be thrown:

Argument #2 is not an array in mailchimp_lists_user_update()

I found this while enabling MC on a site upgraded from D6 which is using the legacy profile module: when saving the profile data I get the error above.

CommentFileSizeAuthor
#1 mailchimp-1649648-1.patch832 bytesplach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plach’s picture

Status: Active » Needs review
FileSize
832 bytes

Roles may be changed only when submitting the account category. The attached patch seems to fix the issue.

antipex’s picture

Status: Needs review » Fixed

Fixed in 1730645.

Status: Fixed » Closed (fixed)

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