Yii2打开应用程序出错的解决方法 [英] How to solve error when opening application in Yii2

查看:21
本文介绍了Yii2打开应用程序出错的解决方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了以下问题,那就是在打开我的 Yii2 应用程序时,浏览器中的费用如下 http://localhost/basic/web/并且我收到以下错误:致命错误:无法使用'Object' 作为类名,因为它在 C:xampphtdocsasicvendoryiisoftyii2aseObject.php 中保留在第 77 行

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:xampphtdocsasicvendoryiisoftyii2aseObject.php on line 77

推荐答案

运行composer update"命令或 composer.phar 更新您的 composer.json 所在的位置

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

这篇关于Yii2打开应用程序出错的解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆