Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.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
Magento错误-在JS.php中对非对象调用成员函数options()_Magento_Nginx_Timeout - Fatal编程技术网

Magento错误-在JS.php中对非对象调用成员函数options()

Magento错误-在JS.php中对非对象调用成员函数options(),magento,nginx,timeout,Magento,Nginx,Timeout,我在PHP错误日志中看到此错误: 2012/07/02 15:40:34 [error] 9963#0: *140 FastCGI sent in stderr: "PHP Fatal error: Call to a member function options() on a non-object in "/htdocs/app/code/local/Mana/Core/Helper/Js.php on line 35" while reading response header from

我在PHP错误日志中看到此错误:

2012/07/02 15:40:34 [error] 9963#0: *140 FastCGI sent in stderr: "PHP Fatal error:  Call to a member function options() on a non-object in "/htdocs/app/code/local/Mana/Core/Helper/Js.php on line 35" while reading response header from upstream, client: xx.xxx.x.xxx, server: xxx.xxx.xxx.x, request: "GET /category/subcategory?___SID=U HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fcgi-xxxxxxx.com.sock:", host: "xxx.xxx.xxx.x", referrer: "http://xxx.xxx.xxx.x/category/subcategory"
我从未编辑过JS.php文件,所以不明白为什么会发生这种情况。将项目添加到购物车时发生错误。看起来一切都正常,但页面加载需要60秒(太长了),我猜这就是脚本超时时间。一旦商品进入购物车,站点上的每个页面都需要60秒才能加载,从而使整个站点无法使用


有人有什么建议吗?我非常感谢您的帮助,因为该网站无法像这样使用,而且我在任何地方都找不到原因。

您修复了吗?与我们分享。