標題: 經常提示 Constant IN_DISCUZ already defined in 是啥原因 [打印本頁] 作者: slickly 時間: 2022-7-19 14:13 標題: 經常提示 Constant IN_DISCUZ already defined in 是啥原因 好好的點擊其他頁面,有時候就報這個,一天有個四五次了:
刷新下就又好了
Notice: Constant IN_DISCUZ already defined in /www/wwwroot/xxx/source/class/class_core.php on line 12
Notice: Constant DISCUZ_ROOT already defined in /www/wwwroot/xxx/source/class/class_core.php on line 13
Notice: Constant DISCUZ_CORE_DEBUG already defined in /www/wwwroot/xxx/source/class/class_core.php on line 14
Notice: Constant DISCUZ_TABLE_EXTENDABLE already defined in /www/wwwroot/xxx/source/class/class_core.php on line 15
Fatal error: Cannot declare class core, because the name is already in use in /www/wwwroot/xxx/source/class/class_core.php on line 28 作者: dashen 時間: 2022-7-19 16:51
說的是常量 IN_DISCUZ 已經定義過了,你代碼可能重復初始化dz了作者: slickly 時間: 2022-7-20 09:07