vetal Posted September 19, 2022 Report Share Posted September 19, 2022 Сron errors began to appear аfter upgrading blesta from 5.4.0 to 5.5.1: Error: Argument 1 passed to Blesta\Core\Automation\TaskFactory::cronTask() must be an instance of stdClass, bool given, called in /var/www/vhosts/crm/public_html/app/controllers/cron.php on line 806 #0 /var/www/vhosts/crm/public_html/app/controllers/cron.php(806): Blesta\Core\Automation\TaskFactory->cronTask() #1 /var/www/vhosts/crm/public_html/app/controllers/cron.php(244): Cron->license() #2 /var/www/vhosts/crm/public_html/app/controllers/cron.php(173): Cron->allSystem() #3 /var/www/vhosts/crm/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): Cron->index() #4 /var/www/vhosts/crm/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(61): Dispatcher::dispatch() #5 /var/www/vhosts/crm/public_html/index.php(24): Dispatcher::dispatchCli() #6 {main}Error: Argument 1 passed to Blesta\Core\Automation\TaskFactory::cronTask() must be an instance of stdClass, bool given, called in /var/www/vhosts/crm/public_html/app/controllers/cron.php on line 781 #0 /var/www/vhosts/crm/public_html/app/controllers/cron.php(781): Blesta\Core\Automation\TaskFactory->cronTask() #1 /var/www/vhosts/crm/public_html/app/controllers/cron.php(244): Cron->amazonS3Backup() #2 /var/www/vhosts/crm/public_html/app/controllers/cron.php(173): Cron->allSystem() #3 /var/www/vhosts/crm/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): Cron->index() #4 /var/www/vhosts/crm/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(61): Dispatcher::dispatch() #5 /var/www/vhosts/crm/public_html/index.php(24): Dispatcher::dispatchCli() #6 {main}Error: Argument 1 passed to Blesta\Core\Automation\TaskFactory::cronTask() must be an instance of stdClass, bool given, called in /var/www/vhosts/crm/public_html/app/controllers/cron.php on line 756 #0 /var/www/vhosts/crm/public_html/app/controllers/cron.php(756): Blesta\Core\Automation\TaskFactory->cronTask() #1 /var/www/vhosts/crm/public_html/app/controllers/cron.php(244): Cron->sftpBackup() #2 /var/www/vhosts/crm/public_html/app/controllers/cron.php(173): Cron->allSystem() #3 /var/www/vhosts/crm/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): Cron->index() #4 /var/www/vhosts/crm/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(61): Dispatcher::dispatch() #5 /var/www/vhosts/crm/public_html/index.php(24): Dispatcher::dispatchCli() PHP: 7.4.25 MariaDB: 10.6.4 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.