When trying to do a drush cache-rebuild I got the following error:

PHP Fatal error:  Cannot use Monolog\Logger as Logger because the name is already in use in /***/modules/contrib/monolog/src/Logger/MonologLogLevel.php on line 11

It seems to be complaining that use Monolog\Logger; shadows your own Drupal\monolog\Logger\Logger class.

CommentFileSizeAuthor
#2 logger_name_conflict-2629692-2.patch1.75 KBmscharley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mscharley created an issue. See original summary.

mscharley’s picture

ParisLiakos’s picture

Status: Needs review » Fixed

patch didnt apply, applied it manually and slightly changed naming, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.