Incorrect declarations in process and preRender

Created on 14 October 2022, over 2 years ago
Updated 1 June 2024, 9 months ago

Problem/Motivation

Fatal error: Declaration of Drupal\field_group\FieldGroupFormatterBase::process(&$element, $processed_object) must be compatible with Drupal\field_group\FieldGroupFormatterInterface::process(array &$element, $processed_object) in /var/www/html/web/modules/contrib/field_group/src/FieldGroupFormatterBase.php on line 13

Fatal error: Declaration of Drupal\field_group\FieldGroupFormatterBase::preRender(&$element, $rendering_object) must be compatible with Drupal\field_group\FieldGroupFormatterInterface::preRender(array &$element, $rendering_object) in /var/www/html/web/modules/contrib/field_group/src/FieldGroupFormatterBase.php on line 13

Fatal error: Declaration of Drupal\field_group\Plugin\field_group\FieldGroupFormatter\Details::preRender(&$element, $rendering_object) must be compatible with Drupal\field_group\FieldGroupFormatterInterface::preRender(array &$element, $rendering_object) in /var/www/html/web/modules/contrib/field_group/src/Plugin/field_group/FieldGroupFormatter/Details.php on line 21

Fatal error: Declaration of Drupal\field_group\Plugin\field_group\FieldGroupFormatter\Details::process(&$element, $processed_object) must be compatible with Drupal\field_group\FieldGroupFormatterInterface::process(array &$element, $processed_object) in /var/www/html/web/modules/contrib/field_group/src/Plugin/field_group/FieldGroupFormatter/Details.php on line 21

🐛 Bug report
Status

Closed: cannot reproduce

Version

3.3

Component

Code

Created by

🇪🇸Spain fverdejo Sevilla

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024