Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.12
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 18:48 UTC
Updated:
13 May 2011 at 19:11 UTC
After upgrading to php 5.2.17 began getting this error in the logs:
PHP Fatal error: Call to undefined function views_discover_plugins() in sites/all/modules/views/includes/cache.inc on line 72
And site no longer functions.
Comments
Comment #1
merlinofchaos commentedYou're running a very stable release. A problem like this would show up in a lot of installations if it were likely the fault of the module itself.
The function exist in plugins.inc which is included in views_include_handlers() called right before that line.
The only way this could happen is if your installation of Views somehow lost some files. I recommend removing the views directory completely and reinstalling it from tarball.
Comment #2
alasda commentedThanks for your prompt reply.
I have done as recommended, and the issue appears to have gone away.