Details
-
Bug
-
Resolution: Duplicate
-
High
-
None
-
3.10.1, 3.9.5, 4.0.1
-
None
Description
On line 306: Call to a member function on a non-object
this happens if $existingNode is not found by the fetch on line 298 (in 401 svn):
if ( !$existingNode ); { $existingNode = eZContentObjectTreeNode::findNode( $nodeID , $object->attribute( 'id' ), true ); } ... return $existingNode->attribute( 'node_id' );
Happened after running a flatten.php script that removed object versions in pending state (in workflow cronjob)