notes_discussion, WC_Abstract_Order log errors

Home Forums Legacy Support Support queries How-to & Troubleshooting notes_discussion, WC_Abstract_Order log errors

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #242490
    ateya3d
    Spectator
    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
    #242592
    Anshuman Sahu
    Keymaster
      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
    #242602
    ateya3d
    Spectator
    i will replace it and tell you with the results is this will included in the next update ?
    #242679
    logan
    Member
    yes it will :)
    #242737
    ateya3d
    Spectator
    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
    #242825
    Anshuman Sahu
    Keymaster
    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 .
    #242830
    ateya3d
    Spectator
    Alex are you sure for that ? you will force me to inspect all plugins please be sure for that , i'm waiting your confirmation
    #242971
    Anshuman Sahu
    Keymaster
    Yes you can check our code file by file .
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘notes_discussion, WC_Abstract_Order log errors’ is closed to new replies.