优米

加入vip [签到送金币]
织梦无忧,用心做好源码!7年品牌,值得信赖! 织梦无忧,个个精品,宁缺毋滥!每月购买不少于3000元精品源码免费分享,早开通,早享受!终身会员临时大促,只需要128元!新会员开通,直接进入会员中心--购买会员--直接开通即可。

织梦自定义图片字段报错Call to a member function GetInnerText()

摘要: 织梦程序当你添加了自定义图片字段时,前台打开当前栏目列表就会出现 Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51 后台出现 Fatal error: Call to a member function GetInnerText

织梦程序当你添加了自定义图片字段时,前台打开当前栏目列表就会出现

Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51

后台出现

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

解决方法

打开 /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());

本文链接:http://dadoomp.com//dedecmsjiaocheng/chengxukaifa/182917.html

版权声明:本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!

公众号二维码

微信公众号

//自动推送
{优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}| {优米直播平台}| {yy优米直播回放}| {优米美食直播}| {优米}| {优米直播}| {优米赛程}| {优米}| {优米直播}| {优米赛程}| {优米直播篮球}| {优米直播足球}| {优米}| {优米直播app}|