Forum


Replies: 1   Views: 2132
Fatal - invalid template extension
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 admin  · 17-12-2019 - 07:25

Hello,

What version and license of phpdocx are you using?

That error appears when trying to use a not valid DOCX as template or the file doesn't exist. The code you are using:

$docx = new CreateDocxFromTemplate($theme,'vul_template.docx');

isn't correct. We recommend you to check the included samples and the available documentation.

Regards.