Slick: Cannot read property 'add' of null

Created on 27 Mar 2016  路  7Comments  路  Source: kenwheeler/slick

I have managed to disable/destroy the carousel under the conditions that I need and it works perfectly. However I still see the following in the console:

Uncaught TypeError: Cannot read property 'add' of null

What is causing that and how can I remove it?

Current URL: http://www.alessandrosantese.com/aldemair-productions/

Most helpful comment

Check This , Call multiple times it will not break http://jsfiddle.net/fmo50w7n/372/

All 7 comments

Hey @WebTerminator search the repo for "unslick"

Check This , Call multiple times it will not break http://jsfiddle.net/fmo50w7n/372/

@naveenrk Thanks so much!

Thanks, man!

Another approach to make this work is use unslick and re-initialize slick

Check This , Call multiple times it will not break http://jsfiddle.net/fmo50w7n/372/

This is not working because it uses jQuery edge
Change it to jQuery 3.3.1 to make it work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hoghamburg picture hoghamburg  路  3Comments

jeremymandel picture jeremymandel  路  3Comments

ericestes picture ericestes  路  3Comments

crstauf picture crstauf  路  3Comments

xtatanx picture xtatanx  路  3Comments