TCPDF BROKEN on PHP 7.2

healyhatman 30 May, 2018
UPDATE: Broken for "download" options, still works for "store" and "inline display" options.


As the title says, PHP 7.2 breaks TCPDF. It generated a deprecated warning, and that output stops TCPDF from continuing. I get the following error:

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /path/public_html/site.com.au/libraries/cetcpdf/tcpdf/tcpdf.php on line 20947
TCPDF ERROR: Some data has already been output, can't send PDF file

GreyHead 30 May, 2018
Hi healyhatman,

Presumably that is a PHP Warning message that is not shown if Site Error Reporting is set to System Default?

It looks as if Max is using an old TCPDF version 5.9.137 - the latest appears to be 6.2.17

Bob
Max_admin 15 Jun, 2018
Hi,

The latest TCPDF library file available for download should fix this!

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
healyhatman 17 Jun, 2018
1 Likes
DUUUUDE! Thankyou! By updating TCPDF you have also finally enabled support for Base64 encoded images! Can now save signatures directly to pdfs without needing to save as png/jpeg first!
This topic is locked and no more replies can be posted.