Closed (won't fix)
Project:
Weather
Version:
6.x-5.18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
5 May 2011 at 13:04 UTC
Updated:
20 Oct 2013 at 14:54 UTC
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
Comment #1
toddy commentedHi,
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