您的当前位置:SEO培训教程学习网 > 织梦建站教程 > 织梦Fatal error: \include\customfields.func.php on line 539错误

织梦Fatal error: \include\customfields.func.php on line 539错误

分类: 织梦建站教程 发布时间: 2020-04-12 15:08

  织梦Fatal error: Call to a member function GetInnerText() \include\customfields.func.php on line 539错误

  织梦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 错误

  织梦报错

  解决方法很简单,首先打开织梦的根目录下的“include”-“customfields.func.php”文件,在第539行中把以下代码:

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

  替换成以下代码即可:

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