Notice: Undefined index: #group_name in field_group_theme_suggestions_alter() (Zeile 89 in modules/contrib/field_group/field_group.module).

Notice: Undefined index: #entity_type in field_group_theme_suggestions_alter() (Zeile 90 in modules/contrib/field_group/field_group.module)

Notice: Undefined index: #bundle in field_group_theme_suggestions_alter() (Zeile 91 in modules/contrib/field_group/field_group.module).

This is thrown when using paragraphs and field_group. Patch #2878359: Field groups are not compatible with field layout didn't change anything so I'll create a separate patch because the issue appears with and without #2878359 and it may also happen in other cases, not only in paragraphs I thing.

Comments

Anybody created an issue. See original summary.

anybody’s picture

Status: Active » Needs review
StatusFileSize
new6.58 KB

Patch attached containing !empty checks which will not break anything but fix the problem. Please review.

anybody’s picture

StatusFileSize
new2.42 KB

Sorry the patch from #2 also changed formatting. Corrected patch attached.

  • zuuperman committed 2e8c710 on 8.x-3.x authored by Anybody
    Issue #2942075 by Anybody: field_group_theme_suggestions_alter notices
    
nils.destoop’s picture

Status: Needs review » Fixed

Thx for the patch, I committed it to dev

Status: Fixed » Closed (fixed)

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