织梦cms栏目无法删除主要原因是PHP7.0的状态下运行,会出现栏目删除后仍然存在的现象,织梦官方修复后可用教程如下:
打开:/include/typeunit.class.admin.php
搜索
function DelType($id, $isDelFile)
找到如下代码
function DelType($id, $isDelFile)
{
$this->idCounter = 0;
$this->idArray = " ";
$this->GetSunTypes($id);
改成
unction DelType($id, $isDelFile)
{
$this->idCounter = 0;
$this->idArray = array();
$this->GetSunTypes($id);