Woocommerce and PayPal php error



尝试结帐时出现此错误:

[30-Oct-2017 21:23:36 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WC_Product_Subscription_Legacy::get_name() in /home/usmiledk/public_html/wp-content/themes/bridge/woocommerce/cart/mini-cart.php:37

用户在PayPal中输入订单详细信息后,只需重定向回大本营。在后端它说待付款,但该设置设置为接受即时付款 - 我在PayPal快速后端也看不到任何内容。她怎么了?

问题是主题使用的是未定义的方法。尝试更新主题和WC订阅以及WooCommerce。您还可以尝试查看迷你购物车.php文件第 37 行并修改代码以正确获取产品标题。

最新更新