Notice: Undefined property: stdClass::$type in template_preprocess_panels_pane() (line 1198 of /home/cpelham/public_html/dev.crsny.org/public/sites/all/modules/panels/panels.module).
Notice: Undefined property: stdClass::$subtype in template_preprocess_panels_pane() (line 1199 of /home/cpelham/public_html/dev.crsny.org/public/sites/all/modules/panels/panels.module).

I saw this error message in another issue but it seemed to go off on a tangent and got closed. I get this message when viewing a panels page that has a views pane which is currently empty. It's an event listing and there are no upcoming events at the moment.

I think i am using the latest or near latest devs and 7.0.2 of drupal.

Below are the exporting page and view:

Page:

$handler = new stdClass;
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'page_film_performance_page_panel_context';
$handler->task = 'page';
$handler->subtask = 'film_performance_page';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
  'title' => 'Landing page',
  'no_blocks' => FALSE,
  'pipeline' => 'ipe',
  'css_id' => '',
  'css' => '',
  'contexts' => array(),
  'relationships' => array(),
);
$display = new panels_display;
$display->layout = 'twocol_stacked';
$display->layout_settings = array();
$display->panel_settings = array(
  'style_settings' => array(
    'default' => NULL,
    'top' => NULL,
    'left' => NULL,
    'right' => NULL,
    'bottom' => NULL,
  ),
);
$display->cache = array();
$display->title = 'Film & Performance Page';
$display->content = array();
$display->panels = array();
  $pane = new stdClass;
  $pane->pid = 'new-1';
  $pane->panel = 'left';
  $pane->type = 'views_panes';
  $pane->subtype = 'special_events-panel_pane_1';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array();
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
    'style' => 'rounded_corners',
  );
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 0;
  $display->content['new-1'] = $pane;
  $display->panels['left'][0] = 'new-1';
  $pane = new stdClass;
  $pane->pid = 'new-2';
  $pane->panel = 'right';
  $pane->type = 'node';
  $pane->subtype = 'node';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array(
    'nid' => '627',
    'links' => 1,
    'leave_node_title' => 0,
    'identifier' => '',
    'build_mode' => 'teaser',
    'link_node_title' => 1,
    'override_title' => 0,
    'override_title_text' => '',
  );
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
    'style' => 'rounded_corners',
  );
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 0;
  $display->content['new-2'] = $pane;
  $display->panels['right'][0] = 'new-2';
  $pane = new stdClass;
  $pane->pid = 'new-3';
  $pane->panel = 'left';
  $pane->type = 'views_panes';
  $pane->subtype = 'special_events-panel_pane_1';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array();
  $pane->cache = array();
  $pane->style = array();
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 0;
  $display->content['new-3'] = $pane;
  $display->panels['left'][1] = 'new-3';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;

View:

$view = new view;
$view->name = 'special_events';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Special Events';
$view->core = 7;
$view->api_version = '3.0-alpha1';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Special Events';
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['inline'] = array(
  'field_eventmedia' => 'field_eventmedia',
  'field_date' => 'field_date',
  'field_date_1' => 'field_date_1',
);
$handler->display->display_options['row_options']['hide_empty'] = 0;
$handler->display->display_options['row_options']['default_field_elements'] = 1;
/* Relationship: Content: Link to Class/Event Description to be Included (field_event_description) */
$handler->display->display_options['relationships']['field_event_description_nid']['id'] = 'field_event_description_nid';
$handler->display->display_options['relationships']['field_event_description_nid']['table'] = 'field_data_field_event_description';
$handler->display->display_options['relationships']['field_event_description_nid']['field'] = 'field_event_description_nid';
$handler->display->display_options['relationships']['field_event_description_nid']['required'] = 0;
$handler->display->display_options['relationships']['field_event_description_nid']['delta'] = '-1';
/* Relationship: Content: Link to Instructor to be included (field_instructorlink) */
$handler->display->display_options['relationships']['field_instructorlink_nid']['id'] = 'field_instructorlink_nid';
$handler->display->display_options['relationships']['field_instructorlink_nid']['table'] = 'field_data_field_instructorlink';
$handler->display->display_options['relationships']['field_instructorlink_nid']['field'] = 'field_instructorlink_nid';
$handler->display->display_options['relationships']['field_instructorlink_nid']['relationship'] = 'field_event_description_nid';
$handler->display->display_options['relationships']['field_instructorlink_nid']['required'] = 0;
$handler->display->display_options['relationships']['field_instructorlink_nid']['delta'] = '-1';
/* Field: Content: Event Media */
$handler->display->display_options['fields']['field_eventmedia']['id'] = 'field_eventmedia';
$handler->display->display_options['fields']['field_eventmedia']['table'] = 'field_data_field_eventmedia';
$handler->display->display_options['fields']['field_eventmedia']['field'] = 'field_eventmedia';
$handler->display->display_options['fields']['field_eventmedia']['relationship'] = 'field_event_description_nid';
$handler->display->display_options['fields']['field_eventmedia']['label'] = '';
$handler->display->display_options['fields']['field_eventmedia']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_eventmedia']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_eventmedia']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_eventmedia']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_eventmedia']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_eventmedia']['type'] = 'media_original';
$handler->display->display_options['fields']['field_eventmedia']['field_api_classes'] = 0;
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['title']['alter']['external'] = 0;
$handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
$handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim'] = 0;
$handler->display->display_options['fields']['title']['alter']['html'] = 0;
$handler->display->display_options['fields']['title']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = 1;
$handler->display->display_options['fields']['title']['hide_empty'] = 0;
$handler->display->display_options['fields']['title']['empty_zero'] = 0;
$handler->display->display_options['fields']['title']['link_to_node'] = 1;
/* Field: Content: Date */
$handler->display->display_options['fields']['field_date']['id'] = 'field_date';
$handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
$handler->display->display_options['fields']['field_date']['field'] = 'field_date';
$handler->display->display_options['fields']['field_date']['label'] = '';
$handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_date']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_date']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_date']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_date']['type'] = 'date_medium';
$handler->display->display_options['fields']['field_date']['settings'] = array(
  'format_type' => 'medium',
  'fromto' => 'both',
  'multiple_number' => '1',
  'multiple_from' => '',
  'multiple_to' => '',
  'show_repeat_rule' => 'show',
);
$handler->display->display_options['fields']['field_date']['group_rows'] = 1;
$handler->display->display_options['fields']['field_date']['delta_limit'] = '1';
$handler->display->display_options['fields']['field_date']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_date']['delta_reversed'] = 0;
$handler->display->display_options['fields']['field_date']['separator'] = ' ';
$handler->display->display_options['fields']['field_date']['field_api_classes'] = 0;
/* Field: Content: Date */
$handler->display->display_options['fields']['field_date_1']['id'] = 'field_date_1';
$handler->display->display_options['fields']['field_date_1']['table'] = 'field_data_field_date';
$handler->display->display_options['fields']['field_date_1']['field'] = 'field_date';
$handler->display->display_options['fields']['field_date_1']['label'] = 'from ';
$handler->display->display_options['fields']['field_date_1']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['text'] = 'from [field_date]';
$handler->display->display_options['fields']['field_date_1']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_date_1']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_date_1']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_date_1']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_date_1']['element_label_colon'] = 0;
$handler->display->display_options['fields']['field_date_1']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_date_1']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_date_1']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_date_1']['type'] = 'date_time';
$handler->display->display_options['fields']['field_date_1']['settings'] = array(
  'format_type' => 'time',
  'fromto' => 'both',
  'multiple_number' => '1',
  'multiple_from' => '',
  'multiple_to' => '',
  'show_repeat_rule' => 'hide',
);
$handler->display->display_options['fields']['field_date_1']['group_rows'] = 1;
$handler->display->display_options['fields']['field_date_1']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_date_1']['delta_reversed'] = 0;
$handler->display->display_options['fields']['field_date_1']['separator'] = ' ';
$handler->display->display_options['fields']['field_date_1']['field_api_classes'] = 0;
/* Field: Content: Body */
$handler->display->display_options['fields']['body']['id'] = 'body';
$handler->display->display_options['fields']['body']['table'] = 'field_data_body';
$handler->display->display_options['fields']['body']['field'] = 'body';
$handler->display->display_options['fields']['body']['relationship'] = 'field_event_description_nid';
$handler->display->display_options['fields']['body']['label'] = '';
$handler->display->display_options['fields']['body']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['body']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['body']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['body']['alter']['external'] = 0;
$handler->display->display_options['fields']['body']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['body']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['body']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['body']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['body']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['body']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['body']['alter']['trim'] = 0;
$handler->display->display_options['fields']['body']['alter']['html'] = 0;
$handler->display->display_options['fields']['body']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['body']['element_default_classes'] = 1;
$handler->display->display_options['fields']['body']['hide_empty'] = 0;
$handler->display->display_options['fields']['body']['empty_zero'] = 0;
$handler->display->display_options['fields']['body']['type'] = 'text_summary_or_trimmed';
$handler->display->display_options['fields']['body']['settings'] = array(
  'trim_length' => '600',
);
$handler->display->display_options['fields']['body']['field_api_classes'] = 0;
/* Field: Content: Title */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 1;
$handler->display->display_options['fields']['title_1']['alter']['text'] = 'Read more...';
$handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['external'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['trim'] = 0;
$handler->display->display_options['fields']['title_1']['alter']['html'] = 0;
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['element_default_classes'] = 1;
$handler->display->display_options['fields']['title_1']['hide_empty'] = 0;
$handler->display->display_options['fields']['title_1']['empty_zero'] = 0;
$handler->display->display_options['fields']['title_1']['link_to_node'] = 1;
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 0;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
  'events' => 'events',
);
/* Filter criterion: Content: Event Type (field_event_type) */
$handler->display->display_options['filters']['field_event_type_tid']['id'] = 'field_event_type_tid';
$handler->display->display_options['filters']['field_event_type_tid']['table'] = 'field_data_field_event_type';
$handler->display->display_options['filters']['field_event_type_tid']['field'] = 'field_event_type_tid';
$handler->display->display_options['filters']['field_event_type_tid']['value'] = array(
  21 => '21',
  23 => '23',
  155 => '155',
  24 => '24',
  22 => '22',
);
$handler->display->display_options['filters']['field_event_type_tid']['reduce_duplicates'] = 0;
$handler->display->display_options['filters']['field_event_type_tid']['type'] = 'select';
$handler->display->display_options['filters']['field_event_type_tid']['vocabulary'] = 'event_type';
/* Filter criterion: Content: Date (field_date) */
$handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
$handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
$handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
$handler->display->display_options['filters']['field_date_value']['operator'] = '>=';
$handler->display->display_options['filters']['field_date_value']['granularity'] = 'day';
$handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
$handler->display->display_options['filters']['field_date_value']['default_date'] = 'now';
$handler->display->display_options['filters']['field_date_value']['default_to_date'] = '';
$handler->display->display_options['filters']['field_date_value']['year_range'] = '-1:+1';
/* Filter criterion: Content translation: Language */
$handler->display->display_options['filters']['language']['id'] = 'language';
$handler->display->display_options['filters']['language']['table'] = 'node';
$handler->display->display_options['filters']['language']['field'] = 'language';
$handler->display->display_options['filters']['language']['value'] = array(
  '***CURRENT_LANGUAGE***' => '***CURRENT_LANGUAGE***',
  'und' => 'und',
);
/* Display: Special Events Page */
$handler = $view->new_display('page', 'Special Events Page', 'page');
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Event Media */
$handler->display->display_options['fields']['field_eventmedia']['id'] = 'field_eventmedia';
$handler->display->display_options['fields']['field_eventmedia']['table'] = 'field_data_field_eventmedia';
$handler->display->display_options['fields']['field_eventmedia']['field'] = 'field_eventmedia';
$handler->display->display_options['fields']['field_eventmedia']['label'] = '';
$handler->display->display_options['fields']['field_eventmedia']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_eventmedia']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_eventmedia']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_eventmedia']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_eventmedia']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_eventmedia']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_eventmedia']['type'] = 'media_preview';
$handler->display->display_options['fields']['field_eventmedia']['field_api_classes'] = 0;
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
$handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim'] = 0;
$handler->display->display_options['fields']['title']['alter']['html'] = 0;
$handler->display->display_options['fields']['title']['hide_empty'] = 0;
$handler->display->display_options['fields']['title']['empty_zero'] = 0;
$handler->display->display_options['fields']['title']['link_to_node'] = 1;
/* Field: Content: Date */
$handler->display->display_options['fields']['field_date']['id'] = 'field_date';
$handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
$handler->display->display_options['fields']['field_date']['field'] = 'field_date';
$handler->display->display_options['fields']['field_date']['label'] = '';
$handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_date']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_date']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_date']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_date']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_date']['settings'] = array(
  'format_type' => 'long',
  'fromto' => 'both',
  'multiple_number' => '1',
  'multiple_from' => '',
  'multiple_to' => '',
  'show_repeat_rule' => 'show',
);
$handler->display->display_options['fields']['field_date']['group_rows'] = 1;
$handler->display->display_options['fields']['field_date']['delta_limit'] = '1';
$handler->display->display_options['fields']['field_date']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_date']['delta_reversed'] = 0;
$handler->display->display_options['fields']['field_date']['field_api_classes'] = 0;
/* Field: Content: Link to Class/Event Description to be Included */
$handler->display->display_options['fields']['field_event_description']['id'] = 'field_event_description';
$handler->display->display_options['fields']['field_event_description']['table'] = 'field_data_field_event_description';
$handler->display->display_options['fields']['field_event_description']['field'] = 'field_event_description';
$handler->display->display_options['fields']['field_event_description']['label'] = '';
$handler->display->display_options['fields']['field_event_description']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_event_description']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_event_description']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_event_description']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_event_description']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_event_description']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_event_description']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_event_description']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_event_description']['type'] = 'node_reference_node';
$handler->display->display_options['fields']['field_event_description']['settings'] = array(
  'node_reference_view_mode' => 'teaser',
);
$handler->display->display_options['fields']['field_event_description']['field_api_classes'] = 0;
$handler->display->display_options['path'] = 'special-events';
/* Display: Workshops Page */
$handler = $view->new_display('page', 'Workshops Page', 'page_1');
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 0;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
  'events' => 'events',
);
/* Filter criterion: Content: Event Type (field_event_type) */
$handler->display->display_options['filters']['field_event_type_tid']['id'] = 'field_event_type_tid';
$handler->display->display_options['filters']['field_event_type_tid']['table'] = 'field_data_field_event_type';
$handler->display->display_options['filters']['field_event_type_tid']['field'] = 'field_event_type_tid';
$handler->display->display_options['filters']['field_event_type_tid']['value'] = array(
  21 => '21',
);
$handler->display->display_options['filters']['field_event_type_tid']['reduce_duplicates'] = 0;
$handler->display->display_options['filters']['field_event_type_tid']['type'] = 'select';
$handler->display->display_options['filters']['field_event_type_tid']['vocabulary'] = 'event_type';
$handler->display->display_options['path'] = 'workshops';
/* Display: Film & Performance pane */
$handler = $view->new_display('panel_pane', 'Film & Performance pane', 'panel_pane_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Upcoming Film Screenings & Performances';
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 0;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
  'events' => 'events',
);
/* Filter criterion: Content: Event Type (field_event_type) */
$handler->display->display_options['filters']['field_event_type_tid']['id'] = 'field_event_type_tid';
$handler->display->display_options['filters']['field_event_type_tid']['table'] = 'field_data_field_event_type';
$handler->display->display_options['filters']['field_event_type_tid']['field'] = 'field_event_type_tid';
$handler->display->display_options['filters']['field_event_type_tid']['value'] = array(
  23 => '23',
  22 => '22',
);
$handler->display->display_options['filters']['field_event_type_tid']['reduce_duplicates'] = 0;
$handler->display->display_options['filters']['field_event_type_tid']['type'] = 'select';
$handler->display->display_options['filters']['field_event_type_tid']['vocabulary'] = 'event_type';
/* Filter criterion: Content: Date (field_date) */
$handler->display->display_options['filters']['field_date_value']['id'] = 'field_date_value';
$handler->display->display_options['filters']['field_date_value']['table'] = 'field_data_field_date';
$handler->display->display_options['filters']['field_date_value']['field'] = 'field_date_value';
$handler->display->display_options['filters']['field_date_value']['operator'] = '>=';
$handler->display->display_options['filters']['field_date_value']['granularity'] = 'day';
$handler->display->display_options['filters']['field_date_value']['form_type'] = 'date_popup';
$handler->display->display_options['filters']['field_date_value']['default_date'] = 'now';
$handler->display->display_options['filters']['field_date_value']['default_to_date'] = '';
$handler->display->display_options['filters']['field_date_value']['year_range'] = '-1:+1';
/* Filter criterion: Content translation: Language */
$handler->display->display_options['filters']['language']['id'] = 'language';
$handler->display->display_options['filters']['language']['table'] = 'node';
$handler->display->display_options['filters']['language']['field'] = 'language';
$handler->display->display_options['filters']['language']['value'] = array(
  '***CURRENT_LANGUAGE***' => '***CURRENT_LANGUAGE***',
  'und' => 'und',
);
$translatables['special_events'] = array(
  t('Master'),
  t('Special Events'),
  t('more'),
  t('Apply'),
  t('Reset'),
  t('Sort by'),
  t('Asc'),
  t('Desc'),
  t('Items per page'),
  t('- All -'),
  t('Offset'),
  t('field_event_description'),
  t('field_instructorlink'),
  t('from '),
  t('from [field_date]'),
  t('Read more...'),
  t('Special Events Page'),
  t('Workshops Page'),
  t('Film & Performance pane'),
  t('Upcoming Film Screenings & Performances'),
  t('View panes'),
);

Comments

I second this issue. It'd be nice to put views into panels without having a "no results behaviour" just to mitigate this error.

Ah, adding a "no results behaviour" in the advanced settings for the view does, indeed, eliminate the error. Still, it seems it would be better to suppress this error message or have the message instruct people to add a "no results behaviour." If the issue is marked, "works as designed," I'll understand, but I am leaving it open for the maintainers to decide.

Category:support» bug

No, that message would definitely be a bug. It's not clear if the bug is in CTools or Views or in Panels without investigating further.

I'm experiencing the same issue when deleting a node that is being displayed in a pane with 'existing node' content. I'm on Drupal 7.2 with the following modules:

Panels 7.x-3.x-dev 2011-Jun-01
CTools 7.x-1.x-dev 2011-Jun-09

subscribe

Just sharing that I'm no longer having this issue after updating modules a while back. Unfortunately, I did a bit of a mass update so I can't pinpoint exactly what fixed it.

I'm running currently (so it could be worthwhile to try):

Panels 7.x-3.0-alpha3
Chaos tool suite 7.x-1.0-beta1
Views 7.x-3.x-dev (2011-Jul-05)

I am also getting this error for a custom content pane I created. The error seems to creep up when there is nothing to render for the pane.

Status:Active» Needs review
StatusFileSize
new806 bytes

the attached patch suppresses the error, however the patch does so in ctools and not panels.

StatusFileSize
new697 bytes

the response to
git apply -v 1186702-8.patch
was:
fatal: corrupt patch at line 24

So I rerun the patch against ctools's git, doing the same as you did cangeceiro. And I can confirm it removes the error message. +1 for RTBC

Status:Needs review» Needs work

I spoke too soon, in spite of the modification, the error is still there.

On the panel page where I get this error:

Notice: Undefined property: stdClass::$type in template_preprocess_panels_pane() (line 1197 of /Users/jerome/Sites/acquia-drupal/sites/all/modules/panels/panels.module).
Notice: Undefined property: stdClass::$subtype in template_preprocess_panels_pane() (line 1198 of /Users/jerome/Sites/acquia-drupal/sites/all/modules/panels/panels.module).

When I use the customize this page button, I have many panes with that type of error :
Placeholder for empty "entity_field:profile2:field_subscriber_about_text will not display due to missing context"

I use a Profil from User (on profile.uid) * relationship for this context.

I also use a view content pane which results in :
Placeholder for empty "View: subscriber film player"

So first I checked my view and saw that I forgot to pass the argument from panel's first argument. And that of course solved the view issue.

In conclusion, it appears this error pops up when either a view or a pane has no results due to a missing context or argument.

I implemented a panel to modify layout of a custom content type called 'course'. The Undefined property: stdClass::$type in template_preprocess_panels_pane() error was displayed on all static pages. I fixed the error by adding a node type = course selection rule to the 'Course' variant.

I just want to add a quick note, when I add the Relationship Profile from User (on profile.uid) to the panel context, the following error message is appearing:
An illegal choice has been detected. Please contact the site administrator.

This is an unrelated issue (reported there: http://drupal.org/node/1011370#comment-4767446) but that confirms that this issue's error shows up whenever there's a missing or broken relationship or argument in panels or views.

So I noticed that an easy way to reproduce it seems to add a context, add content from this context and remove the context. Then the pane is displaying "your_field will not display due to missing context". Then you should see this error on a page with this panel.

sub

subscribing

subscribe.

This sounds more like an error on the users part. In my case this error appeared when I used the pages wizard to create a node template. At the end of the wizard, the resulting page showed this errors, and I could see that the content section of my panel had some errors on the comments form and comments content panes. The reason is that I didn't had the comments module enabled (I'm using the minimal install profile). So I removed the comment panes and the problem went away.

Subscribe

Status:Needs work» Active

I'm moving this to 'active' because 'needs work' is a graveyard if the original patch author isn't coming back to fix it. At least at 'active' it's more likely to be seen.

I am getting the #10 errors for Line 1197 and 1198,

For me, this error occurs when I am logged in as Admin. Is not present as an anonymous user, have not tried as authenticated.

I tried reverting from Chaos Tools RC1 to Beta1 per #6 but that did not fix it for me.

Confirming that errors show up as admin, but not as authenticated.

The error only occurs when the "In-Place Editor" is selected as the panel renderer and the pane content is empty (you can reproduce this with an empty view, with the login block,...).

Obviously if a user has "Use the Panels In-Place Editor" permission, he will see this error.

The patch form #9 fixes the php notice. Another way to approach this would be to fix panels_renderer_ipe::render_pane_content().

subscribing

Confirmed seeing this error when using In-Place editor. I get four repeating notices. line 1198 and 1199 in panels.module

subscribe

same issue.. screenshot: http://prntscr.com/3o86g

Notice: Undefined property: stdClass::$type in template_preprocess_panels_pane() (line 1197 of /var/www/xx.com/public_html/sites/all/modules/panels/panels.module).

problem solved. just add an isset( ) function surrounding the type and subtype conditional... on line 1197 and 1198

Status:Active» Needs review
StatusFileSize
new529 bytes

This is a patch against current 7.x branch that is working for me.

StatusFileSize
new875 bytes
new1.96 KB
new3.29 KB

The approach with patching Ctools does not make sense to me. I'm uploading a patch based on the suggestion from #26.

View and Page to reproduce the problem. Just view the page with the IPE turned on.

Assigned:Unassigned» merlinofchaos

I have this problem after updating the core to 7.9. But the error messages are only shown on frontpage. On all other pages, the content area is completely clear!

For my content-layout I'm using the Page Manager. I'm using Panels 7.x-3.0-alpha3.

edit: The content-area is only clear, when I'm logged in as user-1. But visitors only can see the nodes body-text, all further pane-contents are not visible.

Solved the problem with "Clear all Caches"... *facepalm*

#28 solved this problem for me on latest dev, thanks!. Would love to have it committed.
Greetings, Martijn

Status:Needs review» Fixed

The IPE placeholder pane was updated to have type and subtypes -- that should eliminate this.

I'd rather leave the notice in -- any pane which has content but no type and subtype is somehow wrong and it's worth finding.

Status:Fixed» Closed (fixed)

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

So which patches are we supposed to actually apply? because it's 2013, am ctools 7.x-1.3+4-dev and Panels 7.x-3.3+41-dev and am having these same error message but different problem -- I cannot add blocks to a pane nor are Fieldable Panel Panes with forms on them working. FWIW, am also on the 7.x-1.0-rc5 of Panopoly.