Path

ez projects / ezapprove2 / forum / general / bug in 4.1?


Bug in 4.1?

You need to be logged in to post messages in the forums. New users may register here.

Jordan Hirsch

Member since:
09 January 2008

Posts: 10

Monday 06 July 2009 7:26:56 pm

Hello,

I'm using eZ 4.1.1 and I just installed eZ Approve 2 from http://svn.projects.ez.no/ezappro...ve2/ezp4/trunk/extension/ezapprove2/ . I followed the directions in INSTALL.txt, but when I run the cronjob script, I get an error:




$ php runcronjobs.php workflow


Running cronjob part 'workflow'


Running cronjobs/workflow.php


Checking for workflow processes


 

Fatal error: Call to a member function attribute() on a non-object in /var/www/informs/public/kernel/content/ezcontentoperationcollection.php on line 258


 

Fatal error: eZ Publish did not finish its request


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




I don't currently have any items awaiting workflow, but that shouldn't make it error out, right? I tried enabling --sql to see what queries were being run, but there was no output. Changing the siteaccess did not work either.

I would appreciate any ideas you might have! Thank you.

+=+=+=+=+=+=+=+=+=+=+=+=+=

UPDATE: Turns out I had some items in a workflow process that referred to workflows (and content) that no longer existed. Clearing out the ezworkflow_process table did the trick.
Up

Heath

Member since:
09 January 2008

Posts: 73

Thursday 09 July 2009 3:13:06 pm

Hello Jordan,

I also encountered that very same issue when
working with the software.

Thank you for sharing / confirming the solution.

Cheers,
Heath
Up

You need to be logged in to post messages in the forums. New users may register here.