Fix for missing dependency in MatomoForm constructor

Created on 5 June 2025, about 1 month ago

Problem/Motivation

When enabling the eu_cookie_compliance_matomo module, the following error is thrown:
ArgumentCountError: Too few arguments to function EuCookieComplianceMatomoForm::__construct()

This is caused by a missing dependency: TypedConfigManagerInterface is required by the parent ConfigFormBase::__construct() but is not passed in.

Steps to reproduce

  1. Install and enable the eu_cookie_compliance_matomo module.
  2. Try to access the module configuration form.
  3. You’ll get a fatal error related to constructor arguments.
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇦Ukraine katlion

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024