Jump to content

Cron fails on WHMCS Updates (8.12.1)


Koboh

Recommended Posts

Hello,

I have recently updated to 8.12 and noticed my daily cron is not completing. I have updated to 8.12.1 just in case one of the maintenance fixes would help but it is still failing.

When manually forcing the cron in the command line I can see it reaches 32/36 WHMCS Updates and provides this error:

PHP Fatal error:  Declaration of WHMCS\Installer\Composer\WhmcsComposerApplication::getComposer($required = , $disablePlugins = ) must be compatible with Composer\Console\Application::getComposer(bool $required = true, ?bool $disablePlugins = null, ?bool $disableScripts = null): ?Composer\Composer in unknown on line 0
[WHMCS Application] ERROR: Whoops\Exception\ErrorException: Declaration of WHMCS\Installer\Composer\WhmcsComposerApplication::getComposer($required = , $disablePlugins = ) must be compatible with Composer\Console\Application::getComposer(bool $required = true, ?bool $disablePlugins = null, ?bool $disableScripts = null): ?Composer\Composer in unknown:0 Stack trace: #0 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError() #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 64): Declaration of WHMCS\\Installer\\Composer\\WhmcsComposerApplication::getComposer($required = , $disablePlugins = ) must be compatible with Composer\\Console\\Application::getComposer(bool $required = true, ?bool $disablePlugins = null, ?bool $disableScripts = null): ?Composer\\Composer at unknown:0)"} []
Whoops\Exception\ErrorException: Declaration of WHMCS\Installer\Composer\WhmcsComposerApplication::getComposer($required = , $disablePlugins = ) must be compatible with Composer\Console\Application::getComposer(bool $required = true, ?bool $disablePlugins = null, ?bool $disableScripts = null): ?Composer\Composer in unknown:0

#0 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError()
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}

Has anyone seen this and are you able to help me resolve it, please?

Screenshot 2025-01-29 at 20.27.21.png

Link to comment
Share on other sites

  • 1 year later...

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