ServerTune

Browse by category

Search    |    Advanced search

Fatal error: Call to a member function toHtml() on a non-object

If you get the following error message

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

The line in page.xml that seems to cause the problem is

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

Magento now uses an updated call:

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

This should be one of the initial changes that can get your site live and updated when upgrading to Magento 1.4.1.0

 
 
Add comment
 
Views: 1014
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS