織夢自定義圖片字段報錯Call to a member function GetInnerText()
摘要:
織夢程序當你添加了自定義圖片字段時,前臺打開當前欄目列表就會出現 Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51 后臺出現 Fatal error: Call to a member function GetInnerText
織夢程序當你添加了自定義圖片字段時,前臺打開當前欄目列表就會出現
Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51
后臺出現
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());
繼續打開 /include/taglib/channel/img.lib.php 搜索
$innerTmp = $arcTag->GetInnerText();
改成
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
本文鏈接:http://www.sunflowerstaging.com//dedecmsjiaocheng/chengxukaifa/182917.html
版權聲明:本站資源均來自互聯網或會員發布,如果侵犯了您的權益請與我們聯系,我們將在24小時內刪除!謝謝!
上一篇:織夢自定義表單ajax提交表單
標簽云