Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The $error_message variable is used in google_weather_show function.
But it has no value assigned before it's used in the following fragments of code:
if (!is_array($cv)) {
watchdog('google weather', "Required cURL for download information about weather forecast from Google.", array(), WATCHDOG_ERROR);
return $error_message;
}
return theme('google_weather_block', $content);
}
else {
return $error_message;
}
This applies to both 6.1.4 and dev versions.