I am regularly getting this error in my logs
[26-Jan-2020 23:30:11 UTC] PHP Notice: get_used_coupons is deprecated since version 3.7! Use WC_Abstract_Order::get_coupon_codes instead. in /home/user/public_html/wp/wp-includes/functions.php on line 4648
The indicated code line is:
trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $function, $version, $replacement ) );
This means i can’t actually figure out which plugin is causing the error.
How would I go about troubleshooting this to find the true source of the error?
I’m using the latest version of storefront and woocommerce.
- The topic ‘What is generating error “blah is deprecated since version 3.7!”’ is closed to new replies.