Problem/Motivation

on drupal 11 when trying to access the configuration screen : admin/config/cookiebot_gtm, hit a 500 error

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /web/modules/contrib/cookiebot_gtm/src/Form/CookiebotGtmConfigForm.php on line 27 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct()

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 cookiebot_gtm-3531097.patch1.32 KBsharonho

Comments

sharonho created an issue. See original summary.

sharonho’s picture

StatusFileSize
new1.32 KB

created a patch, pls review Thanks

sharonho’s picture

Issue summary: View changes
batigolix’s picture

Status: Active » Fixed

I tested the patch and it resolve the problem. Thank you for helping out with this one

batigolix’s picture

  • da5357f7 committed on 1.0.x
    Issue #3531097 by sharonho, batigolix: ArgumentCountError: Too few...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.