Update to 1.4.1.0

Hello,

when you update magento 1.4.0.1 to 1.4.1.0, you will get an error
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 that :
in page.xml under app/design/frontend/base/default/layout (or your custome page.xml)

change the line
<block type="core/profiler" output="toHtml"/>

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

5 answers

Profile photo of Chris Jones 0.00 $tone June 24, 2010
Public

Hello,

I have the error you have mention above but when I went to change the code you suggested my page.xml already contained the code:
<block type="core/profiler" output="toHtml" name="core_profiler"/>

I changed it to:
<block type="core/profiler" output="toHtml"/>

Thinking you may have meant this way round instead but the same message appears.

Did you manage to fix yours??

Kind Regards
Donna

#1

This question is now closed

Written By

Comments