dedecms自定义模型提示:Call to a member function GetInnerText()的解决方法
2015-01-08 11:54
771 查看
本文实例讲述了dedecms自定义模型提示:Call to a member function GetInnerText()的解决方法。分享给大家供大家参考。具体分析如下:
一、问题:
今天在做一个站时用到了自定义模型,遇到了些问题,在更新列表页时提示:
Fatal error: Call to a member function GetInnerText() on a non-object in E:wwwincludetaglibchannelimg.lib.php on line 51
二、解决方法:
这个错误会在更新自定义模型栏目列表的时候出现,修复此问题方法很简单,编辑打开 includetaglibchannelimg.lib.php,查找51行左右:
或
然后就能正常更新列表页了,问题上解决.
希望本文所述对大家的dedecms建站有所帮助。
一、问题:
今天在做一个站时用到了自定义模型,遇到了些问题,在更新列表页时提示:
Fatal error: Call to a member function GetInnerText() on a non-object in E:wwwincludetaglibchannelimg.lib.php on line 51
二、解决方法:
这个错误会在更新自定义模型栏目列表的时候出现,修复此问题方法很简单,编辑打开 includetaglibchannelimg.lib.php,查找51行左右:
$innerTmp = $arcTag->GetInnerText();将其替换为:
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
或
if($arcTag==""){ $innerTmp = trim($arcTag); } else{ $innerTmp = trim($arcTag->GetInnerText()); }
然后就能正常更新列表页了,问题上解决.
希望本文所述对大家的dedecms建站有所帮助。
相关文章推荐
- DedeCMS提示Call to a member function GetInnerText()的解决办
- DedeCMS提示"Call to a member function GetInnerText()"解决办法
- dedecms中自定义模型遇到错误Fatal error: Call to a member function GetInnerText() on a non-object
- Web_PHP_织梦更新列表页提示Fatal error: Call to a member function GetInnerText() on a non-object in ...
- Call to a member function GetInnerText() on a non-object dede 添加自定义字段后 文章列表页生成失败 list
- 织梦更新列表页提示Fatal error: Call to a member function GetInnerText() on a non-object in ...
- 织梦Fatal error: Call to a member function GetInnerText()
- dedecms后台登录提示Call to undefined function getcururl()解决办法
- Ecmail Call to a member function get_users_count() on a non-object解决方法
- Wordpress PHP Fatal error: Call to a member function get() on a non-object 解决方法
- Fatal error: Call to a member function read() on a non-object in 错误解决方法
- DEDECMS教程:织梦出现FATAL ERROR: CALL TO UNDEFINED FUNCTION PARCV()的解决方法
- windows wamp运行提示 Fatal error: Call to undefined function curl_init的解决方法
- DEDE发生Fatal error: Call to a member function read() on a non-object in 错误解决方法
- Fatal error: Call to a member function read() on a non-object in 错误解决方法
- wordpress 安装(亲身经历)& 出现“Fatal error: Call to undefined function get_magic_quotes_gpc()”之后的解决方法
- 解决 ECMall 错误 Call to a member function get() on a non-object in frontend.base.php
- 解决php类中提示Call to undefined function的问题
- 通过findViewById()方法从layout中获取view并进行相应的转换时提示:"Cannot cast from View to AutoCompleteTextView"的解决办法!
- php “Call to undefined function: mb_substr()”的解决方法