Plugin Error While Removing Coupon From Cart.
-
When i enable the Wishlist plugin & try to remove coupon from mini cart. The plugin gives error on the console & removing coupon get stuck on loading screen.
Uncaught TypeError: n.closest is not a function at HTMLBodyElement.<anonymous> (jquery.yith-wcwl.min.js?ver=3.19.0:1:15526) at HTMLDocument.dispatch (jquery.min.js?ver=3.6.1:2:43064) at y.handle (jquery.min.js?ver=3.6.1:2:41048) at Object.trigger (jquery.min.js?ver=3.6.1:2:71659) at HTMLBodyElement.<anonymous> (jquery.min.js?ver=3.6.1:2:72254) at Function.each (jquery.min.js?ver=3.6.1:2:3003) at s.fn.init.each (jquery.min.js?ver=3.6.1:2:1481) at s.fn.init.trigger (jquery.min.js?ver=3.6.1:2:72230) at Object.success (ext-mini-cart.min.js:1:7240) at c (jquery.min.js?ver=3.6.1:2:28327)The error is happening on this line
void 0 !== n && n.closest(".wishlist_table").length && ("undefined" != typeof wc_add_to_cart_params && (wc_add_to_cart_params.cart_redirect_after_add = s),Also when i try to update products quantity in mini cart like it gives me this error
Uncaught TypeError: n.closest is not a function at HTMLBodyElement.<anonymous> (jquery.yith-wcwl.min.js?ver=3.19.0:1:15526) at HTMLDocument.dispatch (jquery.min.js?ver=3.6.1:2:43064) at y.handle (jquery.min.js?ver=3.6.1:2:41048) at Object.trigger (jquery.min.js?ver=3.6.1:2:71659) at HTMLBodyElement.<anonymous> (jquery.min.js?ver=3.6.1:2:72254) at Function.each (jquery.min.js?ver=3.6.1:2:3003) at s.fn.init.each (jquery.min.js?ver=3.6.1:2:1481) at s.fn.init.trigger (jquery.min.js?ver=3.6.1:2:72230) at Object.success (main.min.js:2:19686) at c (jquery.min.js?ver=3.6.1:2:28327)When the plugin is disabled everything works fine.
Active Theme:
Elessi Theme Version: 5.1.4Active Plugins:
Nasa Core Version 5.1.4
WooCommerce Version 7.5.0
YITH Pre-Order for WooCommerce Version 2.9.0
YITH WooCommerce Wishlist Version 3.19.0
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Plugin Error While Removing Coupon From Cart.’ is closed to new replies.