Updated to the latest version of Layerslider and it broke everything. There are no errors in the console, the slider simply doesn't appear. If I had known a simple update would break the whole thing, I wouldn't have updated it at all on a live client site.
Just showing a blank white space where the slider should be.
Edit: Tried using an older version of Layerslider (6.5.7), still doesn't work. I also updated all other plugins and the WP core, so maybe Layerslider no longer is stable in the current version of WP? Yes, I've tried disabling all plugins.
Edit: I reverted the entire Wordpress folder in my local development environment back to a full day before I did any updates and the slider is STILL broken. Some issue that persists through backup restores??
Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
I've checked both your live and test site, but there is no LayerSlider being used on them currently. Where can we check this issue to investigate it ?
Best Regards,Attila | Kreatura Support Team
Yes, it’s active on the test site. You can’t see it because it’s broken and won’t render. But that big white space is where it’s supposed to go.
Ah, I see it now. The test site URL was also linked to the live site, so it opened the same page with no LayerSlider on it, but manually copying the address works.
The issue is generated by the additional TweenMax loaded to your site, either by your theme or by a 3rd party plugin. TweenMax is a js file for the GreenSock Animation Platform that we are also using in our plugin.
LayerSlider was built to work together with other Greensock using items. However your theme (or plugin) might be not, therefore generating this issue.
Please try to use the LayerSlider WP -> Options -> Advanced -> Use Greensock (GSAP) sandboxing option. This should provide as a workaround in cases like this.
Sorry, that solution didn't work. I've tried removing all other JS libraries and disabling every other plugin, but the slider still just shows as white. This must have something to do with the recent updates. As of right now, LayerSliders that I'm using on other websites are fine, but they aren't updated. This is the only one fully up-to-date, and the only one that's broken.
It's not related to the update. We did not receive any reports regarding this from other users, and we did not experience this on our end either. As mentioned, it's most likely caused by the extra Greensock JS file loaded either by your theme or by a 3rd party plugin.
In addition to disabling plugins, have you also changed to a default WP theme, to see if it's a theme conflict ?
I've disabled ALL plugins except LayerSlider WP and removed ALL script calls to other js files from the header, footer, and functions files. LayerSlider WP is the only script/plugin running, and it still doesn't render. Only appears as white.
When I inject the shortcode into a sample page in the Twenty Seventeen theme, it works. But it doesn't work in my theme, which is where it needs to work.
I haven't changed ANY code, the only thing I did was update the WordPress core and the LayerSlider plugin, something there broke. I'm not using crazy complicated code, it's a very straightforward website. Issue still unresolved.
Thank you for the feedback. I'll forward your case to the dev team to see if they can locate the exact conflict and get back to you with the results shortly.