A lot of errors with SimpleXMLElement::__construct() referring to app/code/local/Mgt/Base/Model/Feed.php on line 77 logged in Magento 1.x or OpenMage system.log file:
ERR (3): Warning: SimpleXMLElement::__construct(): ^ in app/code/local/Mgt/Base/Model/Feed.php on line 77 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html in app/code/local/Mgt/Base/Model/Feed.php on line 77 ERR (3): Warning: SimpleXMLElement::__construct(): </html> in app/code/local/Mgt/Base/Model/Feed.php on line 77
Cause
Mgt_Base extension is set to fetch news feed from developer’s server and show it as notification to logged in admin user. The server is no longer returning valid feed, so XML parser can not parse it and generating the error.Solution
Simply disabling Mgt_Base extension will get this solved:--- app/etc/modules/Mgt_Base.xml +++ app/etc/modules/Mgt_Base.xml @@ -2,7 +2,7 @@ <config> <modules> <Mgt_Base> - <active>true</active> + <active>false</active> <codePool>local</codePool> </Mgt_Base> </modules>
Posted in: Extensions