Forums / Developer / Removing Object gets a Fatal error

Removing Object gets a Fatal error

Author Message

Tony Stark

Wednesday 13 August 2008 5:23:11 am

Hi,

has anyone seen a problem like this before? When I try to remove an object (which is hidden) I get the error below. No real reason why. It has no reverse relations etc (a few under it) but for some reason I cannot delete it?!

Fatal error: Call to a member function on a non-object in /var/www/html/htdocs/kernel/classes/ezcontentobjecttreenode.php on line 3261
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

André R.

Wednesday 13 August 2008 5:43:36 am

You might want to post what version you are running.

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

Tony Stark

Wednesday 13 August 2008 8:46:21 am

apologies.....3.10

André R.

Wednesday 13 August 2008 10:21:09 am

Does it work if it is visible?

Your error seems to happen on this line in updateMainNodeID():

if ( $contentObject->attribute( 'section_id' ) != $parentContentObject->attribute( 'section_id' ) )

So it fails to fetch one of those objects.

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