Answer the question
In order to leave comments, you need to log in
How to remove gii?
I'm trying to deploy to heroku but the migration fails with an error
Exception 'ReflectionException' with message 'Class yii\gii\Module does not exist'
Answer the question
In order to leave comments, you need to log in
It is necessary not to delete (this is equivalent to the fact that they are in the require-dev section) - because then again gii and debug will not stand up and the class will not be found either, which means we need to move them to the require section in the composer.json file
Instructions from the Yii2 developer
Or option 2, as OKyJIucT noted - you need to remove the code using these classes in the project code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question