Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/246.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento致命错误:对非对象调用成员函数getRequestedRouteName()_Php_Magento - Fatal编程技术网

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

Php Magento致命错误:对非对象调用成员函数getRequestedRouteName(),php,magento,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 cont

我已经安装了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:没有核心文件被编辑过


有什么建议吗?

您最近安装过补丁吗?您最近安装过补丁吗?