如何解决此错误“未捕获的TypeError:无法读取null的属性'add'”

时间:2019-04-23 08:03:23

标签: drupal-8 slick.js

从视图启用简单的轮播时,会引发以下错误:

Uncaught TypeError: Cannot read property 'add' of null
at Object.e.initADA (slick.min.js?v=1.x:1)
at Object.e.init (slick.min.js?v=1.x:1)
at new <anonymous> (slick.min.js?v=1.x:1)
at r.fn.init.i.fn.slick (slick.min.js?v=1.x:1)
at Object.attach (script.js?pqeiq5:660)
at drupal.js?v=8.6.12:25
at Array.forEach (<anonymous>)
at Object.Drupal.attachBehaviors (drupal.js?v=8.6.12:22)
at HTMLElement.<anonymous> (ajax.js?v=8.6.12:556)
at Function.each (jquery.min.js?v=3.2.1:2)

0 个答案:

没有答案