Je veut installer yii2-user et pour faire la migration de base de donnée j’ai ce problème
C:\wamp\www\advanced>php yii migrate/up --migrationPath=@vendor/dektrium/yii2-us
er/migrations
Exception ‘yii\base\InvalidConfigException’ with message 'Unable to locate messa
ge source for category ‘user’.’
in C:\wamp\www\advanced\vendor\yiisoft\yii2\i18n\I18N.php:200
Stack trace:
#0 C:\wamp\www\advanced\vendor\yiisoft\yii2\i18n\I18N.php(88): yii\i18n\I18N->ge
tMessageSource(‘user’)
#1 C:\wamp\www\advanced\vendor\yiisoft\yii2\BaseYii.php(501): yii\i18n\I18N->tra
nslate(‘user’, ‘Welcome to {0}’, ‘My Application’, ‘en-US’)
#2 C:\wamp\www\advanced\vendor\diggindata\yii2-docvault\Bootstrap.php(92): yii\B
aseYii::t(‘user’, ‘Welcome to {0}’, ‘My Application’)
#3 C:\wamp\www\advanced\vendor\yiisoft\yii2\base\Application.php(291): diggindat
a\docvault\Bootstrap->bootstrap(Object(yii\console\Application))
#4 C:\wamp\www\advanced\vendor\yiisoft\yii2\base\Application.php(267): yii\base\
Application->bootstrap()
#5 C:\wamp\www\advanced\vendor\yiisoft\yii2\console\Application.php(120): yii\ba
se\Application->init()
#6 C:\wamp\www\advanced\vendor\yiisoft\yii2\base\Object.php(107): yii\console\Ap
plication->init()
#7 C:\wamp\www\advanced\vendor\yiisoft\yii2\base\Application.php(206): yii\base\
Object->__construct(Array)
#8 C:\wamp\www\advanced\vendor\yiisoft\yii2\console\Application.php(85): yii\bas
e\Application->__construct(Array)
#9 C:\wamp\www\advanced\yii(26): yii\console\Application->__construct(Array)
#10 {main}
C:\wamp\www\advanced>