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

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

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

stephthegeek’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing due to lack of follow-up

rsvelko’s picture

Status: Closed (fixed) » Fixed

Hi,

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.

Status: Fixed » Closed (fixed)

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