Forum


Replies: 3   Views: 282
Php undefined array merging 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 fairshareitservices  · 22-02-2025 - 17:59

Two word document generate through html template. In one document jpg images are present. When these two document get merged using mergeDocx funtion of MultiMerge. Showing error ---- 

Warning: Undefined array key "" in D:\laravel\prj\prj-php-word-docx\phpdocx-premium\classes\MultiMerge.php on line 2097
PHP Warning:  Undefined array key "" in D:\laravel\prj\prj-php-word-docx\phpdocx-premium\classes\MultiMerge.php on line 2117

What is this error about?? 

When I try to open merged document it gives me message "Word Found unreadable content in file_nameXXX.docx. Do you want to recover content from the document?" . File get open but Instead of file real name it shows Document1.