Upgrade magento theme from 1.4.0.1 to 1.4.1.0

16 Jul 2010
Finally, Magento version 1.4.1.0 has been released, and much improved since 1.4.0.1. Here is the tip for fixing common theme issue while upgrading.

Upgrading is not so easy, and there are still bugs which could mean some stick with older installations.
Currently, there is one issue when we update Magento theme 1.4.0.1 to new Magento version release.

That is fatal error: Call to a member function toHtml() on a non-object in

/home/******/public_html/store/app/code/core/Mage/Core/Model/Layout.php on line 529

 

To solve this problem, please follow these steps:

1. Open the file: /app/design/frontend/default/YOURTEMPLATE/layout/page.xml

 

2. Find this line of code :

<block type="core/profiler" output="toHtml"></block>

 

3. Then change it into :

<block type="core/profiler" output="toHtml" name="core_profiler"></block>


Finally, log in to your admin section, and refresh all caches.
And happy upgrade to all you trying to stay up to date.

If you have any further problem please email us at: [email protected]