在織夢自定義模型后,可能會報下面這個錯誤,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());
就可以了
新聞熱點
疑難解答