织梦Fatal error: Call to a member function GetInnerText()

Posted 叫我小龙哥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了织梦Fatal error: Call to a member function GetInnerText()相关的知识,希望对你有一定的参考价值。

问题:织梦修改或者添加了自定义表单后在后台修改文章的时候出现如下错误:Fatal error: Call to a member function GetInnerText() on a non-object in \\include\\customfields.func.php on line 539

 

解决代码:

找到这段代码

$fvalue = trim($ntag->GetInnerText());

换成

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

 

以上是关于织梦Fatal error: Call to a member function GetInnerText()的主要内容,如果未能解决你的问题,请参考以下文章

Fatal error: Call to a member function assign() on a non-object

Fatal error: Call to a member function on a non-object 的2种解决办法

Fatal error: Call to undefined function oci_connect()

PHP Fatal error: Call to a member function query() on a non-object in F 代码如下

Fatal error: Uncaught Error: Call to undefined function gzinflate()

Fatal error: Call to undefined function fnmatch() 解决