Declaration of Psr\Log\NullLogger must be compatible with Psr\Log\AbstractLogger #1956
torbentschechne
started this conversation in
General
Replies: 2 comments 7 replies
-
Post your |
Beta Was this translation helpful? Give feedback.
7 replies
-
Hi there, I am facing this issue on both PHP 8.0 and PHP 8.2. Any advice, please? My packages:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I use mPDF in my code to generate PDFs. The server runs PHP 8.0 and suddenly I get this error:
The weird thing is, the files look okay. The
NullLogger
and theLoggerTrait
have the same signature.LoggerTrait (which feeds the AbstractLogger):
NullLogger:
I updated from mPDF 8.1.* to mPDF 8.2.2. I switched from
psr/log
2 topsr/log
3. But still when using 8.2.2 and/orpsr/log
in Version 2 or 3, I get the error mentioned above. So I wonder, where is this error/the wrong signature coming from?I also checked the server, but nothing regarding this is installed in my php installation:
Can anybody tell me what's going on and how I can fix it?
Beta Was this translation helpful? Give feedback.
All reactions