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
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
look in app/design/frontend/default/jm_purity/layout/page.xml
Hi,
Thanks for your reply.
I have changed the code as suggested above but still the same error message.
Kind Regards
Donna
Hi,
This is now working, I hadn’t cleared the cache.
Many Many Thanks.
Regards
Donna
No problem ๐ but I’m still waiting for the joomlart update
This question is now closed