dedecmsV5.7自定义图片字段调用方法

2022-08-18 447

正常情况下,在列表页(也就是 {dede:list}标签)调用附加的图片类型字段则会出现Fatal error: Call to a member function GetInnerText() on a non-object in /include/taglib/channel/img.lib.php”此类错误,解决方案如下:

打开/include/taglib/channel/img.lib.php文件并找到

$innerTmp = $arcTag->GetInnerText();