Okay
  Public Ticket #1857820
Mobile Menu Not Working Since LayerSlider Update
Closed

Comments

  • melosaurus started the conversation

    The mobile menu to our site no longer works. This started happening when we updated LayerSlider.

    I have confirmed that this plugin is the issue by deactivating my plugins one by one.

    Hoping this is a known issue and won't be too hard to fix. Thanks!

  • [deleted] replied

    Hello melosaurus,

    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 is no known issue such as this in the plugin. LayerSlider does not affect other elements on the page, so it cannot break your menu's functionality. The issue is most likely related to something else.

    I've checked your site and there are several errors on it. You have some missing files and mixed content problems. You can see these errors in the browser console. These errors are likely not related to this issue, but it's worth taking a look at them.

    However, what is related, is the error that pops up when I try to use the mobile menu. Please see attached screenshot. The error that is responsible for the mobile menu not working is generated in your theme files.

    I'd recommend to contact your theme author with this case, as the issue is generated in your theme. They should be able to provide further help on the menu problem.

  •   melosaurus replied privately
  • [deleted] replied

    Thank you for the feedback, but as I've mentioned this issue is most likely not related to LayerSlider. 

    The menu that you're having problems with is part of your theme, and the JS error that occurs when the mobile menu is used (and prevents it from working), is also generated by your theme.

    We're sorry, but we cannot fix an issue that is located and generated in your theme, and has no relation to our plugin.

    This is why I recommended to contact your theme author with this case. As the issue is related to their item, they should be able to look into this more in depth and provide you with a fix for this.

  •   melosaurus replied privately
  • [deleted] replied

    I'm afraid I can only repeat myself as you don't seem to be reading my messages. I'll try to explain it one more time, please read my reply very carefully.

    This mobile menu issue is in your theme, and not in LayerSlider. The error is located in this theme file: https://wsendodontics.com/wordpress/wp-content/themes/metrolium/assets/js/theme.js 

    on line 22 (and possibly 27 too): 

    $(".ls-wp-container").data("LayerSlider").stop();

    This code is invalid, and even though it has "LayerSlider" in it, it has absolutely nothing to do with us. It seems like your theme author tried to make a custom start/stop script for LayerSlider, but failed, and the result is this invalid code causing the mobile menu issue.

    As you can see, the problem is generated by your theme. A custom solution (the invalid code) that your theme author applied is causing an issue in your theme. 

    I understand that your theme support has expired, but you cannot possibly expect us to provide support for your theme and fix your theme issues.

    Thank you for your understanding. Hopefully everything's clear now.