Closed (fixed)
Project:
Workflow
Version:
7.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2014 at 11:38 UTC
Updated:
23 Sep 2014 at 19:39 UTC
Jump to comment: Most recent
Hello,
I'm getting this error but only on the page to load Modules.
Fatal error: __clone method called on non-object in /workflow/workflow.features.inc on line 55
I've tried flushing cache.
thanks!
Edit -- it also affects my Features page. I just read the notes for dev and see that it might be related to a need to recreate my features.
Comments
Comment #1
tchopshop commentedComment #2
tchopshop commentedAlso getting Call to undefined method stdClass::value() on workflow_rules.rules-callback.inc:111
I've rerolled my feature but it still hasn't helped. I'm not a programmer.
Does this mean I need to switch from Workflow Node to Workflow Field? Is that easy to do?
Or should I back up to an earlier version of Workflow?
Comment #3
bnash2501 commentedCan confirm the same. We're using a Pantheon OpenAtrium build and updated workflow from version 7.x-2.3-beta3 to 7.x-2.4 and hit the same issue. Reverting back fixes the problem.
Appears that the line is trying to clone the results of entity_load_single('Workflow', 'event_state') which is null. Drush updb and cc all have been run.
Comment #4
tchopshop commentedI ended up switching from Workflow Node to Workflow Field. It was not an easy upgrade as I had to rewrite about 30 rules, but I couldn't wait. Now not getting errors.
Comment #5
johnv@tchopshop , @bnash2501, do you still have you old database at hand?
Does it still occur with todays dev version?
Comment #6
johnvThis is a regression error. It is now fixed with adjacent patch.
@tchopshop, your error from #2 is treated here: #2304365: Rules Error: Call to undefined method stdClass::value() workflow_rules.rules-callback.inc line 111
Comment #9
kenorb commentedPatch: http://cgit.drupalcode.org/workflow/patch/?id=b58e42e227bd6e5833b9cd5dad...