# Notice: Trying to get property of non-object in mailchimp_subscribe_auth_form() (line 137 of \sites\all\modules\mailchimp\mailchimp.module).

# Notice: Undefined property: stdClass::$uid in mailchimp_auth_newsletter_form() (line 174 of \sites\all\modules\mailchimp\mailchimp.module).

To remove this error in mailchimp.module:

replaced Line 30 : $form['mailchimp_lists'][] = mailchimp_subscribe_auth_form(NULL, $account, FALSE);

with : $form['mailchimp_lists'][] = mailchimp_subscribe_auth_form($form, NULL, $account, FALSE);

Comments

achandel’s picture

Correction replace with : $form['mailchimp_lists'][] = mailchimp_subscribe_auth_form(NULL, NULL, $account, FALSE);

h0tw1r3’s picture

Status: Active » Closed (duplicate)

Already addressed in #705876: Drupal 7 port. Please use the latest patch from that bug report.