Forum


Replies: 1   Views: 606
Getwordcontents sends empty array
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 CourtiGo  · 14-12-2022 - 16:48

Hello,

We have a problem since a last merge on git.

We have :

$this->load->library('phpdocx/classes/CreateDocx');

$docx = new CreateDocxFromTemplate($file);

$contents = $docx->getWordContents(['type' => 'all']);

But $contents is an empty array, whatever the $file contents. What can cause that ?

Thanks for answering.