Javascript Error on Checkout Page
-
I’m getting an error on the checkout page:
Unexpected error in: szbd-shipping-message/szbd-shipping-message-block
Error:?Cannot read properties of undefined (reading 'reject')
This happens if the addresses is inside or outside of the shipping zone. The map is also not displayed on the page. I have server mode enabled and one http restricted and one not restricted API key. The error is still present when using the default theme with all but Woocommerce.
I can show the map through shortcode on other pages.
Console error:TypeError: Cannot read properties of undefined (reading 'reject')
at szbd-shipping-message-block-frontend.js?ver=971892d74041adbf884d:1:1064
at data.min.js?ver=dc5f255634f3da29c8d5:9:1957
at __unstableMarkListeningStores (data.min.js?ver=dc5f255634f3da29c8d5:2:22508)
at Object.__unstableMarkListeningStores (data.min.js?ver=dc5f255634f3da29c8d5:2:22765)
at l (data.min.js?ver=dc5f255634f3da29c8d5:9:1922)
at data.min.js?ver=dc5f255634f3da29c8d5:9:2426
at Je (data.min.js?ver=dc5f255634f3da29c8d5:9:2636)
at Qe (data.min.js?ver=dc5f255634f3da29c8d5:9:2953)
at component (szbd-shipping-message-block-frontend.js?ver=971892d74041adbf884d:1:1007)
at wt (react-dom.min.js?ver=18.2.0:10:47637)
- The topic ‘Javascript Error on Checkout Page’ is closed to new replies.