首页 > 教程 > dede后台出现Call to a member function GetInnerText() on a non-ob

dede后台出现Call to a member function GetInnerText() on a non-ob

[导读]:今天 织梦 二次开发网给客户做自定义模型是,打开后台 Fatal error: Call to a member function GetInnerText() on a non-object in E:\www\include\taglib\channel\img.lib.php on line 51 这个错误会在更新自定义...

今天织梦二次开发网给客户做自定义模型是,打开后台

Fatal error: Call to a member function GetInnerText() on a non-object in E:\www\include\taglib\channel\img.lib.php on line 51

这个错误会在更新自定义模型栏目列表的时候出现,修复此问题方法很简单。

编辑打开 \include\taglib\channel\img.lib.php

查找51行左右:


$innerTmp = $arcTag->GetInnerText();

改成

$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());

保存即可

本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/jc/115357.html