Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2009 at 14:06 UTC
Updated:
31 Dec 2009 at 21:40 UTC
What do these errors mean:
[30-Jan-2009 01:54:43] PHP Fatal error: Call to undefined method stdClass::init_display() in /public_html/modules/views/includes/admin.inc on line 771
[30-Jan-2009 03:54:53] PHP Fatal error: Call to undefined method stdClass::init_display() in /public_html/modules/views/includes/admin.inc on line 771
[30-Jan-2009 14:44:42] PHP Fatal error: Call to a member function init_display() on a non-object in /public_html/modules/views/includes/admin.inc on line 771
[30-Jan-2009 15:29:54] PHP Fatal error: Call to a member function init_display() on a non-object in /public_html/modules/views/includes/admin.inc on line 771
Comments
Comment #1
merlinofchaos commentedIt's hard to say. The version of Views you specify doesn't have a call to init_display() on the line of code that specifies, so I can't tell at all what's going on. Maybe you have some kind of version mismatch, maybe you made an error in what version of Views you are running.
Comment #2
stephthegeek commentedClosing due to lack of follow-up
Comment #3
rsvelko commentedHi,
I've just resolved a similar (I hope) issue in my drupal.
I was seeing the same :
----
Fatal error: Call to undefined method stdClass::init_display()
----
but around the lines 109/110 and 131 ...
It was happening because views was trying to access a particular view that was missing for some reason.
In my case I am using the Table Wizard and Migrate modules that create views dynamically. And when you add/remove these dynamic views you can sometimes mess things up. I just had to delete all "tw" tables and all migrate content sets and it worked fine.
Bumping this issue to fixed - so it auto closes itself.