致命错误:在第 135 行的 /home/content/74/10047874/html/shop/app/code/core/Mage/Catalog/Block/Layer/View.php 中的非对象上调用成员函数 setLayer()
$this->setChild($attribute->getAttributeCode() . '_filter',
$this->getLayout()->createBlock($filterBlockName)
->setLayer($this->getLayer())
->setAttributeModel($attribute)
->init());
请帮我解决这个问题