Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With latest dev checkout, receive this error:
ArgumentCountError: Too few arguments to function Drupal\colorbox\Plugin\Field\FieldFormatter\ColorboxFormatter::__construct(), 10 passed in ---/web/modules/contrib/colorbox/src/Plugin/Field/FieldFormatter/ColorboxFormatter.php on line 103 and exactly 11 expected in Drupal\colorbox\Plugin\Field\FieldFormatter\ColorboxFormatter->__construct() (line 81 of ---/web/modules/contrib/colorbox/src/Plugin/Field/FieldFormatter/ColorboxFormatter.php)
This prevents the site from loading (WSOD) hence critical.
Comment | File | Size | Author |
---|---|---|---|
#3 | missing_constructor_argument-2914147-3.patch | 679 bytes | Anonymous (not verified) |
Comments
Comment #2
NickDickinsonWildePatch attached, adding the missing argument
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commentedThanks for the patch. I was unable to apply it as is, so I've recreated one that applies cleanly.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commented