Apply Points to Previous Orders return error 500
-
Hi,
When I click on the button “Apply Points to Previous Orders”. I get an error 500 on the JS console. No error message on the page but in the log file, i can read :
[23-Feb-2020 11:23:51 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Order::get_coupon_codes() in /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-content/plugins/yith-woocommerce-points-and-rewards-premium/includes/class.yith-wc-points-rewards-earning.php:597 Stack trace: #0 /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-content/plugins/yith-woocommerce-points-and-rewards-premium/includes/class.yith-wc-points-rewards-admin.php(1049): YITH_WC_Points_Rewards_Earning->add_order_points(10633) #1 /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-includes/class-wp-hook.php(288): YITH_WC_Points_Rewards_Admin->apply_previous_order('') #2 /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #3 /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-admin/admin-ajax.php(175): do in /homepages/27/d757432804/htdocs/clickandbuilds/OwlanaCollection/wp-content/plugins/yith-woocommerce-points-and-rewards-premium/includes/class.yith-wc-points-rewards-earning.php on line 597Can you help me please.
Regards,
David
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Apply Points to Previous Orders return error 500’ is closed to new replies.