Incompatible with Drupal 10 PSR/log v3

Created on 20 June 2024, 10 months ago

Problem/Motivation

Upon installation of this module on Drupal 10, I get the following error:

PHP Fatal error:  Declaration of Drupal\request_logger\Logger\RequestLogger::log($level, $message, array $context = []) must be compatible with Drupal\dblog\Logger\DbLog::log($level, Stringable|string $message, array $context = []): void in /app/web/modules/contrib/request_logger/src/Logger/RequestLogger.php on line 42

Steps to reproduce

* Install module on a Drupal 10 installation.

Proposed resolution

* Implement changes as documented in [#3284415]

Remaining tasks

* Implement changes as documented in [#3284415]

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇪Belgium svendecabooter Gent

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