WooCommerce结帐'内部服务器错误'无法加载?wc-ajax = checkout

时间:2017-03-10 16:08:33

标签: woocommerce

我们的WooCommerce网站在Checkout上产生错误。当我更新到最新的WC版本时,这没有修复。工作和错误之间唯一的变化是WordPress的版本...在您提交付款信息(信用卡,使用Authorize.net)后,错误在结帐时您收到消息'内部服务器错误& #39 ;.订单确实出现在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

3 个答案:

答案 0 :(得分:0)

许多事情可能导致500错误。你有权访问你的apache / php错误日志吗?在大多数情况下,这是解决问题的最快捷方式。

答案 1 :(得分:0)

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

答案 2 :(得分:0)

请在你的wp-config.php中写下这个

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

一旦看到并解决了错误,请删除或评论此代码。