Problem/Motivation
Using :
- field_group 3.x-dev
- paragraphs 1.x-dev
- field_layout
- Field group patch : "Hide group if all fields are hidden": "https://www.drupal.org/files/issues/2018-09-06/hide-show-field-group-297..."
- Paragraphs patch : "Fix support for field_group module in combination with field_layout module patch": "https://www.drupal.org/files/issues/2907094_7_field_group_support.patch"
Faced a 500 when loading a node/edit page for a CT that contains field groups inside paragraphs.
Proposed solution
Used same kind of fix as : 2955526 : Error: Call to a member function preRender() on null in field_group_field_group_pre_render() (verifying that plugin exist before calling "Process" function). (See attached patch)
| Comment | File | Size | Author |
|---|---|---|---|
| field_group-process.patch | 485 bytes | nguerrier |
Comments
Comment #2
nguerrier commentedComment #3
peter.thorndycraft commentedThis is also causing another error: Error: Call to a member function settingsForm() on null in field_group_format_settings_form()
Comment #5
nils.destoop commentedThx for the patch. I also fixed it on the other places.