Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/457.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
WooCommerce checkout';内部服务器错误';加载失败?wc ajax=签出_Woocommerce - Fatal编程技术网

WooCommerce checkout';内部服务器错误';加载失败?wc ajax=签出

WooCommerce checkout';内部服务器错误';加载失败?wc ajax=签出,woocommerce,Woocommerce,我们的WooCommerce网站在结帐时出错。当我更新到最新的WC版本时,这个问题没有得到解决。在它工作和错误之间唯一的变化是WordPress的版本。。。当您提交付款信息(信用卡,使用Authorize.net)并收到消息“Internal Server error”(内部服务器错误)后,结帐时出错。订单确实出现在WC订单部分,创建了客户帐户,也提交了付款(但标记为挂起)。控制台显示?wc ajax=checkout的500错误 在调试中,我得到的错误有: Notice: The called

我们的WooCommerce网站在结帐时出错。当我更新到最新的WC版本时,这个问题没有得到解决。在它工作和错误之间唯一的变化是WordPress的版本。。。当您提交付款信息(信用卡,使用Authorize.net)并收到消息“Internal Server error”(内部服务器错误)后,结帐时出错。订单确实出现在WC订单部分,创建了客户帐户,也提交了付款(但标记为挂起)。控制台显示?wc ajax=checkout的500错误

在调试中,我得到的错误有:

Notice: The called constructor method for WP_Widget in LayerSlider_Widget is deprecated since version 4.3.0! Use

__construct()

instead. in /home/content/p3pnexwpnas08_data03/30/2845930/html/wp-includes/functions.php on line 3892

Notice: The called constructor method for WP_Widget in SocialWidget is deprecated since version 4.3.0! Use

__construct()

instead. in /home/content/p3pnexwpnas08_data03/30/2845930/html/wp-includes/functions.php on line 3892

Notice: The called constructor method for WP_Widget in ContactsWidget is deprecated since version 4.3.0! Use

__construct()

instead. in /home/content/p3pnexwpnas08_data03/30/2845930/html/wp-includes/functions.php on line 3892

Strict Standards: Declaration of WC_Shipping_USPS::calculate_shipping() should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /home/content/p3pnexwpnas08_data03/30/2845930/html/wp-content/plugins/woocommerce-shipping-usps/includes/class-wc-shipping-usps.php on line 0

Strict Standards: Declaration of WC_Shipping_UPS::calculate_shipping() should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /home/content/p3pnexwpnas08_data03/30/2845930/html/wp-content/plugins/woocommerce-shipping-ups/includes/class-wc-shipping-ups.php on line 0

Notice: Use of undefined constant outlet_primary_colour - assumed 'outlet_primary_colour' in /home/content/p3pnexwpnas08_data03/30/2845930/html/wp-content/themes/outlet/includes/theme_customize.php on line 1231

500错误可能由许多因素引起。您有权访问apache/php错误日志吗?在大多数情况下,这是解决问题的最快方法

这个问题现在已经解决了。显然,我自己的插件“断开连接”,虽然我已经更新了许可证和插件,但它们没有“连接”,所以更新不是“实时的”。我必须断开我的WooThemes帐户,删除并重新安装WooThemes Helper插件——一旦我这样做了,我就可以重新连接插件,然后它们就实际更新了。这就解决了问题。对我来说,主要的问题是UPS和USPS插件没有更新,因此与最新的WOO标准不兼容。啊。

请在wp-config.php中写下这句话

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_LOG', true );

看到并解决错误后,请删除或注释此代码。

我在原始帖子中添加了调试错误(无法将其添加到注释中)。还请注意,我更新了以下内容:电子邮件现在很好(刷新缓存后),每次都会创建一个帐户,并且付款似乎也在工作/提交中。只是用户得到的页面显示了错误,而不是订单确认页面。我知道我的主题模板已经过时了。。。但是,哪一个以及具体什么会导致500错误?