织梦错误:Call to a member function GetInnerText() on a non-objec
出现了Fatal error: Call to a member function GetInnerText() on a non-object in /htdocs/include/customfields.func.php on line 539错误
网上有很多解决方案都不对,现dedestudy.cn/' target='_blank'>织梦二次开发网给出如下解决方案
将include/customfields.func.php 文件的539行
1
$fvalue = trim($ntag->GetInnerText());
替换为
1
$fvalue = ($ntag==
""
) ? trim($ntag) : trim($ntag->GetInnerText());
保存即可