eZ Community » Forums » General » WorkFlow runcronjob frequent error
expandshrink

WorkFlow runcronjob frequent error

WorkFlow runcronjob frequent error

Thursday 23 December 2010 10:49:47 pm - 2 replies

Hello, I'm in need of some help. In the site I'm maintaining, a workflow was setup for content approval. Before the "runcronjob.php frequent" was ran, someone deleted the approved resource.
When the script is ran, it returns an error.

"Fatal error: Call to a member function fetchEventIndexed() on a non-object in /var/www/..../kernel/classes/ezworkflowprocess.php on line 427"

Does anyone know if the deleted resource is the cause of this error? And what can I do to resolve it(possibly without tempering with the database to pick out the empty object reference)?

Thank you,

Modified on Thursday 30 December 2010 5:18:10 pm by Tom W

Thursday 30 December 2010 12:19:15 am

just to follow up on a few details.

Ez Publish 4.4.0 on Apache/MySQL

A similar issue can be reproduced:
1. Have an content approval workflow, allow Admins to approval.
2. An editor updates an article.
3. Admin(A) deletes the current article
4. Admin(B) approves the update
5. Run runcronjob.php frequent, error occurs

Tuesday 04 January 2011 10:55:54 pm

Resolved the issue after looking through a lot of data.

Somehow a workflow entry went missing from the DB.

Manually added it in, and the cronjob ran ok.

My issue with it is fixed for now. Still found quite a few other unpleasant things along the way.
-no way to clear inbox
-processed items still appear in collaboration item list
...

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from