xister Posted February 20, 2021 Share Posted February 20, 2021 Hello, after upgrade our cron isn´t working anymore: Quote PHP Fatal error: Declaration of WHMCS\Language\Loader\WhmcsLoader::load($resource, $locale, $domain = ) must be compatible with Symfony\Component\Translation\Loader\LoaderInterface::load($resource, string $locale, string $domain = 'messages') in /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/Loader/WhmcsLoader.php on line 0 [WHMCS Application] ERROR: Whoops\Exception\ErrorException: Declaration of WHMCS\Language\Loader\WhmcsLoader::load($resource, $locale, $domain = ) must be compatible with Symfony\Component\Translation\Loader\LoaderInterface::load($resource, string $locale, string $domain = 'messages') in /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/Loader/WhmcsLoader.php:0 Stack trace: #0 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(64, 'Declaration of ...', '/var/www/virtua...', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 64): Declaration of WHMCS\\Language\\Loader\\WhmcsLoader::load($resource, $locale, $domain = ) must be compatible with Symfony\\Component\\Translation\\Loader\\LoaderInterface::load($resource, string $locale, string $domain = 'messages') at /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/Loader/WhmcsLoader.php:0)"} [] Whoops\Exception\ErrorException: Declaration of WHMCS\Language\Loader\WhmcsLoader::load($resource, $locale, $domain = ) must be compatible with Symfony\Component\Translation\Loader\LoaderInterface::load($resource, string $locale, string $domain = 'messages') in /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Language/Loader/WhmcsLoader.php:0 #0 /var/www/virtual/domain.tld/portal/htdocs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(64, 'Declaration of ...', '/var/www/virtua...', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS SamP Posted February 22, 2021 WHMCS Technical Analyst II Share Posted February 22, 2021 Hi @xister This error occurs when running the WHMCS 8.X cron with a PHP version that is not supported - https://docs.whmcs.com/System_Environment_Guide#Version_Compatibility_2 Please switch to at least PHP 7.2 and then try again. 0 Quote Link to comment Share on other sites More sharing options...
xister Posted February 25, 2021 Author Share Posted February 25, 2021 Thank you - cron is running fine, now! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS SamP Posted February 26, 2021 WHMCS Technical Analyst II Share Posted February 26, 2021 15 hours ago, xister said: Thank you - cron is running fine, now! Excellent. Thank you for the update! 👍 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.