织梦dede自定义图片字段报错Call to a member func织梦
导读:织梦技巧织梦技巧织梦dede程序当你添加了自定义图片字段时,前台打开当前栏目列表就会出现 Fatal error: Call to a member function GetI网站建设教程高端网站建设。
织梦dede程序当你添加了自定义图片字段时,前台打开当前栏目列表就会出现 Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51 dede后台出现 Fatal error: Call to a member function GetInnerText() on a non-object in /include/customfields. […]
织梦dede程序当你添加了自定义图片字段时,前台打开当前栏目列表就会出现
Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51
dede后台出现
Fatal error: Call to a m营销型网站建设ember function GetInnerText() on a non-object in /include/customfields.func.php on lin企业网站建设e 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($seo网站关键词优化arcTag->GetInnerText());相关网站建设教程高端网站建设。声明: 本文由我的SEOUC技术文章主页发布于:2023-05-25 ,文章织梦dede自定义图片字段报错Call to a member func织梦主要讲述自定义,报错,织梦网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_8100.html