DEDECMS新增字段后,发布的文章无法修改编辑不显示报错:Fatal error: Call to a member function GetInnerText() on string in
DEDECMS新增字段后,发布的文章无法修改报错Fatal error: Call to a member function GetInnerText() on string in XXXXX\include\customfields.func.php on line 539。dedecms发布的文章无法编辑、无法修改。不显示。问题解决办法。
DEDECMS报错 Fatal error: Call to a member function GetInnerText()
解决办法:
打开\include\customfields.func.php文件,找到539行:
把
$fvalue = trim($ntag->GetInnerText());
替换成:
$fvalue = ($ntag=="") ? trim($ntag) :trim($ntag->GetInnerText());
问题解决!