Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | page_display.jpg | 71.12 KB | vinsabus |
#2 | attachment.jpg | 69.65 KB | vinsabus |
Comments
Comment #1
dawehnerCan you please give some more context?
For example a reusable views export would be cool.
Comment #2
vinsabus CreditAttribution: vinsabus commentedThanks 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.
Comment #3
bojanz CreditAttribution: bojanz commentedCan you try disabling any Views-related modules?
I just saw an issue where the Page Title module created that same error.
Comment #4
vinsabus CreditAttribution: vinsabus commentedI 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)
Comment #5
esmerel CreditAttribution: esmerel commentedComment #6
dawehnerIn general you should try out the dev version of views first. A uncountable number of stuff is fixed there.
Comment #7
dawehnerCommited a fix to both 3.x, branches.