Hey there,
after installing latest dev snapshot ( http://drupal.org/node/608852 ) I get this error when accessing pretty much every page:

Fatal error: Call to undefined function _views_fetch_plugin_data() in /home/www/smooth.twinlogix.com/public_html/sites/all/modules/views/views.module on line 759

I've actually checked and in views/includes/cache.inc the function is there so I don't get it.

Any hints ?
Any way I could help to debug this ?

Comments

paoloteo’s picture

Component: Miscellaneous » Code
Priority: Normal » Major
aspilicious’s picture

tried clearing yout cache?

paoloteo’s picture

yes, I did at least 100 times. Also restarted memcached in case it was that cache, but nothing.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

ON which pages is this?

paoloteo’s picture

I actually get it on all pages right after I enable the module Views and clear caches.

paoloteo’s picture

A small update. I was getting this error when sing PHP 5.3.2 (on Ubuntu 10.04).
Now I downgraded to PHP 5.2.1 and views are working again.

dawehner’s picture

I use 5.3.2 on one of my machines i had never problems with it.

aspilicious’s picture

Same for me, never saw this o_O

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
vabue’s picture

Status: Closed (cannot reproduce) » Active

Same problem. WSOD on every admin page.
Drupal 7 beta-2, Views-dev, Ubuntu 10.04. APC 3.0.19 opcode caching enabled.
If I disable APC - everything is OK.
And if I use APC 3.1.5 - everything is OK too.

bojanz’s picture

So updating APC fixes the problem? Not much we can do in that case...

dawehner’s picture

Status: Active » Fixed

So

Status: Fixed » Closed (fixed)

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

philipjohn’s picture

Version: 7.x-3.x-dev » 7.x-3.7
Issue summary: View changes
Status: Closed (fixed) » Needs work

I am experiencing this on 3.7 just after deleting a view.

Here's my steps;

  1. Export the view
  2. Add the code to a new module (not active)
  3. Delete the View
  4. Enable the new module using Drush
  5. Refresh the Views page
  6. WSOD
  7. Attempt to disable new module but get same fatal error
  8. Rename new module folder name in attempt to force it to disable
  9. Refresh Views page = WSOD

The exact error that appears in the log is

PHP Fatal error: Call to undefined function views_fetch_plugin_data() in /var/www/example.com/www/sites/all/modules/views/includes/view.inc on line 2323, referer: http://example.com/admin/structure/views/view/stats/delete

greendemiurge’s picture

#14
I was previously having very similar issues to the above, but the problem was that I was not installing the exported view properly in my module.

I found this article to be very helpful: https://drupal.org/node/1393228