This topic has 2 replies, 2 voices, and was last updated 4 years, 10 months ago ago by Olga Barlow
Hello,
One of our customers reported getting the following line of code at checkout:
Notice: get_used_coupons is deprecated since version 3.7! Use WC_Abstract_Order::get_coupon_codes instead.
The directory it refers to is in private content. I updated to the latest Classico template but the site crashed so had to revert back to version 2.4 (child). How can we hide the error or can you correct it in functions.php?
Hello,
Our theme does not include get_used_coupons function in theme files. Probably one of the third-party plugins that you keep enabled uses this function and causes that notice. Check the plugins list on your site and try to disable plugins related to WooCommerce and check which one generates that notice.
Regards
You must be logged in to reply to this topic.Log in/Sign up