错误描述:
在用DedeCMS做项目时给后台添加了一个内容模型,过程一切顺利,但在预览列表页面时却提示:
Fatal error: Call to a member function GetInnerText() on a non-object in /Web/xxxx.xxx/include/taglib/channel/img.lib.php on line 42
以下为解决办法:
解决办法:
修改文件:
/include/taglib/channel/img.lib.php
查找:
$innerTmp = $arcTag->GetInnerText();
修改为:
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
<完>