Problem/Motivation
Undefined array key "children" field_group.features.inc:35 [warning]
WD php: TypeError: in_array(): Argument #2 ($haystack) must be of type array, [error]
null given in in_array() (line 35 of field_group/field_group.features.inc).
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 35 of field_group/field_group.features.inc).
Steps to reproduce
Proposed resolution
Check if the children key isset or continue.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3314247-2-field-group-children.patch | 835 bytes | joelpittet |
Comments
Comment #2
joelpittetComment #3
alexanderj commentedI will review it.
Comment #4
alexanderj commentedThe changes look good to me. The error stopped appearing after using the patch.
+1 for RTBC.
Comment #5
christyanpaim commentedComment #6
christyanpaim commentedWorks fine to me!
Comment #7
joelpittet@alexanderj and @christyanpaim could one of you change the status of the issue to "Reviewed and Tested by the Community"? That would help the maintainers know it's ready for commit. (I shouldn't because I posted the patch)
Comment #8
christyanpaim commentedComment #10
swentel commentedcommitted and pushed, will trigger a new release.