Description
Problem:
# php update/common/scripts/3.9/correctxmltext.php --global
Fatal error: Call to a member function on a non-object in /var/www/flaubris.no/update/common/scripts/3.9/correctxmltext.php on line 278
Solution: replace
$doc =& $xml->domTree( $text, array( "TrimWhiteSpace" => false ) );
with
$doc =& $xml->domTree( $text, array( "TrimWhiteSpace" => false, "SetParentNode" => true ) );
Forum topic:
http://ez.no/community/forum/install_configuration/error_when_upgrading_from_3_8_6_to_3_9_0