Forum


Replies: 1   Views: 17
Domnode::insertbefore(): document fragment is empty

Posted by jaina112  · 30-03-2025 - 18:12

I use phpdocx 10 premium.

I make a word using a template.
The following warning is given in replaceVariableHTML.
DOMNode:: insertBefore(): Document Fragment is empty

I make a word from HTML.
The options are as follows.
'customListStyles' => true,
'strictWordStyles' => true,
'disableWrapValue' => true,
'removeLineBreaks' => true,
'wordStyles' => array
  '.listA' => 'listA'
)

Warning seems to be over a list when I do not appoint a class at making.

What is the method of preventing you from giving warning?

※The warning was not given in phpdocx9.
gras

Posted by admin  · 30-03-2025 - 18:55

Hello,

Your username doesn't have a license. Please send to contact[at]phpdocx.com the username or email address of the user who purchased the license you are using.

We also need the simplest PHP script that illustrates your issue. Please send to contact[at]phpdocx.com a sample script using phpdocx standalone (without external resources such as databases or web services) and the DOCX template you are using.

Also, please check the technical support available in licenses: https://www.phpdocx.com/support (What support includes my license? section).

Regards.