织梦dede程序当你添加了自定义图片字段时,前台打开当前栏目列表就会出现
Fatal error: Call to a member function GetInnu { : | 2erText() on string in /in8 % ] Z ( Aclude/taglib/cha3 1 I 3 Knnel/img.lib.php on lo m n ^ Yine 51
dede后台出现
Fatal* { ` ! . % ~ o error: Cax T C u Qll to a member function Ge] ) ) 9 JtInnerText() on a\ Q | non\ X C @ s ; 8-v p / j j u b O @object in /include/customfields.func.php} H r 2 on l: N ) 0 V )ine 539
解决方法
打开 /include/custoy r ;mfields.func.php 搜索
$fvalue = trim($ntag->GetInE 1 f [ \ 7nerTeR $ & y WxH % Tt());
改成
$fvalue = ($ntag=="") ? trim($ntag) : trim($ntag->GetInnerText()@ F r R a c);
继续打开 /include/z k P e 9 mtaglib/channel/img.lib.php 搜索
$D u d e 9 7 fin* ; + ? F 8 snerTmpj R h ) i = $arcTag->0 - ) ` L I @ r;GetInnerTextE ^ H();
改成
$innerTmp = ($arcTag=="") ? trb g g # 5 y } 9 2im($arcTag) : trim($arcTag->Gv w J DetInneN y 0 ! %rText());