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

merlinofchaos’s picture

Status: Active » Fixed

You'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.

alasda’s picture

Thanks for your prompt reply.

I have done as recommended, and the issue appears to have gone away.

Status: Fixed » Closed (fixed)

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