( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Call to a member function toHtml() on a non-object in C:\wamp\www\app\code\core\Mage\Core\Model\Layout.php on line 555
Run Code Online (Sandbox Code Playgroud)
已安装Magento 1.7和WAMP 2.2以及自定义模板.Magento管理员工作完美,但前端出现上述错误.
magento 1.7安装中的Page.xml和自定义模板根本没有以下代码,因此,没有尝试以下修复:
<block type="core/profiler" output="toHtml"/>
Run Code Online (Sandbox Code Playgroud)
会成为:
<block type="core/profiler" output="toHtml" name="core_profiler"/>
Run Code Online (Sandbox Code Playgroud) magento ×1