Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Field Groups not created properly in PHP7.1 #704

Open
tobybellwood opened this issue Jul 19, 2018 · 2 comments
Open

Field Groups not created properly in PHP7.1 #704

tobybellwood opened this issue Jul 19, 2018 · 2 comments
Labels

Comments

@tobybellwood
Copy link
Contributor

One issue is field groups with features where the field groups are not created properly
(from https://community.govcms.gov.au/t/php7-1-and-govcms/1304)

@markpnb
Copy link

markpnb commented Aug 5, 2018

I'll update this shortly, the issue was found 12 months ago with earlier PHP7.0 and the field groups in features had an empty array key, so instead of something like $field_groups['group_1|entityform|form_type|form'] = $field_group; it just looked like $field_groups[''] = $field_group; which would be the same for all field groups in the file

@markpnb
Copy link

markpnb commented Aug 5, 2018

*.field_group.inc is the features generated file, $field_group is the stdClass with all the data and metadata which looks fine, it was just the last line of each block where the field_group was meant to be added to the field groups. I need to fix a different issue first, and then I'll see if this is still a problem with a more modern D7 and PHP7.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants