hostintegra Posted March 4, 2017 Share Posted March 4, 2017 Fatal error: Class 'WHMCS\Mail\Entity\invoice' not found in /home/xxxxx/public_html/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php on line 0 How to fix this problem ? My WHMCS Version 7.1.0. Please help me . sory for bad english 0 Quote Link to comment Share on other sites More sharing options...
jet88 Posted March 6, 2017 Share Posted March 6, 2017 You have an error in your code. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 6, 2017 Share Posted March 6, 2017 You have an error in your code. no - it's usually a corrupt file... uploading the entire 'vendor' folder again usually fixes it. 0 Quote Link to comment Share on other sites More sharing options...
hostintegra Posted March 6, 2017 Author Share Posted March 6, 2017 problem wasn't solved. - - - Updated - - - no - it's usually a corrupt file... uploading the entire 'vendor' folder again usually fixes it. problem wasn't solved. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 7, 2017 Share Posted March 7, 2017 you might want to open a ticket with Support and let them take a look at the issue. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted March 9, 2017 WHMCS Support Manager Share Posted March 9, 2017 Hi, There is no invoice.php file in the /vendor/whmcs/whmcs-foundation/lib/Mail/Entity/ path to which this error refers, only Invoice.php Could you please ensure there are no customisations present on your installation as these can often change the way WHMCS operates. These are typically located in the /includes/hooks and /modules/addons directory (and maybe also /modules/admin if it's an old customisation) Once the issue is resolved you can add them back one-by-one until the problem begins again - at which point you have identified the troublesome customisation and can contact the vendor directly for assistance resolving the problem in their code. 0 Quote Link to comment Share on other sites More sharing options...
hostintegra Posted March 20, 2017 Author Share Posted March 20, 2017 Hi,There is no invoice.php file in the /vendor/whmcs/whmcs-foundation/lib/Mail/Entity/ path to which this error refers, only Invoice.php Could you please ensure there are no customisations present on your installation as these can often change the way WHMCS operates. These are typically located in the /includes/hooks and /modules/addons directory (and maybe also /modules/admin if it's an old customisation) Once the issue is resolved you can add them back one-by-one until the problem begins again - at which point you have identified the troublesome customisation and can contact the vendor directly for assistance resolving the problem in their code. problem wasn't solved. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 20, 2017 Share Posted March 20, 2017 problem wasn't solved. Did you try removing all customisation and hooks? 0 Quote Link to comment Share on other sites More sharing options...
hostintegra Posted March 21, 2017 Author Share Posted March 21, 2017 Did you try removing all customisation and hooks? Yes, I tried. But it didn't work 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 22, 2017 Share Posted March 22, 2017 Yes, I tried. But it didn't work Please open a support ticket so we can assist you 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted March 25, 2017 WHMCS Support Manager Share Posted March 25, 2017 Hi, This indicates a problem with the ucfirst() PHP function in your server environment, causing it to look for a file called invoice.php rather than the actual file Invoice.php. Here is information on the function we are using: http://php.net/manual/en/function.ucfirst.php Try recompiling the PHP environment used by your cron jobs, that may help here. We also have case CORE-10746 open internally in investigate whether we can better handle situations where this PHP function is not functioning correctly. 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.