I have recently installed the weather module. Upon configuring the module, her are the initial warnings I see at the top of the page:
Notice: Undefined variable: places in weather_get_places() (line 485 of /home/bcltech/public_html/sites/all/modules/weather/weather.module).
Notice: Undefined variable: countries in weather_get_countries() (line 612 of /home/bcltech/public_html/sites/all/modules/weather/weather.forms.inc).
When I try and use the ICAO it gives me this error:
Warning: Invalid argument supplied for foreach() in form_select_options() (line 2575 of /home/bcltech/public_html/includes/form.inc).
The ICAO code is not supported by this module.
I inspected a little further, seems that people had this same issue with version 6, not sure exactly how they fixed this. I checked out the database and seems that the weather_icao & weather_location tables are empty. Please advise.
Comments
Comment #1
lsklyut commentedI am having the same issue. Please advise.
Comment #2
lsklyut commentedI was having the same issue, and just resolved it. You need to DISABLE and then UNINSTALL the module directly from the modules page, and then reinstall the module using the Install New Module feature. I feel as though this issue may be cause by the database not fully updating, due to the module being copied to the directory and then enabled. (Not sure though)
Comment #3
toddy commentedMost probably you need to increase the memory limit of your PHP installation.