• Resolved rheathers

    (@rheathers)


    Hi, I’m running into a JS error when attempting to upgrade from v2.2.3.1 to v2.3. In the console I’m seeing errors related to line 204 of maxmegamenu.js. Specifically, “TypeError: Cannot read property of ‘disabled’ of undefined”. It appears to be a problem with your maxmegamenu.effects property, namely if I query that object directly from the console, the effects property is not being set. This error is causing the menu to simply not open at all.

    On a whim I tried clearing the CSS cache from MMM’s tools and that seemed to work. However when I pushed the update to my staging server, which has an identical codebase, that CSS cache clearing is no longer working and the JS error is persisting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi rheathers,

    This will be due to caching somewhere along the lines.

    Please try clearing your browser cache, any CDN (e.g. CloudFlare) you have set up, and any minification plugin you have set up.

    Regards,
    Tom

    Thread Starter rheathers

    (@rheathers)

    Ok thanks for the quick answer. I suspected caching was the problem so prior to posting this report I had also tried flushing the website cache to see if that would solve it. It seemed to have no effect, but possible I didn’t wait long enough for the cache to truly clear or else my browser was still caching something. I will try this again and hopefully all will be well. Thanks!

    Thread Starter rheathers

    (@rheathers)

    Ok thanks for the quick answer. I suspected caching was the problem so prior to posting this report I had also tried flushing the website cache to see if that would solve it. It seemed to have no effect, but possible I didn’t wait long enough for the cache to truly clear or else my browser was still caching something. I will try this again and hopefully all will be well. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS error causing menu to not open’ is closed to new replies.