I assigned a workflow to one of my node types and left all others with no workflow. If I try to edit a node with a workflow assigned, all is well. If I try to edit a node that does not have workflow I get this error...

Fatal error: Unsupported operand types in /modules/workflow/workflow.module on line 443

I am using workflow_access
PHP vs 5
MySQL vs 5
Drupal vs 5.7
Linus platform

Comments

amaria’s picture

Couldn't wait so I hacked the workflow module to check whether or not the return from workflow_get_states() is an array before doing the + operation on it.

jvandyk’s picture

Status: Active » Fixed

Fixed in 5.x-2.1.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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