Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Update Merge.php #265
There is an issue with Module layout xml files being blank and the _loadFileLayoutUpdatesXML() function erroring out on line 642.
How to reproduce -
This could be an issue when uploads of modules fails eg partial FTP uploads and so on.
Fatal error: Call to a member function innerXml() on a non-object in /home/mage2craig/public_html/app/code/core/Mage/Core/Model/Layout/Merge.php on line 643
Proposed Fix -
$fileXml = simplexml_load_string($fileStr, $this->_elementClass);