在织梦自定义模型后,可能会报下面这个错误,Fatal error: Call to a member function GetInnerText() on a non-object in D:\WWW2\ebh\include\customfields.func.php on line 539
解决办法如下:
打开\include\customfields.func.php文件,找到539行:
把$fvalue = trim($ntag->GetInnerText());
替换成:$fvalue = ($ntag=="") ? trim($ntag) :trim($ntag->GetInnerText());
就可以了
关键词:织梦,自定义,模型,中,新增,的,字段,会,报错, 标签:
更多资讯请收藏关注
网站模板(www.1yc.cn)