Magento Forum - UK Magento Forum (Unofficial)

An unofficial but dedicated Magento Forum for Magento Users, Designers and Developers

Upgrade magento theme from to

A forum for web designers working with the Magento system.

Upgrade magento theme from to

Postby mage_search » Mon Jul 19, 2010 4:59 am

Finally, Magento version has been released, and much improved since 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 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:
Expert Magento service
Posts: 2
Joined: Mon Jul 19, 2010 4:41 am

Return to Magento Designers