After writing out this issue, I thought: "what is my question?" My questions are:
What do I have to do to fix it? (had to ask)

Anyone have this issue before and actually figured out the fix? (not just... well it doesnt happen anymore)

What should I look for next time it happens so I could provide more information so that someone could see what my problem is?

Here is my situation:

It seems like "all the sudden" some of my views will break. I've only noticed it happen twice, because this is a dev site I'm working on, and no users are using it yet... it does not get a lot of traffic, only when I'm working on it. Only the views with a field that is a cck field type five star from the fivestar module break... well they dont really break, but in the display when viewing the page that the view generates, the values in of the five star dont show. When looking at the views ui for the view, I can see it says, where the five star field is supposed to be: "Broken/missing handler".

I tried re-adding the field to the view, and that field is missing, not listed in the add content field. I checked the db with phpmyadmin, and the field is still in the content type table, data is still in the field, and when looking at a node itself the five star data shows ok. I also checked some other tables, content_node_field and the five star field in question is marked active ok, like the other fields in the table.

I searched and read many issues. (Some were: #624826: CCK fields disappeared - Broken/missing handler, #966856: Views - 'Broken/missing handler' when selecting certain fields, #453876: Broken/missing handler, #1043904: broken / missing handler in fields). I tried clearing the cache, clearing the views cache, setting "Disable views data caching" at admin/build/views/tools. Some issues said it was a problem only with integer fields, some said their problem was fixed when they updated the date pop up module, I got the most recent versions of date, cck, computed field (computed_field). I'd like to think I'm experienced, but not an expert... maybe there was some solution in those issues but I didn't pick up on it.

The first time I noticed it, it just started working after about 10 minutes of me poking around (not saving any views). But then about 3 hours later, it got that Broken/missing handler again, and the data stopped being in the page display. So I googled like mad, tried lots of stuff... it was still broken and then... it just started working again. I checked the logs and cron did NOT run right before it started working that second time. But it did start working about 3 hours after I noticed it broke. Cron didnt actually run until 6 more hours later (I went to sleep and it didnt run until I got up in the morning and checked the view. I'm using poormans cron.)

I attached one of the views below, but I have a couple other, that were clones of this then modified while trying to get them to look just right that also had the same kind of five star field via relationship, and when one of them goes "Broken/missing handler" they all do, even if none of the views have been saved or changed.

(Probably unrelated, but I'll mention just in case: sometimes while editing my view I get a javascript error. I just save it anyway and keep editing and it seems to be fine. Sometimes the site in general gets a big list in the messages of Duplicate Entry, but I just refresh the page and everything seems fine after that.)

Comments

yesct’s picture

$view = new view;
$view->name = 'mySessionsC';
$view->description = 'mySessionsC';
$view->tag = 'test';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => 'Title',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'field_workshop_timeslot_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_workshop_timeslot_value',
    'table' => 'node_data_field_workshop_timeslot',
    'field' => 'field_workshop_timeslot_value',
    'relationship' => 'none',
  ),
  'field_workshop_session_id_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_workshop_session_id_value',
    'table' => 'node_data_field_workshop_session_id',
    'field' => 'field_workshop_session_id_value',
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'workshop' => 'workshop',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
  'tid' => array(
    'operator' => 'or',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'tid_op',
      'identifier' => 'tid',
      'label' => 'Type',
      'optional' => 0,
      'single' => 0,
      'remember' => 0,
      'reduce' => 0,
    ),
    'type' => 'select',
    'limit' => TRUE,
    'vid' => '3',
    'id' => 'tid',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 0,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'tid_1' => array(
    'operator' => 'or',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'tid_1_op',
      'identifier' => 'tid_1',
      'label' => 'Session',
      'optional' => 0,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'type' => 'select',
    'limit' => TRUE,
    'vid' => '4',
    'id' => 'tid_1',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 0,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('items_per_page', 0);
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
  'grouping' => '',
  'override' => 1,
  'sticky' => 0,
  'order' => 'asc',
  'columns' => array(
    'title' => 'title',
    'field_attendee_nid' => 'field_attendee_nid',
  ),
  'info' => array(
    'title' => array(
      'sortable' => 0,
      'separator' => ' ',
    ),
    'field_attendee_nid' => array(
      'separator' => '',
    ),
  ),
  'default' => '-1',
));
$handler = $view->new_display('page', 'Page_mySessions', 'page_1');
$handler->override_option('fields', array(
  'title' => array(
    'label' => 'Workshop Title',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'field_workshop_timeslot_value' => array(
    'label' => 'timeslot',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 1,
    'id' => 'field_workshop_timeslot_value',
    'table' => 'node_data_field_workshop_timeslot',
    'field' => 'field_workshop_timeslot_value',
    'relationship' => 'none',
  ),
  'field_workshop_age_description_a_value' => array(
    'label' => 'Age (for Child or Teen)',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_workshop_age_description_a_value',
    'table' => 'node_data_field_workshop_age_description_a',
    'field' => 'field_workshop_age_description_a_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'phpcode' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'value' => '<?php
print \'<a href="\';
print \'makeAttendeeSessionChoice.php?workshop=\' . $data->nid;
print \'">\';
print \'1\';
print \'</a>\';
?>',
    'exclude' => 1,
    'id' => 'phpcode',
    'table' => 'customfield',
    'field' => 'phpcode',
    'relationship' => 'none',
  ),
  'phpcode_1' => array(
    'label' => 'Rank Choice (3 is hightest)',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'value' => '<?php

$filtervars = \'\';
if (isset($_GET[\'tid\'])  || isset($_GET[\'tid_1\']) ) {
  $filtervars .= \'/\';
}
if (isset($_GET[\'tid\'])) {
  $filtervars .= $_GET[\'tid\'] . \'/\';
}
if (isset($_GET[\'tid_1\'])) {
  $filtervars .= $_GET[\'tid_1\'];
}

$page_content = \'\';
$query = "SELECT  `content_type_attendee_session_choice`.`field_attendee_nid`, 
  `content_type_attendee_session_choice`.`field_workshop_nid`, 
  `content_type_attendee_session_choice`.`field_workshop_preference_rating`,
  `content_type_attendee_session_choice`.`nid` 
  FROM `content_type_attendee_session_choice`
  WHERE `content_type_attendee_session_choice`.`field_attendee_nid` = \'%s\' AND 
  `content_type_attendee_session_choice`.`field_workshop_nid` = \'%s\'";

$query_result =  db_query($query,arg(1),$data->nid);
	
$num_rows = mysql_num_rows($query_result);
If($num_rows == 0) {
  $page_content .= l(\'1\', \'reg/\' . arg(1) .\'/addsession/\' . $data->nid . \'/\' . 34 . $filtervars) . \'&nbsp; &nbsp;\';
  $page_content .= l(\'2\', \'reg/\' . arg(1) .\'/addsession/\' . $data->nid. \'/\' . 67 . $filtervars) . \'&nbsp; &nbsp;\';
  $page_content .= l(\'3\', \'reg/\' . arg(1) .\'/addsession/\' . $data->nid . \'/\' . 100 . $filtervars) . \'<br />\';
}
else {
  while ($links = db_fetch_object($query_result)) {
    if ( $links->field_workshop_preference_rating == 34 ) {
      $page_content .= \'<strong>1</strong>\' . \'&nbsp; &nbsp;\';
    }
    else {
      $page_content .= l(\'1\', \'reg/\' . arg(1) .\'/updatesession/\' . $links->nid . \'/\' . 34) . \'&nbsp; &nbsp;\';
    }

    if ( $links->field_workshop_preference_rating == 67 ) {
      $page_content .= \'<strong>2</strong>\' . \'&nbsp; &nbsp;\';
    }
    else {
      $page_content .= l(\'2\', \'reg/\' . arg(1) .\'/updatesession/\' . $links->nid . \'/\' . 67) . \'&nbsp; &nbsp;\';
    }

    if ( $links->field_workshop_preference_rating == 100 ) {
      $page_content .= \'<strong>3</strong>\';
    }
    else {
      $page_content .= l(\'3\', \'reg/\' . arg(1) .\'/updatesession/\' . $links->nid . \'/\' . 100);
    }
    $page_content .= \'&nbsp; &nbsp;\' . l(\'x\', \'reg/\' . arg(1) .\'/deletesession/\' . $links->nid )  . \'<br />\';
  }
}

return $page_content;
?>',
    'exclude' => 0,
    'id' => 'phpcode_1',
    'table' => 'customfield',
    'field' => 'phpcode',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('arguments', array(
  'null' => array(
    'default_action' => 'ignore',
    'style_plugin' => 'default_summary',
    'style_options' => array(),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => '',
    'breadcrumb' => '',
    'default_argument_type' => 'fixed',
    'default_argument' => '',
    'validate_type' => 'none',
    'validate_fail' => 'not found',
    'must_not_be' => 0,
    'id' => 'null',
    'table' => 'views',
    'field' => 'null',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '4' => 0,
      '3' => 0,
    ),
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '',
    'default_argument_user' => 0,
    'default_argument_php' => '',
    'validate_argument_node_type' => array(
      'attendee' => 0,
      'attendee_session_choice' => 0,
      'family' => 0,
      'profile' => 0,
      'bannerad' => 0,
      'page' => 0,
      'presenter' => 0,
      'story' => 0,
      'story2' => 0,
      'webform' => 0,
      'workshop' => 0,
      'workshop_type' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '2' => 0,
      '1' => 0,
      '4' => 0,
      '3' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_node_flag_name' => '*relationship*',
    'validate_argument_node_flag_test' => 'flaggable',
    'validate_argument_node_flag_id_type' => 'id',
    'validate_argument_user_flag_name' => '*relationship*',
    'validate_argument_user_flag_test' => 'flaggable',
    'validate_argument_user_flag_id_type' => 'id',
    'validate_argument_php' => '',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'workshop' => 'workshop',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
  'tid' => array(
    'operator' => 'or',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'tid_op',
      'identifier' => 'tid',
      'label' => 'Type',
      'optional' => 0,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'type' => 'select',
    'limit' => TRUE,
    'vid' => '3',
    'id' => 'tid',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 0,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'tid_1' => array(
    'operator' => 'or',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'tid_1_op',
      'identifier' => 'tid_1',
      'label' => 'Session',
      'optional' => 0,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'type' => 'select',
    'limit' => TRUE,
    'vid' => '4',
    'id' => 'tid_1',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 0,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
  ),
));
$handler->override_option('title', 'Make Workshop Choices and Ranks');
$handler->override_option('header_format', '2');
$handler->override_option('header_empty', 0);
$handler->override_option('empty', 'No workshops meet the criteria.');
$handler->override_option('empty_format', '1');
$handler->override_option('path', 'node/%/mySessions');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => 'My Sessions',
  'description' => 'My Sessions',
  'weight' => '0',
  'name' => 'primary-links',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler = $view->new_display('attachment', 'Attendee Info Attachment', 'attachment_1');
$handler->override_option('fields', array(
  'title' => array(
    'label' => 'Attendee Name',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'field_attendee_adult_child_value' => array(
    'label' => 'Adult/Child',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_attendee_adult_child_value',
    'table' => 'node_data_field_attendee_adult_child',
    'field' => 'field_attendee_adult_child_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'field_attendee_age_at_conf_value' => array(
    'label' => 'Age at Conference (99 indicates an Adult)',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_attendee_age_at_conf_value',
    'table' => 'node_data_field_attendee_age_at_conf',
    'field' => 'field_attendee_age_at_conf_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'field_attendee_attend_this_year_value' => array(
    'label' => 'Attending This Year',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_attendee_attend_this_year_value',
    'table' => 'node_data_field_attendee_attend_this_year',
    'field' => 'field_attendee_attend_this_year_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('arguments', array(
  'nid' => array(
    'default_action' => 'default',
    'style_plugin' => 'default_summary',
    'style_options' => array(),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => '',
    'breadcrumb' => '',
    'default_argument_type' => 'php',
    'default_argument' => '',
    'validate_type' => 'node',
    'validate_fail' => 'not found',
    'break_phrase' => 0,
    'not' => 0,
    'id' => 'nid',
    'table' => 'node',
    'field' => 'nid',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '4' => 0,
      '3' => 0,
    ),
    'relationship' => 'none',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '1202',
    'default_argument_user' => 0,
    'default_argument_php' => 'arg(1);',
    'validate_argument_node_type' => array(
      'attendee' => 'attendee',
      'attendee_session_choice' => 0,
      'family' => 0,
      'profile' => 0,
      'bannerad' => 0,
      'page' => 0,
      'presenter' => 0,
      'story' => 0,
      'story2' => 0,
      'webform' => 0,
      'workshop' => 0,
      'workshop_type' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '2' => 0,
      '1' => 0,
      '4' => 0,
      '3' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_node_flag_name' => '*relationship*',
    'validate_argument_node_flag_test' => 'flaggable',
    'validate_argument_node_flag_id_type' => 'id',
    'validate_argument_user_flag_name' => '*relationship*',
    'validate_argument_user_flag_test' => 'flaggable',
    'validate_argument_user_flag_id_type' => 'id',
    'validate_argument_php' => '',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
));
$handler->override_option('footer_format', '1');
$handler->override_option('footer_empty', 0);
$handler->override_option('empty', 'Attendee not found. Contact Support.');
$handler->override_option('empty_format', '1');
$handler->override_option('attachment_position', 'before');
$handler->override_option('inherit_arguments', TRUE);
$handler->override_option('inherit_exposed_filters', FALSE);
$handler->override_option('inherit_pager', FALSE);
$handler->override_option('render_pager', TRUE);
$handler->override_option('displays', array(
  'page_1' => 'page_1',
  'default' => 0,
));
$handler = $view->new_display('attachment', 'Choices already for this session Attachment', 'attachment_2');
$handler->override_option('relationships', array(
  'field_workshop_nid' => array(
    'label' => 'Workshop',
    'required' => 0,
    'delta' => -1,
    'id' => 'field_workshop_nid',
    'table' => 'node_data_field_workshop',
    'field' => 'field_workshop_nid',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('fields', array(
  'nid' => array(
    'label' => 'Nid',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 1,
    'exclude' => 1,
    'id' => 'nid',
    'table' => 'node',
    'field' => 'nid',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'field_attendee_nid' => array(
    'label' => 'Attendee',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 1,
    'id' => 'field_attendee_nid',
    'table' => 'node_data_field_attendee',
    'field' => 'field_attendee_nid',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'field_workshop_nid' => array(
    'label' => 'Workshop',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 1,
    'id' => 'field_workshop_nid',
    'table' => 'node_data_field_workshop',
    'field' => 'field_workshop_nid',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'title' => array(
    'label' => 'Workshop Title',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'field_workshop_nid',
  ),
  'field_workshop_age_description_a_value_1' => array(
    'label' => 'Age (for Child or Teen)',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_workshop_age_description_a_value_1',
    'table' => 'node_data_field_workshop_age_description_a',
    'field' => 'field_workshop_age_description_a_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'field_workshop_nid',
  ),
  'field_workshop_preference_rating' => array(
    'label' => 'Workshop preference',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_workshop_preference_rating',
    'table' => 'node_data_field_workshop_preference',
    'field' => 'field_workshop_preference_rating',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'field_attendee_nid',
  ),
));
$handler->override_option('sorts', array(
  'field_workshop_preference_rating' => array(
    'order' => 'DESC',
    'delta' => -1,
    'id' => 'field_workshop_preference_rating',
    'table' => 'node_data_field_workshop_preference',
    'field' => 'field_workshop_preference_rating',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('arguments', array(
  'field_attendee_nid' => array(
    'default_action' => 'ignore',
    'style_plugin' => 'default_summary',
    'style_options' => array(),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => '',
    'breadcrumb' => '',
    'default_argument_type' => 'fixed',
    'default_argument' => '',
    'validate_type' => 'none',
    'validate_fail' => 'not found',
    'break_phrase' => 0,
    'not' => 0,
    'id' => 'field_attendee_nid',
    'table' => 'node_data_field_attendee',
    'field' => 'field_attendee_nid',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '4' => 0,
      '3' => 0,
    ),
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'field_attendee_nid',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '',
    'default_argument_user' => 0,
    'default_argument_php' => '',
    'validate_argument_node_type' => array(
      'attendee' => 0,
      'attendee_session_choice' => 0,
      'family' => 0,
      'profile' => 0,
      'bannerad' => 0,
      'page' => 0,
      'presenter' => 0,
      'story' => 0,
      'story2' => 0,
      'webform' => 0,
      'workshop' => 0,
      'workshop_type' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '2' => 0,
      '1' => 0,
      '4' => 0,
      '3' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_node_flag_name' => '*relationship*',
    'validate_argument_node_flag_test' => 'flaggable',
    'validate_argument_node_flag_id_type' => 'id',
    'validate_argument_user_flag_name' => '*relationship*',
    'validate_argument_user_flag_test' => 'flaggable',
    'validate_argument_user_flag_id_type' => 'id',
    'validate_argument_php' => '',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'attendee_session_choice' => 'attendee_session_choice',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
  'tid_1' => array(
    'operator' => 'or',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'tid_1_op',
      'identifier' => 'tid_1',
      'label' => 'Session',
      'optional' => 0,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'type' => 'select',
    'limit' => TRUE,
    'vid' => '4',
    'id' => 'tid_1',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 0,
    'relationship' => 'field_workshop_nid',
    'reduce_duplicates' => 0,
    'override' => array(
      'button' => 'Use default',
    ),
  ),
));
$handler->override_option('title', 'Current Session Choices');
$handler->override_option('header', '<h2>Current Session Choices</h2>');
$handler->override_option('header_format', '2');
$handler->override_option('header_empty', 1);
$handler->override_option('footer', '<h2>Make Workshop Choices and Ranks</h2>');
$handler->override_option('footer_format', '2');
$handler->override_option('footer_empty', 1);
$handler->override_option('empty', 'No choices for this session yet.');
$handler->override_option('empty_format', '1');
$handler->override_option('attachment_position', 'before');
$handler->override_option('inherit_arguments', TRUE);
$handler->override_option('inherit_exposed_filters', 1);
$handler->override_option('inherit_pager', FALSE);
$handler->override_option('render_pager', TRUE);
$handler->override_option('displays', array(
  'page_1' => 'page_1',
  'default' => 0,
));
merlinofchaos’s picture

If it is always fivestar and only fivestar fields that break, it may be a problem with the fivestar module.

The most likely culprit is that fivestar, for some reason, does not have its data available when views goes to regenererate hook_views_data(), and so the field drops out of the data. It would then show up as a broken/missing handler. If a later rebuild brings it back, then the data is available at that time.

That indicates it may well be a problem in the fivestar module.

yesct’s picture

Title: Mysterious Broken/missing handler on five star field, suddenly happens and seems to later fix its self » Mysterious Views Broken/missing handler on five star field, suddenly happens and seems to later fix its self
Project: Views (for Drupal 7) » Fivestar
Version: 6.x-2.9 » 6.x-1.19

Thanks, I'll move it over to fivestar and see if those folks have any info for me.

michaelfillier’s picture

Priority: Normal » Major

I am experiencing the same issue with views and regular cck display. I was following instructions to build a multi-axis voting system, found here: http://blog.attomsoft.com/drupal/108/multiple-axis-voting-system-using-d...

I have a business node and a review node. The review node has a nodereference field (business) and four fivestar fields that target the referenced node. I created a view that shows the four rating fields and place it on the business node using nid argument from url to display reviews for the current business. Everything was working fine until I cleared the cache, now I have 4 broken/missing field handlers.

I set out to troubleshoot and disabled the computed_field, the fields returned to normal. Clear cache...missing again. Re-enable computed field, the fields return to normal. Clear cache and they disappear. So I took a look at the missing field by editing it, I notice that the "widget type" is null and when I try to "change basic information" there are no widget type options. I try to create a new fivestar field and I get "An illegal choice has been detected. Please contact the site administrator."

It should be noted that when the field handler goes missing in views, the fields also stop displaying via cck on all nodes as well. Further, fivestar theme functions continue to work properly and I can display results via votingapi on the theme level.

** I have verified that enabling a module restores the fields, clearing cache ruins them. And vice-versa, disabling a module restores the fields and clearing cache ruins them again. **

UPDATE: Just in case their are any know issues, these problems are happening on an OpenPublish profile, Linux/Debian OS, Nginx

j.helmer’s picture

+1 subscribing

I am having this issue, seemingly inconsistently, as well.

This is a huge problem for me, because I am developing a product for a client who wants to go live soon.

Do we know if something like this has been recognized in the dev branch of the module?

Thanks everyone for your time.

j.helmer’s picture

+1 subscribing

I am having this issue, seemingly inconsistently, as well.

This is a huge problem for me, because I am developing a product for a client who wants to go live soon.

Do we know if something like this has been recognized in the dev branch of the module?

Thanks everyone for your time.

j.helmer’s picture

Sorry for the double post. Wish we could delete.

brooho’s picture

I have the the same problem. Sometimes fivestar disappears from some views. But at this website fivestar never disappears from any other views. Sometimes it recovers by itself. Sometimes it helps to resave the field on the page admin/content/node-type/mynodetype/fields/field_starz1. Sometimes it helps to clear the cache. It is a production site with thousands of people and this is very serious problem for me as a developer.

jwilson3’s picture

Also having this experience, specifically related to Fivestar module and views. Here is my configuration:

Content type A: "Nominee node"
- Fivestar is enabled for this content type, but hidden in order to allow multi-axis votes from node type B.

Content type B: "Review node"
- has 5 Fivestar CCK fields, each with a differently named axis.
- a node-reference field links B to A

View: Display nodes of type B (Reviews), with a relationship that pulls in Nominee information from node type A. Shows a field for each voting axis, a link to the Review node, and a link to the Nominee node.

Errors:

1) for each of the Fivestar fields of node type B that are shown in the view, I get a broken handler error, the votes are all zero'd out, though clicking through to each review node shows the voting data still intact.

This error appeared once last week, but by the time I had a chance to start debugging (a day later) it had already gone away, so I thought nothing of it until it happened again, just now.

2) Editing the Fivestar cck field definitions, to re-save, as mentioned as part of the recovery used in comment #8, shows that a) the fields are missing their Widget type (a symptom also confirmed in comment #4) and b) the global settings for each field is missing the section where you specify the voting axis, the number of stars, and the voting target.

Solution:

From ideas provided in #8 above, I tried the following... in this order:

1) clear views cache -- no effect.
2) edit / resave view -- no effect.
3) visit / resave the fivestar cck field -- no effect.
4) drush cache-clear all -- fixed both the errors mentioned above.

very. odd.

brooho’s picture

I think for me this is cacherouter issue. When I select db or file engine for tables "cache" and "cache_content" all is ok. But when I select memcache or APC engine for that tables, fivestar widget sometimes is missing.
I think this is something like known problem of cacherouter and filefield with "cache_form" table: http://drupal.org/node/500646#comment-2486742

majdi’s picture

+1 subscribing

j.helmer’s picture

For me, I have nothing other than standard cache running, and whenever I have the issue I just clear my cache and it tends to resolve itself.

Very scary and unstable for production-level sites.

david.lopez’s picture

+1

Any progress on this?

jwilson3’s picture

@david.lopez: this issue is aging and looks like no one has done anything on it. It would be helpful if you could update us on what version you're using (eg have you tried latest 6.x-1.x-dev version of Fivestar?)

relaxy’s picture

The issue is still present. Even in the 6.x.-1.20

I'm considering to switch to http://drupal.org/project/rate

whiteph’s picture

Status: Active » Closed (won't fix)

We can no longer support the Drupal 6 version of Fivestar. It is in security maintenance mode only. When the Drupal 8 version of Fivestar is released, the Drupal 6 version will be officially deprecated.

whiteph’s picture