Forum


Replies: 3   Views: 91
Php undefined array merging documents

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.