Hello, I just updated my drupal modules with drush on my notebook and my website doesn't work. The error is this:

Fatal error: Call to a member function pre_execute() on a non-object in /opt/lampp/htdocs/drupal/sites/default/modules/views/plugins/views_plugin_display.inc on line 2649

I did't find the same error for the stable (3.5) version of Views so I prefer to ask if someone can give me some tips on how can I solve this

Thanks

Comments

stilllife00’s picture

Status: Active » Closed (cannot reproduce)

It seems there was a wrong configuration on my folders. I deleted the modules from 'default' and install the updated modules only on 'mysite' and now the error message is disappeared

tim.foxell’s picture

Just an FYI incase someone else gets this message, it could be related to the "Exposed Form" settings. Possibly a result of having "Better Exposed Filters" (http://drupal.org/project/better_exposed_filters), or similar, selected for your "Exposed form style" and then removing the module without updating your view. This is what I found in my case. To resolve it went to my view and update the style for "Exposed form style" and that cleared the error.

Going by this it could possibly be re-produced for the the "Format" style as well. Say for instance you had a slideshow style module selected and then removed the module without updating the format for that view.

Hope this is helpful.

andyg5000’s picture

Thanks tim.foxell! Missing better_exposed_filters was my issue!

senortim’s picture

I'll add that I had this problem as well. In my case, BEF was part of the view, but problems with file permissions (seem to have) caused BEF to disappear, despite Admin>Modules showing it was installed and enabled. Being sure to have the read bit set for everyone and clearing the cache made the view reappear (no WSOD).

vallab444’s picture

Issue summary: View changes

Thanks, tim.foxell, for the tip

jwilde’s picture

I'm trying to get the patch to work but getting...

Fatal error: Call to a member function preExecute() on null in /var/www/html/mysite/sites/all/modules/contrib/_search/search_api/contrib/search_api_views/includes/plugin_cache.inc on line 90

Any ideas how to fix it. I'm using 7.x-1.20 search api and views content cache 7.x-3.0-alpha3. Thanks, Jim

Nathan Tsai’s picture

#2 Solved the problem for me. I went to my view and changed exposed filters to basic and that solved it. Thanks tim.foxell!

Shai’s picture

Thanks @tim.foxell. Your helpf from 2012 is still making a difference!

scoutex’s picture

Thanks for great tip @tim.foxel

leisurman’s picture

I am having this issue in Drupal 8. https://www.drupal.org/project/views_data_export/issues/2979635.
My View is using is using Better Exposed Filters, removing it did not fix the problem.