I'm using PHPDocX and Spipu's HTML2PDF library (https://github.com/spipu/html2pdf) together. With PHPDocX I'm not generating any PDF documents; however, I'm getting this error when I try to generate my Word document:
Fatal error: Cannot redeclare class TCPDF in /files/www/html/phpdocx/lib/pdf/tcpdf/tcpdf.php on line 152
Is there a way to bypass this error? Or is there a line I can modify to check if the library was already called?
Thanks in advance for any hints