Woocommerce Cannot read properties of undefined (reading ‘replace’)
-
Hi,
I have an error on my website when I select a variation in product page.
I can select the variation but the button “add to car” didn’t work.Here’s my consol log:
(index):1003 Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at HTMLDivElement.<anonymous> ((index):1003:43) at HTMLDivElement.dispatch (jquery.min.js:2:43064) at y.handle (jquery.min.js:2:41048) at Object.trigger (jquery.min.js:2:71659) at HTMLDivElement.<anonymous> (jquery.min.js:2:72254) at Function.each (jquery.min.js:2:3003) at s.fn.init.each (jquery.min.js:2:1481) at s.fn.init.trigger (jquery.min.js:2:72230) at t.onFoundVariation (add-to-cart-variation.min.js:1:7014) at HTMLFormElement.dispatch (jquery.min.js:2:43064)
Could someone help me, please?
- The topic ‘Woocommerce Cannot read properties of undefined (reading ‘replace’)’ is closed to new replies.