首页 » 开源CMS » 织梦DedeCms » 正文

Fatal error:Call to a member function GetInnerText() on a non-object in

Fatal error:Call to a member function GetInnerText() on a non-object in E:\wamp\www\include\customfields.func.php  in line 539.

解决办法:

打开\include\customfields.func.php文件,找到539行:

把$fvalue = trim($ntag->GetInnerText());

替换成:$fvalue = ($ntag==””) ? trim($ntag) :trim($ntag->GetInnerText());

 就可以了

发表评论