Okay
  Public Ticket #2118963
LayerSlider not loading after site migration
Closed

Comments

  • nimblenerds started the conversation

    Hi there, I migrated my site with the layerslider contained but then it wouldn't load on the new site. The slides moved over properly but it's just a loading symbol.

    I ended up purchasing the layerslider so i could update it as I couldn't deactivate it. It updated but didn't fix the issue. I then tried to deactivate it and remove it but no luck.

    I deleted the folder in file manager and reinstalled the plugin but it still won't load.

    It also won't let me click 'add new slider' button or 'template store' for example, nothing happens.

  • [deleted] replied

    Hello Nimblenerds,

    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.

    There seems to be a Greensock conflict on the page, causing these errors. There is most likely another item/plugin trying to use Greensock, but does not provide compatibility, thus the issue. Please try to use the LayerSlider WP -> Options -> Advanced -> Include scripts in the footer and Use Greensock (GSAP) sandboxing options to see if they help.

    We'd also recommend to update everything on your installation, to make sure that you use the latest release of them. Old plugin/theme versions might load outdated jQuery/Greensock that could result in conflicts like this.

  • nimblenerds replied

    Thanks for the tips Atilla. 

    Everything was fully updated.

    The options tab in LayerSlider is greyed out, it seems nothing is clickable inside the plugin's menu.

    This isn't occurring anywhere else on the site.

  • [deleted] replied

    Please set up a temporary WP login for us so we can check on this further in the back-end. You can post the credentials here as a private reply. Thank you.

  •   nimblenerds replied privately
  •   nimblenerds replied privately
  • [deleted] replied

    Thank you. My colleagues and I will look into this to see what we can find, and get back to you shortly.

  • [deleted] replied

    Thank you for your patience. We've looked into this further with the login and found the issue. As we've suspected the problem is JavaScript error related, but not generated by a 3rd party item, but coming from a modified LayerSlider plugin file. This file was modified: /wp-content/plugins/LayerSlider/static/layerslider/js/greensock.js

    As the error is triggered by the code in this file, we've compared it with the original plugin file, and found two differences. There are two URLs that were changed from "http" to "https". And this is why you cannot properly access the activation server.

    It's likely that you are using some kind of security plugin that searches through your files and modifies them. Or maybe your host installed such service on your server. In any case, the modified files are permanently changed, so temporarily disabling plugins/themes can no longer help, as the problem is already in the file itself.

    However, if you reinstall LayerSlider, the original plugin files will be restored, fixing the issue. Or you can also directly overwrite this file through FTP with the original one. The important thing is to disable the plugin/service/method that is responsible for this. Otherwise it will just modify the plugin files again.

    While we understand that the forced use of HTTPS can be a security benefit, this particular case is false positive, there is no benefit to it, and a well-configured server does not need a solution that "blindly" overwrites everything without context and knowledge, because it can easily produce such problems, and it can happen with any other plugin. 

    Naturally, LayerSlider supports secure HTTPS pages, but this error is of different nature.

  • nimblenerds replied

    Hi Attila,

    thanks very much for your reply.

    I very carefully removed all hosting, plugin and cdn forced https.

    I then reinstalled the plugin after deleting it from file manager (as it wouldn't allow itself to be deleted from inside Wordpress)

    I then deleted and re-imported the slides.

    It still isn't working.

    I tried going back and removing the plugin-in again, and updating it, then re-adding the slides. Sometimes the buttons inside the plugin still wouldn't work, so I'm not entirely sure that's a file reference issue with https as it's not only referencing to the images that is the issue. It's like the plugin isn't working properly. I have re-installed and re-added the layers multiple times.

    I cleared all cache and gave it 12hours, but still no luck.

    I'm not sure how to proceed please.

  • [deleted] replied

    Thank you for the feedback. We'll take another look to see what is wrong and get back to you.

  • nimblenerds replied

    Thankyou. 

    Just to add to help.. the CDN has been removed from the nameservers so it's pointing straight to the host.

    All hosts back end features are turned off; caching, site speed features, forced https etc

  • [deleted] replied

    Thank you for the feedback. We've logged in and tested this, but it was working fine for us. The admin area worked properly, every button was clickable and there were no javascript errors either.

    Have you managed to fix the problem in the meantime ? If it's still not working for you, there might be some caching involved, so that we don't see the same thing. But everything was fine when we tested it today.

    Let us know. Thank you!

  • nimblenerds replied

    Hi Attila, 

    While the buttons only stop working sometimes in the back end, the primary issue is that the sliders aren't working when embedded in the pages.

    I only mentioned the buttons as it may be related to the main issue.

    Please see http://nimblenerds.com.au/contact-us/ the first object is a slider that is not animating and only showing the background.

  • [deleted] replied

    Thank you for the feedback. Judging from these new errors on your site we believe that the problem is going to be related to an image preloader/optimizer/lazy loader on your installation, that is interfering with the slider.

    We'd recommend to temporary disable other plugins and switch to a default WP theme to see if that solves the issue. If it does, you can turn them back one by one to see which one is interfering.

    If you are using Jetpack, we'd recommend to start with that. We had several issues with it in the past, as its lazy load option interferes with the slider's content, preventing it from loading.

  • nimblenerds replied

    Please excuse my frustration, i felt we were going in circles.

    It's working now.

    Thanks for taking your time to help me.

    I disabled a webp plugin, it may have forced webp images, and layerslider can't run webp images

  • nimblenerds replied

    .

  • [deleted] replied

    Thank you for the feedback, glad you could solve the problem. 

    If you need further assistance please let us know.