html2pdf
html2pdf copied to clipboard
HTML2PDF draw image on php 8.1
Hi
I updated my PHP to latest version (8.1) and, then, I get this error on my PDF generation:

How I can fix this?
Best regards
Hi,
The error you have seems related to array..
Are you using the latest HTML2PDF version? The readme file says that is compatible with PHP 8.0
I have scanned the build with PHPCompatibility for PHP v8 and no probem found. I have not scanned for v 8.1. I plan to update to PHP 8 this month so I have not test it yet.
*You may want to scan all your project files built with PHPCompatibility https://github.com/PHPCompatibility/PHPCompatibility
Hi, I'm planning to update to PHP 8.1 did you fix the problems?
it occurs when the html is bad formatted (ex: not the same number of cells on each row of a table)