JS error in checkout: Cannot read properties of undefined reading ‘forEach’)
-
Hallo Thomas,
we have a strange JS error in the checkout:
Uncaught TypeError: Cannot read properties of undefined (reading ‘forEach’)
at gtm4wp-woocommerce-enhanced.js?ver=1.14.2:86:137
at Array.forEach (<anonymous>)
at gtm4wp_process_woocommerce_pages (gtm4wp-woocommerce-enhanced.js?ver=1.14.2:84:104)
at HTMLDocument.gtm4wp_page_loading_completed (gtm4wp-woocommerce-enhanced.js?ver=1.14.2:88:818)`I uploaded a few screenshots here as well:
1) JS bug: https://ibb.co/xsf7FKh
2) Details: https://ibb.co/7jkRx4NMy developer said it must be related to this part of the code in the plugin and his thought is that there may be a bug in conditions in the plugin’s JS code:
Also: It appears this JS error ONLY shows for logged in users.
Or is something else causing this and the plugin is fine?
Thanks a lot und viele Grü?e
Sebastian- This topic was modified 2 years, 9 months ago by .
- This topic was modified 2 years, 9 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘JS error in checkout: Cannot read properties of undefined reading ‘forEach’)’ is closed to new replies.