eZ Community » Forums » General » cronjob error ezworkflowprocess.php
expandshrink

cronjob error ezworkflowprocess.php

cronjob error ezworkflowprocess.php

Monday 23 May 2011 12:28:56 pm - 2 replies

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

Tuesday 07 June 2011 11: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?

Thursday 09 June 2011 10: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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from