TypeError: Drupal\civiccookiecontrol\Form\IAB2Settings::__construct():

Created on 14 February 2024, 9 months ago
Updated 15 March 2024, 8 months ago

Problem/Motivation

TypeError: Drupal\civiccookiecontrol\Form\IAB2Settings::__construct(): Argument #7 ($loggerFactory) must be of type Drupal\Core\Logger\LoggerChannelFactory, Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in /app/docroot/modules/contrib/civicccookiecontrol/src/Form/IAB2Settings.php on line 119 in Drupal\civiccookiecontrol\Form\IAB2Settings->__construct() (line 89 of modules/contrib/civicccookiecontrol/src/Form/IAB2Settings.php).

Steps to reproduce

1. Install the civikcookiecontrol module.
2. Go to the module configuration.
3. Access the tab "Cookie Control IAB V2.0 Settings" in the configuration then error message is appearing.

Proposed resolution

Created a patch which can resolve this issue.

🐛 Bug report
Status

Fixed

Version

4.5

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024