Bandwith Cron Not Working

php /var/www/autovm/yii cron/index
PHP Notice ‘yii\base\ErrorException’ with message ‘Undefined variable: bandwidth’

in /var/www/autovm/commands/CronController.php:175

Stack trace:
#0 /var/www/autovm/commands/CronController.php(175): yii\base\ErrorHandler->handleError(8, ‘Undefined varia…’, ‘/var/www/autovm…’, 175, Array)
#1 /var/www/autovm/commands/CronController.php(19): app\commands\CronController->actionBandwidth()
#2 [internal function]: app\commands\CronController->actionIndex()
#3 /var/www/autovm/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#4 /var/www/autovm/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#5 /var/www/autovm/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction(‘index’, Array)
#6 /var/www/autovm/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction(‘index’, Array)
#7 /var/www/autovm/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction(‘cron/index’, Array)
#8 /var/www/autovm/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction(‘cron/index’, Array)
#9 /var/www/autovm/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#10 /var/www/autovm/yii(19): yii\base\Application->run()
#11 {main}

What is this error? Yii is up to date.

Please update the AutoVM panel to the latest version like below:

cd /var/www/autovm
git pull

And try again.