織夢程序當(dāng)你添加了自定義圖片字段時(shí),前臺打開當(dāng)前欄目列表就會出現(xiàn)
Fatal error: Call to a member function GetInnerText() on string in include aglibchannelimg.lib.php on line 51
后臺出現(xiàn)
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());
繼續(xù)打開 /include/taglib/channel/img.lib.php 搜索
$innerTmp = $arcTag->GetInnerText();
改成
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權(quán)益請與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: 織夢自定義圖片字段報(bào)錯Call to a member function GetInnerText()