Slick js not included
-
I noticed the Image carousel throwing errors, stating jquery.slick to be undefined.
Uncaught TypeError: $carousel.slick is not a function at module.exports (frontend.js?ver=1.4.3:446) at _runHook (frontend.js?ver=1.4.3:1328) at Object.doAction (frontend.js?ver=1.4.3:1361) at ElementsHandler.runReadyTrigger (frontend.js?ver=1.4.3:93) at HTMLDivElement.<anonymous> (frontend.js?ver=1.4.3:47) at Function.each (jquery.js?ver=1.12.4:2) at jQuery.fn.init.each (jquery.js?ver=1.12.4:2) at runElementsHandlers (frontend.js?ver=1.4.3:46) at ElementsHandler.initHandlers (frontend.js?ver=1.4.3:62) at init (frontend.js?ver=1.4.3:53)
I can easily solve it by adding it as a requirement for elementor-frontend in plugins/elementor/includes/frontend.php line #134
wp_register_script( 'elementor-frontend', ELEMENTOR_ASSETS_URL . 'js/frontend' . $suffix . '.js', [ 'elementor-waypoints','jquery-slick' ], ELEMENTOR_VERSION, true );
But is this a known error or am I missing something?
Thanx!
P.S. Using a custom-built theme based on Roots Sage
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Slick js not included’ is closed to new replies.