Hello
i got this error in my error log
The get_used_coupons function is deprecated since version 3.7. Replace with WC_Abstract_Order::get_coupon_codes.
this from woocommerce pages in theme
and this error from /themes/wplms/notes_discussion.php on line 104
count(): Parameter must be an array or an object that implements Countable in ///public_html/wp-content/themes/wplms/notes_discussion.php on line 104
please replace notes_discussion.php file in your "
wp-content/themes/wplms/ " folder with the notes_discussion.php file given here in this zipped file :
https://bit.ly/31VXhgt
i will replace it and tell you with the results
is this will included in the next update ?
what about this problem ?
The get_used_coupons function is deprecated since version 3.7. Replace with WC_Abstract_Order::get_coupon_codes.
this from woocommerce pages in theme
you give me a half of the solution
Well this error is not related to wplms theme or any of its plugins .
We have not used this function " get_coupon_codes " anywhere .It must be coming from other third party plugins .
Alex are you sure for that ?
you will force me to inspect all plugins
please be sure for that ,
i'm waiting your confirmation
Yes you can check our code file by file .