我有一个带有WooCommerce和FedEx插件的Wordpress网站,一切正常,除了我收到以下错误的大订单:
Fatal error: Uncaught SoapFault exception: [HTTP] Request Entity Too
Large in /html/wp-content/plugins/synmedia-woocommerce-shipping-
fedex/classes/class-syn-shipping-fedex.php:588
Stack trace: #0
[internal function]: SoapClient->__doRequest('<?xml version="...',
'https://wsbeta....', 'http://fedex.co...', 1, 0) #1 /html/wp-content
/plugins/synmedia-woocommerce-shipping-fedex/classes/class-
syn-shipping-fedex.php(588):
SoapClient->__call('getRates', Array) #2 /html/wp-content/plugins
/synmedia-woocommerce-shipping-fedex/classes/class-syn-shipping-
fedex.php(588): SoapClient->getRates(Array) #3 /html/wp-content/plugins
/synmedia-woocommerce-shipping-fedex/syn-shipping/class-syn-shipping-
method.php(101): SYN_Shipping_Fedex->get_shipping_request(Array) #4
/html/wp-conten in /html/wp-content/plugins/synmedia-woocommerce-
shipping-fedex/classes/class-syn-shipping-fedex.php on line 588
我在PHP.ini文件中更改了以下值:
仍然没有工作,我会欣赏更多的想法,因为我无法弄清楚为什么会出错。
答案 0 :(得分:1)
检查phpinfo以查看服务器端设置的限制。如果您使用共享提供程序,则极有可能限制POST的大小。我注意到woo插件也存在内存限制不足的问题。