mPDF is now working with PHP 7.1
I'm using mPDF 7.0.x-dev f316a8b
$pdf->WriteHTML($html);
?>
causes:
ErrorException in cssmgr.php line 1302:
Illegal string offset 'ID'.
The only workaround I found is:
error_reporting(E_ERROR);
Please, attach a HTML snippet you are using.
mPDF does not support PHP 7.1 so you will have to wait for a newer version.
Notices and warnings from PHP 7.1 on HTML snippets from examples repository were fixed in ac56fae.
Here's another incompatibility problem too https://github.com/mpdf/mpdf/issues/288
Most helpful comment
Notices and warnings from PHP 7.1 on HTML snippets from examples repository were fixed in ac56fae.