Javascript error
-
Hi, Pro user here. I have created a slider with specific product IDs, which I’m calling via the shortcode
[woo_product_slider id="7784"]
. I have noticed that if for any reason I include the same shortcode twice in the page, I get a Javascript error as below:jquery.min.js?ver=3.5.1&d88b4d&d88b4d:2 Uncaught TypeError: Cannot read property 'add' of null at Slick.initADA (slick.min.js?ver=2.5.12&d88b4d&d88b4d:1) at Slick.init (slick.min.js?ver=2.5.12&d88b4d&d88b4d:1) at new Slick (slick.min.js?ver=2.5.12&d88b4d&d88b4d:1) at s.fn.init.$.fn.slick (slick.min.js?ver=2.5.12&d88b4d&d88b4d:1) at HTMLDivElement.<anonymous> (scripts.min.js?ver=2.5.12&d88b4d&d88b4d:1) at Function.each (jquery.min.js?ver=3.5.1&d88b4d&d88b4d:2) at s.fn.init.each (jquery.min.js?ver=3.5.1&d88b4d&d88b4d:2) at HTMLDocument.<anonymous> (scripts.min.js?ver=2.5.12&d88b4d&d88b4d:1) at e (jquery.min.js?ver=3.5.1&d88b4d&d88b4d:2) at t (jquery.min.js?ver=3.5.1&d88b4d&d88b4d:2)
I don’t see any visual impact on the site (both copies of the slider work), but I get Javascript error on the console which is not ideal UX. Can you take a look please?
Cheers,
Spyros
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Javascript error’ is closed to new replies.