我的知识记录

请问织梦自定义字段报错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());

       

标签:织梦currentstyle-织梦自适应模板怎么弄-织梦自适应代码怎么做-织梦怎么改logo-织梦自动更新插件-

更新时间:2025-04-10 23:29:20

上一篇:请问pbootcms百度编辑器UEDITOR给超链接默认添加rel=“nofollow”标签

下一篇:请问zblogphp常见问题以及解决办法