The weather module outputs a warning:
Invalid argument supplied for foreach() in public_html/***/sites/all/modules/weather/weather.module on line 286.
if location cck is disabled without deleting the location cck fields.

Looking in the code this seems to be about handling CCK location fields.

Yes, I was having a location field before , then I disabled Location CCK module, so that I could test location without the CCK, (after having this issue : http://drupal.org/node/363690. Or this : http://drupal.org/node/347091 )

I had to reenable the module , delete the cck field and disable the location cck back to make the warning disapear.

Comments

toddy’s picture

Assigned: Unassigned » toddy
Status: Active » Closed (won't fix)

Hi,

sorry for the late reply. This issue refers to weather for Drupal 6, and I don't have the time to develop that branch any further. Moreover, Drupal 8 will probably be released in the next months, making Drupal 6 an unsupported release. I would suggest that you upgrade to Drupal 7 soon.

Regards,
Tobias