Replies: 1   Views: 1715
Multimerge comments error
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 SYS_A1086-Workflow  · 04-05-2020 - 08:24

When I use MultiMerge and there are comments in the files I get the following error:

Fatal error: Uncaught Error: Call to a member function setAttribute() on null in /opt/app/a1679/apache-tst/htdocs/plugins/phpdocx/classes/ on line 1659

Is there a way to avoid this error?

Can I remove all comments with a function?

Posted by admin  · 04-05-2020 - 09:05


What type of comments are added to the DOCX? commentExtended types from new versions of MS Word are supported since phpdocx 9.5 (

You are using an Advanced 6.5 license, you can use DOCXPath to remove specific Word contents in the document using removeWordContent ( If you send to contact[at] two DOCX samples that return the error when merging with phpdocx 6.5 we'll check them.