FastAdmin 升级后出现 is already in use
in is 出现 升级 use already Fastadmin
2023-09-14 09:10:31 时间
FastAdmin 升级后出现 is already in use
升级 FastAdmin 改进很多,但全新安装出现以下错误
Cannot use app\common\library\Menu as Menu because the name is already in use in C:\www\fastadmintest\application\admin\command\Addon.php on line 5
和 Karson 讨论后这个是一个 bug,PHP 5.x 的一个 bug。
之前 有一次 modelx 的问题也是这个 bug。
是因为本路么有一个 Menu.php 的文件,冲突了。
Karson 给了两种解决方案:
- 升级到 php7。
- 不使用use引入或起个别名都是可以的。
[2017-09-05 18:19 UTC] nikic@php.net
This issue has been fixed in PHP 7 only
相关链接:
相关文章
- SSM框架报错分析(一)——There is no getter for property named 'XXX' in 'class java.lang.String'
- Swap Nodes in Pairs
- [Typescript] Make your optional fields required in TypeScript
- [Vue + TS] Write a Vue Component as a Class in TypeScript
- [TypeScript] Creating a Class in TypeScript
- [Javascript] JavaScript Array Methods in Depth - push
- [ReactJS] DOM Event Listeners in a React Component
- LVM XFS增加硬盘分区容量(resize2fs: Bad magic number in super-block while)
- [Typescript] Use Generics in a Reduce Function
- [Kotlin] Multi ways to write constuctor in Kotlin
- [ES2019] Represent Collision-free String Constants as Symbols in JavaScript
- [Vuex] Use Namespaces in Vuex Stores using TypeScript
- why we need createBindingContext in SAP UI5
- how is service url defined in configuration.js consumed
- how is SAP UI5 configuration.js loaded in the runtime
- How is syntax error in Vue detected - Vue的语法错误检查机制介绍
- how is value displayed in BSP UI from model node data binding
- created note is not displayed in web client ui
- Subqueries are not allowed in this context. Only scalar expressions are allowed.
- SAP Fiori Elements - How complex binding defined in XML view is parsed
- TimeInterval value and value2 determination in SalesPipeline
- gcexcel-java-5.2.5 Crack update in 2022-11-28
- 【异常】MyBatis报错,提示There is no getter for property named ‘数据表中的字段名‘ in ‘实体类‘!
- 已解决WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python
- 【编程实践】在 Java 中将 PDF 转换为 PowerPoint 演示文稿 / Convert PDF to PowerPoint Presentation in Java
- What are the types of sampling in hive ?
- [BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
- 解决selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in P
- What‘s New in SpreadJS 16.0.6
- JS对象操作(in、instanceof、delete)运算符