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?
Site URL: hidden Theme version: 2.4 WooCommerce version: 3.8.1
Content is visible for topic creator and support staff only.
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.