PHP Deprecated: get_used_coupons is deprecated since version 3
Opened this issue · 0 comments
glagonikas commented
We seem to be getting errors like the one below, caused by this plugin
PHP Deprecated: get_used_coupons is deprecated since version 3.7! Use WC_Abstract_Order::get_coupon_codes instead.
As the error states, the plugin uses a function that has been deprecated.
That code can be found at
https://github.com/weDevsOfficial/woocommerce-conversion-tracking/blob/v2.0.9/includes/integration.php#L307
and
https://github.com/weDevsOfficial/woocommerce-conversion-tracking/blob/v2.0.9/includes/integrations/class-integration-custom.php#L121