Hit a couple strict warnings in the admin screens of weather module...

On admin/config/user-interface/weather:

Strict warning: Only variables should be passed by reference in weather_admin_main_page() (line 61 of weather.forms.inc).

On admin/config/user-interface/weather/default:

Strict warning: Creating default object from empty value in weather_get_display_settings() (line 401 of weather.module).

Please develop responsibly with error_reporting = E_ALL|E_STRICT in php.ini, or with ini_set('error_reporting', E_ALL | E_STRICT); at the top of your settings.php.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jwilson3’s picture

Status: Active » Needs review
FileSize
2.35 KB
jwilson3’s picture

Found another one...

Strict warning: Creating default object from empty value in theme_weather_theming() (line 33 of weather_theme.inc).

patch updated.

toddy’s picture

Assigned: Unassigned » toddy
Status: Needs review » Fixed

This has been fixed in weather 7.x-1.1, thanks a lot for the bug report and patch.

Regards,
Tobias

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.