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.

eZ debug

Timing: Jan 15 2025 09:39:17
Script start
Timing: Jan 15 2025 09:39:17
Module start 'layout'
Timing: Jan 15 2025 09:39:17
Module start 'content'
Timing: Jan 15 2025 09:39:18
Module end 'content'
Timing: Jan 15 2025 09:39:18
Script end

Main resources:

Total runtime1.2664 sec
Peak memory usage6,144.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 684.5391183.6875
Module start 'layout' 0.00490.0027 868.226652.5859
Module start 'content' 0.00761.2563 920.81251,797.2422
Module end 'content' 1.26390.0024 2,718.054768.5391
Script end 1.2663  2,786.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00540.4273160.0003
Check MTime0.00130.1047160.0001
Mysql Total
Database connection0.00080.064610.0008
Mysqli_queries1.199694.7278570.0210
Looping result0.00070.0549550.0000
Template Total1.236797.720.6184
Template load0.00350.274220.0017
Template processing1.233297.383220.6166
Template load and register function0.00150.121510.0015
states
state_id_array0.00070.052510.0007
state_identifier_array0.00180.139620.0009
Override
Cache load0.00320.2521330.0001
Sytem overhead
Fetch class attribute can translate value0.00050.040820.0003
Fetch class attribute name0.00290.225640.0007
XML
Image XML parsing0.00410.322720.0020
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00470.3741160.0003
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs