CodyLoco Posted January 14, 2017 Share Posted January 14, 2017 (edited) Hi all! I've been battling some some issues recently with my WHMCS install, and at the moment I have a weird one with invoice/quote PDF downloads. Any time I try to download a PDF, be it via admin side or client-side, I get the following error: Fatal error: Uncaught Error: Class 'TCPDF' not found in /home/xxxxxxxx/public_html/clients/vendor/whmcs/whmcs-foundation/lib/PDF.php:0 Stack trace: #0 /home/xxxxxxxx/public_html/clients/vendor/composer/ClassLoader.php(412): include() #1 /home/xxxxxxxx/public_html/clients/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/home/xxxxxxxx/...') #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('WHMCS\\PDF') #3 /home/xxxxxxxx/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): spl_autoload_call('WHMCS\\PDF') #4 /home/xxxxxxxx/public_html/clients/includes/invoicefunctions.php(0): WHMCS\Invoice->pdfCreate() #5 /home/xxxxxxxx/public_html/clients/dl.php(0): pdfInvoice(363) #6 {main} Next Error: Class 'TCPDF' not found in /home/xxxxxxxx/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Terminus.php:0 Stack trace: #0 [internal function]: WHMCS\Terminus::whmcsExceptionHandler(Object(Error)) #1 {main} thrown in /home/xxxxxxxx/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Terminus.php on line 0 I've tried replacing all files in /vendor/whmcs/whmcs-foundation/lib/* with fresh ones from an install package; no go. I'm also seeing an issue where System Health Status reports that system cron hasn't run in the last 24h, despite the logs seemingly saying it is running. Not sure if that's related? Any leads on what the problem could be? My WHMCS is up to date w/ 7.1.1. Thanks! Edited January 14, 2017 by CodyLoco 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 14, 2017 Share Posted January 14, 2017 I've tried replacing all files in /vendor/whmcs/whmcs-foundation/lib/* with fresh ones from an install package; no go. you might as well upload the entire 'vendor' folder again - the pdf stuff is mainly in the technikcom folder, but it would be better to just upload the entire vendor folder. I'm also seeing an issue where System Health Status reports that system cron hasn't run in the last 24h, despite the logs seemingly saying it is running. Not sure if that's related? I don't think they're related - if you do a search, you'll find a few threads about that cron issue. 0 Quote Link to comment Share on other sites More sharing options...
CodyLoco Posted January 14, 2017 Author Share Posted January 14, 2017 Thanks @brian! That worked- appreciate it! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.