Okay
  Public Ticket #1552261
Layerslide not working after I updated to the latest Avada
Closed

Comments

  • andreadintino started the conversation

    Hi there,

    I'm using Avada  and I've just updated to the latest version and LayerSlider stopped working in the frontend (the backend seems fine), you can see it here: 

    https://www.confidential.tech/de/startseite/

    I've purged the cache(s) already, so I'm not sure what to do next.


    Thanks,


    Andrea


  • [deleted] replied

    Hello Andrea,

    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 are jQuery errors (jQuery is not defined) on your site. This usually means that your jQuery is not loaded or not in the right way. LayerSlider needs it be loaded in the header to be able to display the slider properly.

    If you're not familiar with jQuery you can try to use the Put JS includes to body advanced setting to see if that helps.

    Please also check if you're using the Rocketscript feature of Cloudflare, as it interferes with jQuery therefore our plugin and causing this issue.

  • andreadintino replied

    Hi Attila,

    I disabled Rocketloader on CloudFlare and Layerslide was magically working again :) 

    Anyway,  please be aware that this only happened after I updated Avada to the latest one today (5.5 I think). Until yesterday everything was working fine and Rocketloader has been enabled for a long time.

    Thanks,

    Andrea 

  • [deleted] replied

    Unfortunately Rocketloader has been causing issues to our plugin for years now. It is a method used to compress and asynchronously load scripts on page and it could easily break any WordPress plugin that uses jQuery, as it also interferes with it. Rocketloader is not related to Avada, so updating your theme should have no effect on it.

    In any case, disabling Rocketloader solves this problem as you've confirmed it, and you can still use the rest of Cloudflare. You could also try to use the RocketScript Compatibility option in the Advanced settings of LayerSlider, it helps in certain cases.