Situation
From the main tab at top of page, when using reports, black forms, core, demographics the following error occurs
Fatal error : Declaration of Mpdf\Mpdf::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/xxx/openemr/vendor/mpdf/psr-log-aware-trait/src/MpdfPsrLogAwareTrait.php on line 15
OpenEMR Version
I’m using OpenEMR version
7.0.2 patch 2
Browser:
I’m using:
Chrome/firefox
Operating System
I’m using:
Ubuntu 22 LTS
Search
Did you search the forum for similar questions?
Yes
Logs
Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks () for readability. You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All
[Wed Nov 06 19:41:29.874468 2024] [php:error] [pid 575624] [client 72.206.76.140:49617] PHP Fatal error: Declaration of Mpdf\Mpdf::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/xxx/openemr/vendor/mpdf/psr-log-aware-trait/src/MpdfPsrLogAwareTrait.php on line 15, referer: https://xxx/interface/main/tabs/main.php?token_main=3lOrKMgGeQigF6rflfOzQvDIFRym8VFIOdMQXdeq```