Closed (duplicate)
Project:
Mailchimp
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2011 at 10:34 UTC
Updated:
3 Mar 2011 at 17:16 UTC
# 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
Comment #1
achandel commentedCorrection replace with : $form['mailchimp_lists'][] = mailchimp_subscribe_auth_form(NULL, NULL, $account, FALSE);
Comment #2
h0tw1r3 commentedAlready addressed in #705876: Drupal 7 port. Please use the latest patch from that bug report.