RSS

Magento Blank Theme Installation Problem

21 Dec

After installing blank theme in magento,an error will appear like this,

Fatal error:Call to a member function toHtml() on a non-object in /app/code/core/Mage/Core/Model/Layout.php on line 529

To fix this error,go to /app/design/frontend/default/blank/layout/ and open page.xml file.

Find the code around line no 89, which looks like this,

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

Change it to

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

Posted by on December 21, 2010 in Magento, PHP

 

Tags: , , , , , , , ,

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

 
%d bloggers like this: