Forum


Replies: 3   Views: 3911
Php fatal error: uncaught error: call to undefined method phpdocx\\create\\createdocx::replacevaria
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 PKF_tech  · 19-01-2018 - 14:38

Thanks, although these instructions don't match the version I downloaded, all the classes are stored in various folders, starting:

\Classes\Phpdocx\

with CreateDocx in:

\Classes\Phpdocx\Create

so to get working I added: 
require_once 'Classes/Phpdocx/Create/CreateDocx.inc';

but no other functions work, unless I create further includes:
require_once 'Classes/Phpdocx/Elements/WordFragment.inc';

So any ideas on how to resolve this please?