Cannot read property 'add' of null code example Example: slick.min.js:1 Uncaught TypeError: Cannot read property 'add' of null $(".slider").not('.slick-initialized').slick()