OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Sidebar menu sometimes failing to collapse

Resolved

Requested: 2 years and 11 months ago

Hi, not really sure that this is an issue with your plugins but I am having some trouble in that sometimes on the live site, the menu stays fully open when you go to a page. Now, I am using WP Rocket and Cloudflare and so, have cleared the Rocket cache and the Cloudflare cache as well as the browser cache and still it does not function correctly. Funny thing is though, if I am in WP Admin and then visit the site, it seems to be OK. As I said, not sure if this has anything directly to do with your plugins but wondering if you might have some insight on this issue.

Regards,

Dave

Plugin: Advanced Sidebar Menu

  1. dave

    2 years and 11 months ago

    Url to site is included in private area.

  2. OnPoint Plugins

    2 years and 11 months ago

    Hi Dave,

    Currently your site bundles the JavaScript into one concatenated .js file which may be found at /wp-content/cache/min/1/000ebb6934f86dd1c7a5b9ad82795d8e.js. Something in that file is throwing and error which is causing everything below it to stop working.

    Uncaught SyntaxError: Invalid or unexpected token

    My hunch is when you visit the site after WP-Admin, the .js files are served like normal and therefore not breaking the JavaScript included with this plugin.

    This should be easy enough to test by turning off the minification/concatenation option in WP Rocket. Once that is off, you will be able to see which file is causing the issue in the browser console.

    Hope this helps!

    Mat Lipe

     

  3. dave

    2 years and 11 months ago

    Hey Mat, thanks as always for your quick response. Yeah that was it so I will play with it a bit to optimize it and I should be good.

    All the best,

    Dave

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact