Fatal error with PHP 7.0.8
superspace opened this issue · comments
Running on PHP 7.0.8 creating a PDF ends with the following error:
PHP Fatal error: 'break' not in the 'loop' or 'switch' context in …/core/components/pdfresource/vendor/mpdf/mpdf/classes/svg.php on line 2710
This Batch does fix it:
2710 - if (!$last_gradid) break;
2710 + if (!$last_gradid) return;
Could you look in the mpdf repository, if the issue is filed there, too?
This was already fixed in mpdf/mpdf@002bb8a
Updated the vendor package in the 1.5.3 release.