Forum


Replies: 2   Views: 882
Merge pdf documents
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by nschrevel  · 29-03-2022 - 10:00

Hello,

We are trying to merge two PDF with PHPDOCX 12.5  :

$merge = new MultiMerge();
$merge->mergePdf([$headerPdf, $clientPdf], $outputPdf);

But we have an error :

Warning: Illegal string offset 'Parent'

$clientPDF has been clean up by pdfcairo
$headerPdf is created by PDPDocx

Both files can be open with Acrobat Reader without error.

We are using PHP 7.4

Thanks

Nicolas