-
Notifications
You must be signed in to change notification settings - Fork 213
error in laravel 9 #223
Comments
Hi someone found a solution that works for me https://serveanswer.com/questions/that-how-to-fix-laravel-pdf-logerror Can not oversee the consequences but it works Eric |
This solution did not work |
Sorry for you. For me it works like a charm. Did you clear your cache and terminate horizon (if used). Cheers, Eric |
Thanks a Lot. It worked for me. |
Downgrade psr/log to 2.0 instead of 3.0. Because Mpdf (https://packagist.org/packages/mpdf/mpdf) does not support psr/log 3.0 |
The serveranswer link did not work me but a cached page was available. For anyone wondering the solution on the page was
Fixed the issue for me. |
Eric @chris-gassner Great, you found a cache. I needed the solution for another project and couldn't find the code anymore. You helped met out! Eric |
This link is not active anymore, how can I find the solution |
as above |
Thank you it works like a charm, only thing I had to adjust is the |
i use this package in laravel 8.x and dont have any problem
but in laravel 9 i have this error when i want download pdf file with LoadView method
Declaration of Mpdf\Mpdf::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void
The text was updated successfully, but these errors were encountered: