请问织梦自定义字段报错Call to a member function GetInnerText()
- 问题:自定义字段报错
Call to a member function GetInnerText() on string
。 - 解决办法:
- 打开
/include/customfields.func.php
文件,将$fvalue = trim($ntag->GetInnerText());
改为:$fvalue = ($ntag == "") ? trim($ntag) : trim($ntag->GetInnerText());
- 打开
/include/taglib/channel/img.lib.php
文件,将$innerTmp = $arcTag->GetInnerText();
改为:$innerTmp = ($arcTag == "") ? trim($arcTag) : trim($arcTag->GetInnerText());
- 打开
更新时间:2025-04-10 23:29:20
上一篇:请问pbootcms百度编辑器UEDITOR给超链接默认添加rel=“nofollow”标签
转载请注明原文链接:https://www.muzicopy.com/suibi/2179.html