• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Issue with PDF generation by using mPDF

Issue with PDF generation by using mPDF 1 year 4 months ago #43150

I have used so far mPDF for generating PDF-files from form without issues. However, I just noticed that the PDF generation is broken and I'm not sure what causes it. I'm using latest version of RSForm and mPDF is still the same 8.2 as before. I can find following error from logs:

[08-Dec-2023 18:09:24 UTC] PHP Fatal error: Declaration of Psr\Log\NullLogger::log($level, Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::log($level, $message, array $context = []) in /home/int20582/public_html/tja/administrator/components/com_rsform/helpers/pdf/mpdf/vendor/psr/log/src/NullLogger.php on line 26

I'm not fully sure when this issue came up (it might have been there for a while) and my initial guess was that recent update of PHP from 8.1 to 8.2 was the reason. However, switching back to PHP8.1 did not help.

Luckily dompdf v2.0 works, so I can live without mPDF for the time being.
The administrator has disabled public write access.

Issue with PDF generation by using mPDF 1 year 3 weeks ago #43317

  • dragos
  • dragos's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 632
  • Thank you received: 116
Hello,

I've just tested the mPDF 8.2.0 version and there's no error returned, you can always try updating this library once more by downloading it from our website and installing over the current one, this way, you make sure that you're using the latest and complete version.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!