Replies: 1   Views: 2271
Cannot redeclare class tcpdf in
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  · 14-08-2017 - 18:22


phpdocx includes TCPDF for some PDF workflows. The current version doesn't include an option to exclude the autoloading of TCPDF, so we recommend you to use the version of TCPDF included in phpdocx or remove the autoloading of TCPDF in the class if you need to use other version of TCPDF.

A future version of phpdocx will include options to avoid the autoloading of TCPDF and other modules included in the library.