Hello, I’m setting up a site using Woodmart 4.0.4 and Woocommerce 3.7.0 with an additional plugin called WooCommerce Simple Auction and am getting an JS error when I click the BUY/BID button.
I have tested the site with several other themes and this error does not happen with any other theme.
I like Woodmart very much and want to continue using it for this site instead of replacing it with another theme.
The error seems to happen at line 3971 in the themes functions.js file.
Can you help me fix this error.
On clicking the button I get the following error message in my console:
Uncaught TypeError: Cannot read property ‘indexOf’ of undefined
at Object.success (functions.js?ver=4.0.4:3971)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
success @ functions.js?ver=4.0.4:3971
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
(anonymous) @ functions.js?ver=4.0.4:3924
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3