configuration of i18n traduction


i’m configuring i18n traduction and the manual says that i have to export messages from views to messages folder with this command:

yii message/extract @common/config/i18n.php

But i have this error:

PHP Fatal error: Uncaught exception ‘yii\base\UnknownPropertyException’ with message ‘Setting unknown property: yii\console\ErrorHandler::errorAction’ in /var/www/html/advanced/vendor/yiisoft/yii2/base/Component.php:197

i have used the command yi message/config and the same error. I read somewhere that is because i have this in common/config:

‘errorHandler’ => [

        'errorAction' => 'site/error',


I delete it from config file but same error.

Any idea?


i have viewed that the problem is that i cant execute yii console script. I cant do anything…

i read that console aplication is included in advanced template, i have to do something to get it working?


Solved. Close please