[Solved] dedecms dream weaving custom field error Call to a member function GetInnerText()

Dream weaving program When you add a custom picture field, the front desk will open the current column list and it will appear
Fatal error: Call to a member function GetInnerText() on string in /include/taglib/channel/img.lib.php on line 51
Appears in the background
Fatal error: Call to a member function GetInnerText() on a non-object in /include/customfields.func.php on line 539
Solution
Open /include/customfields.func.php and search

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

change to

$fvalue = ($ntag=="") ? trim($ntag) : trim($ntag->GetInnerText());

Continue to open /include/taglib/channel/img.lib.php and search

$innerTmp = $arcTag->GetInnerText();

change to

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