Closed (cannot reproduce)
Project:
Views VisualSearch
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2011 at 22:02 UTC
Updated:
21 Oct 2013 at 07:55 UTC
D7.2
Added views-visual-search module
under advanced
Exposed forms selected Visual Search
following error
Fatal error: Call to a member function pre_render() on a non-object in /sites/all/modules/views/includes/view.inc on line 975
I cannot recover this page view, edit it or undo the mess.
Additional
If I go in through views to edit the page this error message comes up
Fatal error: Call to a member function pre_execute() on a non-object in /sites/all/modules/views/plugins/views_plugin_display.inc on line 2342
Comments
Comment #1
dawehnerMove to views visual search module first.
They probably have a bug in there.
Comment #2
mjpa commentedFirst thing I would do is update Drupal core if possible.
I assume you're using libraries 2.x-dev + Views 3.0-rc1?
The errors are down to Views failing to load the plugin, but from when I was starting the module, if there are errors in the module that would stop the plugin loading, Views won't let you select the plugin.
Comment #3
synistics commentedI am updating core tomorrow, the site is going live, so I held off until Sunday.
I will have another try at the module tomorrow on a throw-away page.
Yes Libraries and views are up to date.
If it crashes again, I will tie it to visual search as the issue.
Comment #4
dawehnerJust for the record: Sadly i don't see something obvious which explains the error in the module.
Comment #5
synistics commentedI have stopped trying to use this method. I will set up a test site to see what happens in the mean time this is closed, but not fixed or perhaps replicated.
Comment #6
mjpa commentedThere's nothing to review...
Comment #7
W.M. commentedare you sure the views-visual-search module is enabled ?!
Comment #8
synistics commentedyes it was, the site is now live, so will not be using it to replicate the issue. I have a new site on the board and will use it to see if the issue replicates under that environment.
Comment #9
mjpa commentedNo more information, going with cannot reproduce. Feel free to re-open if you come across it again.
Comment #10
owntheweb commentedI had this error occur when I enabled "Better Exposed Filters" (BEF), used it in a view, then deleted the BEF module from the site (a silly moment for sure). I re-added the module which resolved the error.
Comment #11
drupalerocant commentedthanks owntheweb, i had the same problem uninstalling better exposed filters module when i was mistakingly using it in a view. I reinstalled the module and everything came back to normal.
Comment #12
forestgardener commentedSo did I. Thanks for the hint. Interestingly though, I don't recall turning off better exposed filters, even though they were off.
Comment #12.0
forestgardener commentedadd additional info from edit of view