Previously used yii2 basic , and no problems!
But now you need to use advanced , but with a problem!
For some reason, an error occurs with the namespace , the system simply does not see them!
example index.php in frontend:
How can I fix this?
Just phpStorm does not see the contents of the vendor folder. If you are editing files on ftp, then download them again.
php composer install via the console, by ftp this is long and unproductive :) - MasterAlexphp composer install , so that the system saw :) - MasterAlexSource: https://ru.stackoverflow.com/questions/530706/
All Articles