laravel-pdfmerger icon indicating copy to clipboard operation
laravel-pdfmerger copied to clipboard

$oMerger->save() and out() Error.

Open DuckHunter213 opened this issue 6 years ago • 3 comments

ErrorException (E_DEPRECATED) The each() function is deprecated. This message will be suppressed on further calls

the proyect don't allow save pdfs

DuckHunter213 avatar Dec 05 '18 21:12 DuckHunter213

Same problem here...

amaurysoares avatar Jun 03 '19 14:06 amaurysoares

please update below code on this file vendor/setasign/fpdi/fpdi.php

while (list($k, $v) = each($value[1])) { $this->_straightOut($k . ' '); $this->_writeValue($v); } update: foreach ($value[1] as $key => $value) { $this->_straightOut($key . ' '); $this->_writeValue($value); }

Allessia444 avatar Aug 06 '19 06:08 Allessia444

the better solution would be, to update the requirement: "setasign/fpdi-fpdf" - setasign already fixed the issue, if you update to next major releases - not 1.6 any more (thats already marked as legacy).

renky avatar Jan 20 '20 12:01 renky