foreach() argument must be of type array|object

Created on 27 October 2023, about 1 year ago
Updated 27 June 2024, 6 months ago

Hi,all
Thank you for your great efforts.

I tried this module today, it worked fine.
But when saving workflow transitions,got dozens of errors:

Error message
    Warning: foreach() argument must be of type array|object, null given in workflow_notifications_entity_update() (line 16 of modules/contrib/workflow_notifications/workflow_notifications.module).
    Warning: foreach() argument must be of type array|object, null given in workflow_notifications_entity_update() (line 16 of modules/contrib/workflow_notifications/workflow_notifications.module).
    Warning: foreach() argument must be of type array|object, null given in workflow_notifications_entity_update() (line 16 of modules/contrib/workflow_notifications/workflow_notifications.module).
    Warning: foreach() argument must be of type array|object, null given in workflow_notifications_entity_update() (line 16 of modules/contrib/workflow_notifications/workflow_notifications.module).
...

Env: Drupal 10.1,PHP 8.2

๐Ÿ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ณChina marcolam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024