站内搜索:
首页 >> 前端 >> 内容
自定义模型中,有时候新增的字段会报以下的错误:

时间:2017/9/7 9:30:00

Fatal error:Call to a member function GetInnerText() on a non-object inD:\phpStudy\WWW\kaisiwo\include\customfields.func.php in line 539.

解决办法:

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

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

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

就可以了

  • 上一篇:使footer固定在浏览器底部的布局
  • 下一篇:HTML文本框只读不能修改其中的内容的解决办法
  • 返回顶部