Solving Magento Error “Call to a member function toHtml()”
For everyone stuck in the same solution:
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"/>Looks like there were some changes in the way Magento handles this call!
This solution work so far for 1.4.0.1 to 1.4.1.0……

Welcome to my blog site. My name is Anunay Dahal. I'm currently working