Accept other logger

Created on 25 March 2025, 26 days ago

Problem/Motivation

I have monolog module enabled and this cause this error :
Uncaught PHP Exception TypeError: "Drupal\\domain_access_webform\\DomainWebformService::__construct(): Argument #2 ($logger) must be of type Drupal\\Core\\Logger\\LoggerChannelFactoryInterface, Drupal\\monolog\\Logger\\MonologLoggerChannelFactory given

Steps to reproduce

Enable the monolog module.

Proposed resolution

Changed the service without specification of the type of logger.

🐛 Bug report
Status

Active

Version

1.0

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