Since updating to the 7.x-2.11, the following message debug message displays on the site (for all users):

Debug:
'Handler weather_handler_date tried to add additional_field utc_offset but weather_forecast_information could not be added!'
in views_handler_field->add_additional_fields() (line 142 of /pathtodrupal/sites/all/modules/views/handlers/views_handler_field.inc).

This only occurs on one of the views - the other weather-based views do not show this message. This is the view that is showing the debug message:

$view = new view();
$view->name = 'weather_block';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'weather_forecasts';
$view->human_name = 'Weather Block';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Normal Block */
$handler = $view->new_display('block', 'Normal Block', 'block');
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '1';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Weather: Symbol */
$handler->display->display_options['fields']['symbol']['id'] = 'symbol';
$handler->display->display_options['fields']['symbol']['table'] = 'weather_forecasts';
$handler->display->display_options['fields']['symbol']['field'] = 'symbol';
$handler->display->display_options['fields']['symbol']['label'] = '';
$handler->display->display_options['fields']['symbol']['element_label_colon'] = FALSE;
/* Field: Weather: Start time */
$handler->display->display_options['fields']['time_from']['id'] = 'time_from';
$handler->display->display_options['fields']['time_from']['table'] = 'weather_forecasts';
$handler->display->display_options['fields']['time_from']['field'] = 'time_from';
$handler->display->display_options['fields']['time_from']['label'] = '';
$handler->display->display_options['fields']['time_from']['exclude'] = TRUE;
$handler->display->display_options['fields']['time_from']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['time_from']['date_format'] = 'custom';
$handler->display->display_options['fields']['time_from']['custom_date_format'] = 'd';
$handler->display->display_options['fields']['time_from']['second_date_format'] = 'long';
/* Field: Weather: Period of day */
$handler->display->display_options['fields']['period']['id'] = 'period';
$handler->display->display_options['fields']['period']['table'] = 'weather_forecasts';
$handler->display->display_options['fields']['period']['field'] = 'period';
$handler->display->display_options['fields']['period']['label'] = '';
$handler->display->display_options['fields']['period']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['period']['alter']['text'] = '<p class="period-[period]" data-period="[period]" data-date="[time_from]"></p>';
$handler->display->display_options['fields']['period']['element_class'] = 'weatherPeriod';
$handler->display->display_options['fields']['period']['element_label_colon'] = FALSE;
/* Field: Weather: Temperature */
$handler->display->display_options['fields']['temperature']['id'] = 'temperature';
$handler->display->display_options['fields']['temperature']['table'] = 'weather_forecasts';
$handler->display->display_options['fields']['temperature']['field'] = 'temperature';
$handler->display->display_options['fields']['temperature']['label'] = '';
$handler->display->display_options['fields']['temperature']['element_label_colon'] = FALSE;
/* Field: Weather: Condition */
$handler->display->display_options['fields']['condition']['id'] = 'condition';
$handler->display->display_options['fields']['condition']['table'] = 'weather_forecasts';
$handler->display->display_options['fields']['condition']['field'] = 'condition';
$handler->display->display_options['fields']['condition']['label'] = '';
$handler->display->display_options['fields']['condition']['element_label_colon'] = FALSE;
$handler->display->display_options['block_description'] = 'Weather Block';

Any help would be appreciated.

Comments

Schnitzer’s picture

+1 same behaviour on my weather view