Forums / General / cronjob error ezworkflowprocess.php
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: Exponential did not finish its requestThe execution of Exponential 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:
Brandon Chambers brandon@granitehorizon.com blog: http://blog.divdesigns.com Granite Horizon / http://granitehorizon.com
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.