Forums / General / WorkFlow runcronjob frequent error

WorkFlow runcronjob frequent error

Author Message

Tom W

Thursday 23 December 2010 1:49:47 pm

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,

Tom W

Wednesday 29 December 2010 3:19:15 pm

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

Tom W

Tuesday 04 January 2011 1: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
...