admin管理员组

文章数量:1201026

I have installed a basic model from yii2, I have already done pretty everything I had to do to configure my yii2 proyect, even I have send it to another person and It works. When I open localhost proyect works perfectly and I can make changes that will appear in the website. However,I am using Visual Studio Code to run and debug my proyect but I am completely unable to make it run because when I run and debug a class that uses some yii classes I always get the same Error and I tried everything with composer but It stills does not work. I will be showing what the error look like:

That is my User.php basic

I have already installed PHP Intelephense to run my code and at this point I think something with Visual Studio might be happening

This error also happens in any class using Yii ones:

SiteController.php**

I tried unistalling and installing composer, I downloaded an basic template from Yii official website and keeps happening. I clear cache, installed php and adding to the path, added mysql to the path too.

本文标签: Fatal error Uncaught Error Class quotpathquot not found in quotpathquot on line 15 yii2Stack Overflow