織夢由于兼容性不夠嚴謹,在PHP7.0的狀態(tài)下運行,會出現(xiàn)欄目刪除后仍然存在的現(xiàn)象,經(jīng)過反饋給織夢官方(天涯)后,修復(fù)后可用。教程如下:
需要修改系統(tǒng)文件,打開:/include/typeunit.class.admin.php
搜索 function DelType($id, $isDelFile) 找到如下代碼
function DelType($id, $isDelFile) { $this->idCounter = 0; $this->idArray = " "; $this->GetSunTypes($id); |
修改成:
function DelType($id, $isDelFile) { $this->idCounter = 0; $this->idArray = array(); $this->GetSunTypes($id); |
修改后如圖所示: