Good morning guys, I’m using nextcloud nextcloud:30.0.4 with docker compose
The container’s PHP is 8.2
Libresign for digital signature was installed.
However, when attempting to sign up, the following error appears:
PHP Fatal error: Declaration of Mpdf\SizeConverter::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/html/custom_apps/libresign/vendor/mpdf/psr-log-aware-trait/src/PsrLogAwareTrait.php on line 15
I have already changed the function as advised by this forum: Mpdf\Mpdf LoggerAwareInterface incompatibility with Psr\Log in php 8.1.12 - Stack Overflow
public function setLogger(LoggerInterface $logger):void;
but still no success.
Could someone help me?