【发布时间】:2017-08-01 01:27:16
【问题描述】:
我们的 WooCommerce 网站在结帐时出现错误。当我更新到最新的 WC 版本时,这并没有解决。在它工作和错误之间唯一改变的是WordPress的版本......在您提交付款信息(信用卡,使用Authorize.net)后,错误出现在结帐时,您会收到消息“内部服务器错误”。订单确实出现在 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
【问题讨论】:
标签: woocommerce