John Doe
John Doe

Reputation: 71

How to solve error when opening application in Yii2

I am presenting the following problem and that is when opening my Yii2 application, the charge in my browser as follows http://localhost/basic/web/ and I get the following error: Fatal error: Cannot use 'Object' as class name as it is reserved in C:\xampp\htdocs\basic\vendor\yiisoft\yii2\base\Object.php on line 77

Error when opening application

Upvotes: 3

Views: 9138

Answers (1)

Abhishek kandari
Abhishek kandari

Reputation: 196

Run the "composer update" command or composer.phar update where your composer.json resides

Upvotes: 5

Related Questions