How to resolve Call to a member function toHtml() error in Magento?


To resolve the problem, kindly open /app/design/frontend/default/template_number/layout/page.xml

Change

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

to

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


You can view this article online at:
http://docs.algozone.com/article/resolving-tohtml-error