Backend fatal error: PHP Fatal error: Declaration of Drupal\\dblog\\Logger\\DbLog::emergency(Stringable|string $message, array $context = [])

Created on 28 August 2023, about 1 year ago
Updated 20 November 2023, about 1 year ago

After installed the module and uploaded the latest google-api-php-client i get this error on Drupal 10.1.2:

Backend fatal error: PHP Fatal error: Declaration of Drupal\\dblog\\Logger\\DbLog::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\\Log\\LoggerInterface::emergency($message, array $context = []) in /home/zbqcyuua/domains/mydomain.com/public_html/core/lib/Drupal/Core/Logger/RfcLoggerTrait.php on line 20\n, referer: http://mydomain.com/admin/people/permissions/module/google_api_client

I forgot to write that the status page of Drupal (admin/reports/status) is broken and it returns a white page, if I rename the folder everything goes well.

🐛 Bug report
Status

Active

Version

4.3

Component

Code

Created by

🇮🇹Italy smurfxx

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

Comments & Activities

Production build 0.71.5 2024