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

tchopshop’s picture

Issue summary: View changes
tchopshop’s picture

Also 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?

bnash2501’s picture

Can 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.

tchopshop’s picture

I 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.

johnv’s picture

@tchopshop , @bnash2501, do you still have you old database at hand?
Does it still occur with todays dev version?

johnv’s picture

Title: Fatal error: __clone method ? » Fatal error: __clone method called on non-object in workflow.features.inc
Version: 7.x-2.x-dev » 7.x-2.4
Issue summary: View changes
Status: Active » Fixed

This 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

  • johnv committed b58e42e on 7.x-2.x
    Issue #2317877: Fixed regression Fatal error: __clone method called on...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kenorb’s picture