Closed (fixed)
Project:
Mailchimp
Version:
7.x-4.2
Component:
Lists
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2016 at 22:35 UTC
Updated:
18 May 2016 at 04:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
greatmatter commentedI just checked Watchdog--a notice and warning every load:
"Notice: Undefined property: stdClass::$choices in mailchimp_insert_drupal_form_tag() (line 1447 of /var/www/html/sites/all/modules/mailchimp/mailchimp.module)."
"Warning: Invalid argument supplied for foreach() in mailchimp_insert_drupal_form_tag() (line 1447 of /var/www/html/sites/all/modules/mailchimp/mailchimp.module)."
Comment #3
ruscoe commentedComment #4
greatmatter commentedIs this an issue with field instances not synchronizing?
Comment #5
bdawg8569 commentedNever really created a patch before, but gave it a shot. It's a simple change to apply if the patch isn't good.
As mentioned in #2, line 1447 throws an error and should be changed to:
foreach ($mergevar->options->choices as $choice) {Comment #6
greatmatter commentedThanks, bdawg8569 - ruscoe; is there anyway we can incorporate this into a test and merge it in?
Comment #7
ruscoe commentedThe patch is good, thank you. I've added it to the 7.x-4.3 release.
Comment #9
ruscoe commented