When I create a Signup form, drop downs (form-select) are not populating with the Options entered into Mailchimp.

I'm not sure if this is related to the "Fields" local task not populating, but it probably is.

Comments

greatmatter created an issue. See original summary.

greatmatter’s picture

I 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)."

ruscoe’s picture

Assigned: Unassigned » ruscoe
greatmatter’s picture

Is this an issue with field instances not synchronizing?

bdawg8569’s picture

Never 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) {

greatmatter’s picture

Thanks, bdawg8569 - ruscoe; is there anyway we can incorporate this into a test and merge it in?

ruscoe’s picture

The patch is good, thank you. I've added it to the 7.x-4.3 release.

  • ruscoe committed 99f53c6 on 7.x-4.x authored by bdawg8569
    Issue #2713235 by bdawg8569, greatmatter: Signup Forms form-select not...
ruscoe’s picture

Assigned: ruscoe » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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