请问织梦自定义图片字段报错 Call to a member function GetInnerText() 解决方法
-
修改
customfields.func.php
文件- 找到:
$fvalue = trim($ntag->GetInnerText());
- 修改为:
$fvalue = ($ntag == "") ? trim($ntag) : trim($ntag->GetInnerText());
- 找到:
-
修改
img.lib.php
文件- 找到:
$innerTmp = $arcTag->GetInnerText();
- 修改为:
$innerTmp = ($arcTag == "") ? trim($arcTag) : trim($arcTag->GetInnerText());
- 找到:
更新时间:2025-04-11 01:28:02
转载请注明原文链接:https://www.muzicopy.com/suibi/7928.html