Share » Forums » General » Call to a member function attribute()...

Call to a member function attribute() on a non-object

Call to a member function attribute() on a non-object

Sunday 01 August 2010 10:05:47 pm - 2 replies

Author Message

André R.

Monday 02 August 2010 12:22:30 am

Is this the line?

$object = $this->object();
$class = $object->contentClass();
$this->ClassName = $class->attribute( 'name' );

Then it means you have some kind of db inconsistency / corruption(the class the node belongs to does not exist..).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jacobi Jacobi

Monday 02 August 2010 7:38:56 pm

Is there any tools available to find out where data is inconsistent? and any way to fix this kind of errors?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu