Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
amaria CreditAttribution: amaria commentedCouldn'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.
Comment #2
jvandyk CreditAttribution: jvandyk commentedFixed in 5.x-2.1.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.