Buy Now
Sign in

TCPDF BROKEN on PHP 7.2

H
healyhatman
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
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman
GreyHead
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
admin
Hi,
The latest TCPDF library file available for download should fix this!
Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
H
healyhatman
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!
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman