After enabling the Profile module the following warning is show on the MailChimp admin settings page:
warning: Invalid argument supplied for foreach() in /home/forexkil/public_html/almaproenterprises/sites/all/modules/contrib/mailchimp/mailchimp.module on line 555.
Code, starting at line 554:
if ( function_exists( '_profile_get_fields' ) ) {
foreach ( profile_categories() as $category ) {
$result = _profile_get_fields($category['name'], $register);
while ($field = db_fetch_object($result)) {
$out[$field->name] = t( 'Profile: !cat - !field', array( '!cat' => $field->category, '!field' => $field->title ) );
}
}
}
Comments
Comment #1
levelos CreditAttribution: levelos commentedfixed in 5.2.x