Magento致命错误:在非对象上调用成员函数getRequestedRouteName()

时间:2016-01-17 16:58:46

标签: php magento

我已经安装了Magento CE 1.9.1,并且在发送订单后我在“保存订单”页面上出错了。管理员的订单似乎很好,但是没有发送电子邮件。

  

致命错误:在第226行的//public_html/app/code/core/Mage/Core/Controller/Varien/Action.php中的非对象上调用成员函数getRequestedRouteName()

action.php的:

/**
 * Retrieve full bane of current action current controller and
 * current module
 *
 * @param   string $delimiter
 * @return  string
 */
public function getFullActionName($delimiter='_')
{
    return $this->getRequest()->getRequestedRouteName().$delimiter.
        $this->getRequest()->getRequestedControllerName().$delimiter.
        $this->getRequest()->getRequestedActionName();
}

PS:没有编辑核心文件!

有什么建议吗?

0 个答案:

没有答案