rjchauhan / RJGallery-for-OctoberCMS

Create photo gallery for your website with responsive design.
22 stars 23 forks source link

$(...).lightGallery is not a function #32

Closed getlose closed 7 years ago

getlose commented 7 years ago

I am using this plugin for my octobercms project and i got this following error

Uncaught TypeError: $(...).lightGallery is not a function
    at HTMLDocument.<anonymous> (http://xxx/yyy/index.php/gallery:48:41)
    at c (http://xxx/yyy/plugins/raviraj/rjgallery/assets/js/jquery-1.9.1.min.js:6:9510)
    at Object.fireWith [as resolveWith] (http:xxx/yyy/plugins/raviraj/rjgallery/assets/js/jquery-1.9.1.min.js:6:10529)
    at Function.ready (http:/xxx/yyy/plugins/raviraj/rjgallery/assets/js/jquery-1.9.1.min.js:6:3888)
    at HTMLDocument.H (http://xxx/yyy/plugins/raviraj/rjgallery/assets/js/jquery-1.9.1.min.js:6:796)
gallery:48 

any idea why this is happening? thanks

rjchauhan commented 7 years ago

try to set jQuery Inject option to Yes. or try upgrading plugin and check.