Fatal error: Declaration of LinkCheckerLogger::log must be compatible

Created on 17 August 2023, over 1 year ago

Problem/Motivation

I am using the 2.0.0-alpha1 release in D10, and I get the following error when I clear cache with drush:

Fatal error: Declaration of Drupal\linkchecker\Logger\LinkCheckerLogger::log($level, $message, array $context = []) must be compatible with Drupal\Core\Logger\LoggerChannel::log($level, Stringable|string $message, array $context = []): void in /var/www/html/dv13.openplus.ca/html/modules/contrib/linkchecker/src/Logger/LinkCheckerLogger.php on line 37

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Miscellaneous

Created by

🇨🇦Canada smulvih2 Canada 🍁

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

Comments & Activities

  • Issue created by @smulvih2
  • Status changed to Needs review over 1 year ago
  • 🇨🇦Canada smulvih2 Canada 🍁

    Patch to fix error.

  • Status changed to Closed: works as designed over 1 year ago
  • 🇨🇦Canada smulvih2 Canada 🍁

    My project is using path #14 from 3109178, which introduces this error. Closing this ticket, will update patch in related issue.

Production build 0.71.5 2024