织梦更新列表页提示Fatal error: Call to a member function GetInnerText() on a non-object in ...
2014-05-21 11:30
776 查看
原文地址:http://hi.baidu.com/lijunya_108/item/9710c4f94902a51fe2e3bdde 感谢原作者;
今天在做一个站时用到了自定义模型,遇到了些问题,在更新列表页时提示:
Fatal error: Call to a member function GetInnerText() on a non-object in E:\www\include\taglib\channel\img.lib.php on line 51
这个错误提示会在更新自定义模型栏目列表的时候出现,修复此问题方法很简单。
编辑打开 /inculde/taglib/channel/img.lib.php
找到51行所在的代码,将其替换为
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
保存即可。
然后列表页就正常了。
今天在做一个站时用到了自定义模型,遇到了些问题,在更新列表页时提示:
Fatal error: Call to a member function GetInnerText() on a non-object in E:\www\include\taglib\channel\img.lib.php on line 51
这个错误提示会在更新自定义模型栏目列表的时候出现,修复此问题方法很简单。
编辑打开 /inculde/taglib/channel/img.lib.php
找到51行所在的代码,将其替换为
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
保存即可。
然后列表页就正常了。
相关文章推荐
- Web_PHP_织梦更新列表页提示Fatal error: Call to a member function GetInnerText() on a non-object in ...
- dedecms中自定义模型遇到错误Fatal error: Call to a member function GetInnerText() on a non-object
- Call to a member function GetInnerText() on a non-object dede 添加自定义字段后 文章列表页生成失败 list
- Fatal error: Call to a member function bind_param() on a non-object in
- DEDE发生Fatal error: Call to a member function read() on a non-object in 错误解决方法
- Fatal error: Call to a member function get() on a non-object
- Ecmall 遇到错误Fatal error: Call to a member function get() on a non-object
- Wordpress PHP Fatal error: Call to a member function get() on a non-object 解决方法
- 常见的magent问题系列二--Fatal error: Call to a member function toHtml() on a non-object in ../../Layout.php
- Magento Fatal Error: Call to member function getSku() on a non-object
- 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 错误解决方法
- Fatal error: Call to a member function read() on a non-object in
- magento后台 Fatal error: Call to a member function getId() on a non-object in错误
- Fatal error: Call to a member function fetch_array() on a non-object in E:\wamp\www\shop\index.php
- magento后台 Fatal error: Call to a member function getId() on a non-object in错误
- Fatal error: Call to a member function read() on a non-object in D:\wamp\www\include\dialog\select_i
- 织梦更新列表页提示Fatal error: Call to a member function GetInnerText() on a non-object 解决方法
- magento 第四章 出现 "Fatal error:Call to a member function load() on a non-object in \Abstract.php" 问题
- Fatal error: Call to a member function setAttribute() on a non-object in Magento