Jump to content

WHMCS Cron job error


hostintegra

Recommended Posts

  • WHMCS Support Manager

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.

Link to comment
Share on other sites

  • 2 weeks later...
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.

Link to comment
Share on other sites

  • WHMCS Support Manager

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated