Page 1 of 1

Featured Slider Disappeared

Posted: 06 Feb 2017, 13:29
by ckwimberly
Today I updated 3 plugins, nothing extraordinary and now I notice that the featured slider on my home page does not display. With inspect I see this:

Uncaught TypeError: this.$slides.cycle is not a function
at ResponsiveSlideShow.init (suffusion.js:8)
at new ResponsiveSlideShow (suffusion.js:7)
at HTMLUListElement.<anonymous> (suffusion.js:27)
at Function.each (jquery.js:1)
at a.fn.init.each (jquery.js:1)
at HTMLDocument.<anonymous> (suffusion.js:27)
at i (jquery.js:1)
at Object.fireWith [as resolveWith] (jquery.js:1)
at Function.ready (jquery.js:1)
at HTMLDocument.K (jquery.js:1)

Does anyone have an idea as to what may have happened - what needs to be fixed? coalchicago.com

Thanks,
Craig.













today I updated three

Re: Featured Slider Disappeared

Posted: 07 Feb 2017, 04:36
by ckwimberly
I deactivated Photonic plugin and the featured slider is back.

Re: Featured Slider Disappeared

Posted: 07 Feb 2017, 09:53
by Colin
Well done finding the issue. You may want to raise this with Sayontan by opening a support request for Photonic at https://wordpress.org/support/plugin/photonic as that is what he monitors for issues.

Re: Featured Slider Disappeared

Posted: 07 Feb 2017, 15:51
by ckwimberly
Will do.

Re: Featured Slider Disappeared

Posted: 12 Feb 2017, 14:47
by sayontan
As it happens, I discovered this independently. Basically in version 1.62 of Photonic I made a switch to Lightgallery from jQuery Cycle. Now, given that Photonic was written almost 6 years back, I had forgotten that Suffusion has a piece of code that prevents jQuery Cycle from being enqueued if Photonic is active (since Photonic had the same script) ... and since Suffusion is no longer active, it causes the theme to break.

I have patched Suffusion. You can get it from https://github.com/sayontan/suffusion/tree/master/dist, by pulling version 4.5.0.