Closed (cannot reproduce)
Project:
Views (for Drupal 7)
Version:
6.x-2.10
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2010 at 13:54 UTC
Updated:
9 May 2011 at 07:04 UTC
I'm getting the following error when I try to access some of my views:
PHP Fatal error: Call to a member function get_handlers() on a non-object in /path_to_drupal/sites/all/modules/views/includes/view.inc on line 372
I've taken a look at the issues on this site, but haven't found one that solves my problem.
Attached is a copy of a view that produces the error (contact_libraries) as well as a similar view that doesn't display the error (contact_service).
Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| contact-service.txt | 10.18 KB | rgraves | |
| contact-libraries.txt | 7.97 KB | rgraves |
Comments
Comment #1
dawehnerWhen do you get the error? Is it based on certain actions?
Comment #2
rgraves commentedI noticed it was happening everytime I accessed the contact-libraries view, while NOT logged in. When logged in, it never happened. After I editted the view and saved it, the problem stopped, but then started up again within a few minutes. At that point, it was occurring somewhat less frequently (i.e. not every time I accessed the view).
Comment #3
rgraves commentedWeird - it was producing the errors consistently before, but now it doesn't seem to be producing them everytime I go to that 'problem' view. The errors are still popping up frequently in the logs, so maybe it's not related to that specific view.
I've read some posts about this relating to the cache. Is there any fix for it if it's a cache issue? Seems like it might be since the problem didn't occur before while I was logged into Drupal.
Comment #4
esmerel commentedComment #5
bnthms88 commentedIt definitely seems like a caching issue. I'm having the same problem, and the error only shows up when the view is displayed on a cached page. In my case, it's only happening for one particular view, so I'm trying to isolate what's different about that view from other views on the website.
@rgraves - Does this happen for all the views on your site or just one view in particular?
Comment #6
bnthms88 commented"Attached is a copy of a view that produces the error (contact_libraries) as well as a similar view that doesn't display the error (contact_service)."
@rgraves - Looks like I didn't thoroughly read the last line in your post :).
Comment #7
rgraves commentedYeah when I first tested it, it was occurring everytime I accessed the one view and not others. Now I've been able to access the 'problem' view while not logged in and the error hasn't occurred. So while I haven't seen it occurr when I accessed other views, I can't say for certain if those views are okay.
Comment #8
iamjon commentedrgraves
did you find a solution for this? please update.
Comment #9
iamjon commentedclosing from a lack of activity.