Запускаю крон, получаю вот такую ошибку:
root:/var/www/wokster/data/yii# php yii mail/fly
PHP Fatal error: Uncaught exception 'yii\base\UnknownPropertyException' with message 'Setting unknown property: yii\console\ErrorHandler::errorAction' in /var/www/wokster/data/yii/vendor/yiisoft/yii2/base/Component.php:197
Stack trace:
#0 /var/www/wokster/data/yii/vendor/yiisoft/yii2/BaseYii.php(518): yii\base\Component->__set('errorAction', 'mail/error')
#1 /var/www/wokster/data/yii/vendor/yiisoft/yii2/base/Object.php(105): yii\BaseYii::configure(Object(yii\console\ErrorHandler), Array)
#2 [internal function]: yii\base\Object->__construct(Array)
#3 /var/www/wokster/data/yii/vendor/yiisoft/yii2/di/Container.php(364): ReflectionClass->newInstanceArgs(Array)
#4 /var/www/wokster/data/yii/vendor/yiisoft/yii2/di/Container.php(147): yii\di\Container->build('yii\console\Err...', Array, Array)
#5 /var/www/wokster/data/yii/vendor/yiisoft/yii2/BaseYii.php(344): yii\di\Container->get('yii\console\Err...', Array, Array)
#6 /var/www/wokster/data/yii/vendor/yiisoft/yii2/di/ServiceLocator.php(133): yii\BaseYii::createObject(Array)
#7 /var/w in /var/www/wokster/data/yii/vendor/yiisoft/yii2/base/Component.php on line 197
С чем может быть связано?
-
Вопрос задан
-
1314 просмотров