Problem/Motivation
Steps to reproduce
Given that a content type is using the paragraph component field
When a new paragraph been added
Then an AJAX will have a fatal errorThe website encountered an unexpected error. Please try again later. Drupal\Core\Security\UntrustedCallbackException: Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was field_group_form_pre_render. See https://www.drupal.org/node/2966725 in Drupal\Core\Render\Renderer->doTrustedCallback() (line 96 of core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php). Drupal\Core\Render\Renderer->doCallback('#pre_render', 'field_group_form_pre_render', Array) (Line: 372)
Proposed resolution
Update configs to work with Drupal 9 + Field Group
Remaining tasks
- Change form display config
- Test
- Automated testing
- Release
User interface changes
None
API changes
None
Data model changes
None
Comments
Comment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshah