How to solve error when opening application in Yii2(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打开应用程序出错的解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Yii2打开应用程序出错的解决方法


- 从 PHP 中的输入表单获取日期 2022-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- SoapClient 设置自定义 HTTP Header 2021-01-01
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- Laravel 仓库 2022-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01
- 带有通配符的 Laravel 验证器 2021-01-01