If tcpdf.php file is missing, you will see an error like this when generating or downloading tickets:
Warning: require_once(wp-content/plugins/tickera/includes/tcpdf/tcpdf.php): failed to open stream: No such file or directory in /wp-content/plugins/tickera/includes/tcpdf/examples/tcpdf_include.php on line
Fatal error: require_once(): Failed opening required '/wp-content/plugins/tickera/includes/tcpdf/tcpdf.php' (include_path='.:/usr/local/php56/pear') in /wp-content/plugins/tickera/includes/tcpdf/examples/tcpdf_include.php on line
The most likely reason behind this is that your antivirus software almost certainly flagged one of Tickera’s PDF-generation files as a false positive and renamed it which is why tcpdf.php file is missing
Tickera uses the TCPDF library to generate PDFs on your server (for example, when customers download their tickets). Some antivirus tools don’t like PHP files that work with PDFs and mark them as suspicious even though they are perfectly safe.
Here’s how to fix the issue:
First, open the settings of your antivirus plugin or server-side scanner and add the file tcpdf_include.php to its ignore/whitelist list. The exact steps depend on the antivirus tool you’re using.
Next, connect to your server via FTP and go to /wp-content/plugins/tickera/includes/tcpdf/examples/
You will most likely find that the tcpdf.php file is missing but there is a file named tcpdf_include.php.suspected. Rename it back to tcpdf_include.php
Once the file is whitelisted and properly renamed, Tickera will be able to load it again and ticket PDF generation will work normally.