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
brandon@granitehorizon.com
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 18 2025 02:12:16
Script start
Timing: Jan 18 2025 02:12:16
Module start 'layout'
Timing: Jan 18 2025 02:12:17
Module start 'content'
Timing: Jan 18 2025 02:12:17
Module end 'content'
Timing: Jan 18 2025 02:12:17
Script end

Main resources:

Total runtime0.6990 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.0313152.6250
Module start 'layout' 0.00450.0079 741.656339.4688
Module start 'content' 0.01240.6853 781.1250538.8672
Module end 'content' 0.69760.0014 1,319.992212.1563
Script end 0.6990  1,332.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00670.9565160.0004
Check MTime0.00140.2054160.0001
Mysql Total
Database connection0.00050.065210.0005
Mysqli_queries0.640391.5987570.0112
Looping result0.00070.0948550.0000
Template Total0.665695.220.3328
Template load0.00250.360220.0013
Template processing0.663194.860520.3315
Template load and register function0.00020.022210.0002
states
state_id_array0.00210.306910.0021
state_identifier_array0.00090.129220.0005
Override
Cache load0.00200.2915330.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093020.0003
Fetch class attribute name0.00100.145040.0003
XML
Image XML parsing0.00090.129720.0005
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00100.1500160.0001
String conversion0.00000.001640.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.0001 secs