cronjob error ezworkflowprocess.php

Author Message

Romain Bremaud

Monday 23 May 2011 3:28:56 am

Hello,

I have a big problem when I try to run manually the workflow cron I have the following error : 

 Running cronjob part 'workflow'Running cronjobs/workflow.php at: 23/05/2011 10:01
Checking for workflow processesPHP Fatal error:  Call to a member function fetchEventIndexed() on a non-object in /var/www/kernel/classes/ezworkflowprocess.php on line 427
Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below.

I read in other topic that it's a problem in database. http://share.ez.no/forums/general/workflow-runcronjob-frequent-error

Someone can help me please. I do not know any more what to make.

Thanks a lot.

Romain

Romain Bremaud
Les clefs du net

Brandon Chambers

Tuesday 07 June 2011 2:50:11 pm

Hi Romain,

I think we can help you better if you can provide more info.

Such as:

  • What version of eZ Publish are you running?
  • Did you upgrade ezpublish from an earlier version?
  • Did you clear caches?
  • Try regenerating autoloads?
  • What were the steps you took (if you can remember or wrote them down) to create this issue?

Brandon Chambers
[email protected]
blog: http://blog.divdesigns.com
Granite Horizon / http://granitehorizon.com

Romain Bremaud

Thursday 09 June 2011 1:05:32 am

Hi Brandon,

Thanks for your help. Finally I resolved my problem yesterday.

In a first time I check the process in ezworkflow_process table. I noted the worflow_id. After in the ezworkflow table I add manually an entry by id missed. 

After that I have a new error : 

PHP Fatal error:  Call to a member function remove() on a non-object in workflow.php on line 73.

My costumer have destroy object which are in different process. I don't know how they did that oO

Finally I deleted in ezworkflow_process the entry concerned by the deleted object. (visible in parameters).

Now the cronjob works perfectly.  

Ps: make a backup of your database before this modifications.

Romain

Romain Bremaud
Les clefs du net

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.