Just updated to 7.x-3.0-beta2, as well as ctools7.x-1.0-alpha4. When I try to export views I had made earlier (views 7x alpha1), the export code shows up fine. I created a new view after upgrading to beta 2 and when I try to export that I get a white screen and:

Fatal error: Call to a member function get_option() on a non-object in /home/feral/public_html/test/sites/all/modules/views/plugins/views_plugin_style.inc on line 35

I have cleared caches (also views cache) & run cron several times.

CommentFileSizeAuthor
#2 page_display.jpg71.12 KBvinsabus
#2 attachment.jpg69.65 KBvinsabus
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please give some more context?

For example a reusable views export would be cool.

vinsabus’s picture

FileSize
69.65 KB
71.12 KB

Thanks for your reply, problem is I am not able to export the view to paste here. I created a taxonomy term view to override taxonomy term pages which has 2 displays, a page and an attachment.

The path for the page is taxonomy/term/%.
There is a relationship to taxonomy: content.
Contextual filters - (node) Taxonomy: Term ID (with depth)
- (node) Taxonomy: Term ID depth modifier

I'm attaching some images of the display edit forms if that helps.

bojanz’s picture

Can you try disabling any Views-related modules?
I just saw an issue where the Page Title module created that same error.

vinsabus’s picture

I disabled display suite which as far as I can tell was the only module using views, but was still not able to export the view and got the same error.

I then completely uninstalled views and installed a fresh copy. Then I was not able to create the view I had made earlier ie could not get it to display the fields I was trying. This time though, I was able to export without any errors.

I have been trying to override taxonomy term pages as discussed here:
http://drupal.org/node/1079784

I have just updated to views 7.x-3.0-beta3, and perhaps this now belongs in a different issue, but i cant seem to be able to get views to display a custom field added to a taxonomy term, even without any relationship added, just using tid as argument and selecting, the field to display. Here is the views dump:
(I've tried both routes, using a taxonomy term type view as well as modifying the default view to override taxonomy term pages after adding a relationship for the field that references the taxonomy term)

$view = new view;
$view->name = 'site_sections';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'taxonomy_term_data';
$view->human_name = 'Site Sections';
$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['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '0';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = 0;
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* Field: Taxonomy term: Details */
$handler->display->display_options['fields']['field_details']['id'] = 'field_details';
$handler->display->display_options['fields']['field_details']['table'] = 'field_data_field_details';
$handler->display->display_options['fields']['field_details']['field'] = 'field_details';
$handler->display->display_options['fields']['field_details']['label'] = '';
$handler->display->display_options['fields']['field_details']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_details']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_details']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_details']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_details']['element_label_colon'] = 0;
$handler->display->display_options['fields']['field_details']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_details']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_details']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_details']['field_api_classes'] = 0;
/* Contextual filter: Taxonomy: Term ID */
$handler->display->display_options['arguments']['tid']['id'] = 'tid';
$handler->display->display_options['arguments']['tid']['table'] = 'taxonomy_index';
$handler->display->display_options['arguments']['tid']['field'] = 'tid';
$handler->display->display_options['arguments']['tid']['default_action'] = 'default';
$handler->display->display_options['arguments']['tid']['default_argument_type'] = 'taxonomy_tid';
$handler->display->display_options['arguments']['tid']['default_argument_options']['term_page'] = 1;
$handler->display->display_options['arguments']['tid']['default_argument_options']['node'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_options']['limit'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_skip_url'] = 0;
$handler->display->display_options['arguments']['tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['tid']['break_phrase'] = 0;
$handler->display->display_options['arguments']['tid']['add_table'] = 0;
$handler->display->display_options['arguments']['tid']['require_value'] = 0;
$handler->display->display_options['arguments']['tid']['reduce_duplicates'] = 0;
$handler->display->display_options['arguments']['tid']['set_breadcrumb'] = 0;

/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->display->display_options['path'] = 'taxonomy/term/%';
$translatables['site_sections'] = array(
  t('Master'),
  t('more'),
  t('Apply'),
  t('Reset'),
  t('Sort by'),
  t('Asc'),
  t('Desc'),
  t('Items per page'),
  t('- All -'),
  t('Offset'),
  t('All'),
  t('Page'),
);
esmerel’s picture

Status: Postponed (maintainer needs more info) » Active
dawehner’s picture

In general you should try out the dev version of views first. A uncountable number of stuff is fixed there.

dawehner’s picture

Status: Active » Fixed

Commited a fix to both 3.x, branches.

Status: Fixed » Closed (fixed)

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