New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Declaration of Monolog\Logger::emergency void must be compatible #1764
Comments
which version of psr/log are you using ? |
psr/log 2+ has the typehint in the argument: https://github.com/php-fig/log/blob/2.0.0/src/LoggerInterface.php#L30 And Monolog 3 does not support psr/log 1. So you probably did something weird to get such error, as the signature reported for |
hi Christophe,
|
please run |
... |
so I guess you are right, how can i remove the not needed part? |
@RobertEcker which "not needed part" are you talking about ? side note: you haven't pasted the output of the second command, which would be the one indicating whether my idea is indeed the cause of your problem. |
here the full list composer show aws/aws-crt-php v1.0.2 AWS Common Runtime for PHP composer show -p composer 2.3.10 Composer package |
Well, So now, you will need to debug where the |
i am using WAMP |
Monolog version 3
PHP 8.1.8
Removing some "Stringable|string" in "monolog/src/Monolog/Logger.php" fixed it (e.g., emergency, alert, critical, ...)
The text was updated successfully, but these errors were encountered: