Jump to content

Errors in cronTask


vetal

Recommended Posts

С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

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.

Loading...
×
×
  • Create New...