magento theme Upgraded from 1.4.0.1 to 1.4.1.0


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.

 

Source : http://www.mage-world.com/news/upgrade-magento-theme-from-1-4-0-1-to-1-4-1-0.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s