Answer the question
In order to leave comments, you need to log in
Why doesn't the console work after adding multilanguage to Yii2?
Sweat this post implemented multilingualism. I do php yii migrate/create catalog_item
and I get:
Exception 'yii\base\InvalidConfigException' with message 'Unable to determine the request URI.'
Answer the question
In order to leave comments, you need to log in
Most likely, the fact is that you ruled the common config, but it was necessary to add multilingualism to the frontend config and backend config. Since the common config is used by the console controller.
Common config is common, but do not forget that it is common not only for frontend and backend, but also for console
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question