1 頁 (共 1 頁)

php 7.2 mpdf each error

發表於 : 2019-10-29 10:48:21
yehlu
https://github.com/mccarlosen/laravel-mpdf/issues/4

代碼: 選擇全部

I have resolved the issue.

In mpdf.php (line 10895)

use

foreach($this->images as $file => $info){}

instead of

while (list($file, $info) = each($this->images)) {}

And in line 13043

use

foreach($this->formobjects as $file => $info){}

instead of

while (list($file, $info) = each($this->formobjects)) {}