Forums

TCPDF PHP 8

Kazhaam 16 Jan, 2023
Hello, our provider forced us to upgrade to PHP8. TCPDF seems to be not ready for this. Is there a workaround to make PDF generation happen in PHP8? We used it in CF6 but we are willing to use it in CF7.🙂
rbock 17 Jan, 2023
Hm... I have replace the plugin with version 6.6.2 from github, it works for me...
Kazhaam 17 Jan, 2023
Oh ok. i will try it. which chronoforms version are you using?
rbock 17 Jan, 2023
ChronoForms v7
Kazhaam 06 Feb, 2023
works like a charm. thamk you🙂
Kazhaam 07 Feb, 2023
i took it from this link: https://fossies.org/linux/www/TCPDF-6.6.2.tar.gz/. TCPDF Version tcpdf_6_3_2.zip is not working?
Eddi Bournell 08 Feb, 2023
Well, when I try to install TCPDF-6.6.2 , CF7 says "File missing or incorrect." . The Version you can download from here (Chronoengine.com) ,seems not to be compatible with php-8 , because when it should start to work, i get " The server returned a "500 - Whoops, looks like something went wrong." in a red Joomla! - window.
Reason: Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\neuebuehne\plugins\system\chronog3_plg\chronog3\vendors\tcpdf\tcpdf.php on line 16901

My form runs well without TCPDF
I work on Joomla! 4. , php8, CF7.0.10
How did you "replace the plugin with version 6.6.2" ? in CF7
Kazhaam 09 Feb, 2023
1 Likes
I just replaced the files in "plugins/system/chronog3_plg/chronog3/vendors/tcpdf" with the ones from the link i posted.

(But we got Joomla! 3.10.11)
Eddi Bournell 09 Feb, 2023
1 Likes
Many thanks Kazhaam, I replaced the files an tataa! it works. Even with Joomla! 4 & php8.
You need to login to be able to post a reply.