Invalid argument supplied for foreach() group children

Created on 17 May 2019, almost 6 years ago
Updated 1 June 2024, 11 months ago

Getting the following error in Drupal 8 when displaying empty field groups in forms and displays:

Invalid argument supplied for foreach() in field_group_attach_groups

My field groups have been migrated from a Drupal 7 website with core migration tools, so there may be some inconsistency.
In any case, I think that a check for group children existence before looping in them could be necessary.

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇬🇷Greece mariaioann

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024