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() on string in_第1张图片 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());

问题解决!

 

你可能感兴趣的:(DEDEcms教程,DEDECMS,DEDE,dede报错,织梦报错,dedecms发布的文章无法改)