nodebb-widget-image-carousel failed to load

NodeBB Plugins
  • When I enable this plugin, I have the following problem:

    jQuery.Deferred exception: $(...).unslider is not a function TypeError: $(...).unslider is not a function
        at http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:445193
        at dispatch (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:46934)
        at g.handle (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:44855)
        at Object.trigger (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:76254)
        at http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:76887
        at Function.each (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:5723)
        at x.fn.init.each (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:4313)
        at x.fn.init.trigger (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:76863)
        at Object.e.widgets.render (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:326728)
        at Object.ajaxify.end (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:319517) undefined
    x.Deferred.exceptionHook @ jquery.js:3818
    jquery.js:3827 Uncaught TypeError: $(...).unslider is not a function
        at client.js:2
        at dispatch (jquery.js:5183)
        at g.handle (jquery.js:4991)
        at Object.trigger (jquery.js:8249)
        at jquery.js:8327
        at Function.each (jquery.js:354)
        at x.fn.init.each (jquery.js:189)
        at x.fn.init.trigger (jquery.js:8326)
        at Object.e.widgets.render (widgets.js:61)
        at Object.ajaxify.end (ajaxify.js:213)
    

    Then it points to the following code:
    0_1522202827260_a3244e5a-092a-4372-bcc7-5bd4f40834ed-image.png

  • @jiangcaiyang the error you posted points to client-side code. The code you posted is pretty clearly server-side.


Suggested Topics


| | | |