JS error on WooCommerce pages
-
Hi,
The plug-in works great everywhere except on WooCommerce pages. I’ve had this error for a while but hadn’t bothered to make a support ticket because I didn’t think it was breaking anything. (So I’m not sure since what version this error started appearing..)
But today I realised that this error is preventing the GDPR-preferences modal to not work properly anymore (but only on WooCommerce pages).
The error shown in the console:
micromodal.min.js?ver=1629269375:1 Uncaught TypeError: Cannot read properties of undefined (reading 'addEventListener') at micromodal.min.js?ver=1629269375:1 at Array.forEach (<anonymous>) at o.value (micromodal.min.js?ver=1629269375:1) at new o (micromodal.min.js?ver=1629269375:1) at Object.init (micromodal.min.js?ver=1629269375:1) at front.min.js?ver=1629269375:1 at HTMLDocument.<anonymous> (front.min.js?ver=1629269375:1)
On my website you can scroll to the bottom and on the right side there should be a link called ‘Voorkeuren’. Once clicked on this you can click on ‘Instellingen’ under the GDPR heading. This GDPR modal works fine, but when you click on one of the buttons on the side nothing seems to happen. (In the inspector a form element pops up for a second.)
I’ve tried:
- Enabling the WooCommerce integration in the admin dashboard but this didn’t change anything.
- Disabling all plug-ins except for WooCommerce & this plug-in
Hope you can help!
Kind regards,
JanThe page I need help with: [log in to see the link]
- The topic ‘JS error on WooCommerce pages’ is closed to new replies.