Incompatible with Field group 3.5+

Created on 6 August 2024, 6 months ago

Problem/Motivation

Upgrading the Field Group module to 3.5+ causes a fatal error on sites using this popup module.

The prolem appears to be connected with the fact the constructor in FieldGroupFormatterPluginManager.php now expects 4 arguments but is only currently being sent 3 at that raises…

[03-Aug-2024 13:44:42 UTC] Uncaught PHP Exception ArgumentCountError: "Too few arguments to function Drupal\field_group\FieldGroupFormatterPluginManager::__construct(), 3 passed in <Site>\core\lib\Drupal\Component\DependencyInjection\Container.php on line 261 and exactly 4 expected" at C:\Users\nick\Sites\bit-by-bit.org\public_html\modules\contrib\field_group\src\FieldGroupFormatterPluginManager.php line 37

πŸ› Bug report
Status

Active

Version

1.8

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

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

Comments & Activities

  • Issue created by @SirClickALot
  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset
  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    Any chance we can get this addressed?

    Right now, we are blocked by the issue and have had to remove all uses of the module which is a great shame.

    This might also be the right time to release a D11-compliant version too since the time has come to move to D11 ;-)

  • Status changed to Fixed 5 months ago
  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    UPDATE
    This turned out to be a error with Field Group which this patch fixes for now so I'm going to close tis issue.

  • Status changed to Active 5 months ago
  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    Re-opened after this conversation comment: https://www.drupal.org/project/field_group/issues/3465611#comment-15746950 πŸ› Field Group 3.5 WSODs on Drupal 10.3 Needs work

  • Status changed to Postponed: needs info about 2 months ago
  • πŸ‡©πŸ‡ͺGermany Antonnavi Berlin

    Hello Nick Abbott (sirclickalot),

    I just tested latest DEV module version with latest stable Field Group 8.x-3.6 module version. I can not reproduce this issue.
    Test again and if this issue still presented - please provide an instruction how to reproduce (including core/modules versions).

  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    Hi @antonnavi,

    You're right, I can confirm that whatever was causing this in the past, the combination of Field Group 8.x-3.6 and Field Group Popup 8.x-1.9 all works perfectly well now for me.

    Thank you

Production build 0.71.5 2024