I got the following error message when exporting a grouped view to excel or pdf
Unbekannter Fehlertyp: [2] “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?
in Zeile 17786 in der Datei /home/www/doc/8060/hhc-freudental.de/www/phpgrid/lib/inc/tcpdf/tcpdf.php Unbekannter Fehlertyp: [2] include(/home/www/doc/8060/hhc-freudental.de/www/phpgrid/lib/inc/tcpdf/fonts/uni2cid_aj16.php): failed to open stream: No such file or directory
in Zeile 13 in der Datei /home/www/doc/8060/hhc-freudental.de/www/phpgrid/lib/inc/tcpdf/fonts/cid0jp.php
what can i do ?
Regards Gerd
Hi,
This warning is a PHP 7.3 incompatibility warning
Quick fix is to go to that file and line and change “continue;” to “continue 2;”
I’ll be updating latest tcpdf to see if this is gone and make sure it’s fixed in next release.
Ref: tcpdf wordpress error in PHP even tho i followed the tcpdf example 1by1 – Stack Overflow
Thank you !!
Now i get another error:
Unbekannter Fehlertyp: [2] chr() expects parameter 1 to be int, string given
in Zeile 1671 in der Datei S:\o\HHC-FreudentalWebsite_neu\phpgrid\lib\inc\tcpdf\include\tcpdf_fonts.php Fehler im Script, Admin wurde verständigt.
Regards Gerd
A good solution would be to download TCPDF latest build from this link.
Rename old lib/inc/tcpdf folder to tcpdf-old.
Extract files of new build in lib/inc/tcpdf
Copy following 2 files from tcpdf-old to tcpdf:
class.PDFImage.php
class.TCPDF.EasyTable.php
Hopefully it should solve php7.3+ compat issues.