• Resolved thealonsotron

    (@thealonsotron)


    I’ve hit an issue in which my mobile menu & logo are broken as a result of this plugin (If the plugin is deactivated, the problem disappears. I equally have “Also enable Async JavaScript for logged in users?” ticked OFF and the issue is not visible to logged in users.)

    Essentially the mobile logo is missing, and the hamburger menu dropdown simply doesn’t work.

    I’m not sure if I’m not excluding something properly, and I’ve been going in circles for a while now. Any help would be appreciated.

    • This topic was modified 5 years, 7 months ago by thealonsotron.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 40 total)
  • Thread Starter thealonsotron

    (@thealonsotron)

    Perhaps this is an issue with my Autoptimizer config?

    I am having the same issue with my website. What theme are you using?

    Thread Starter thealonsotron

    (@thealonsotron)

    I’m running Bridge (Qode), though obviously I’m using a child theme.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    looks like jquery from that CDN (weird setup) is slow to arrive, causing “jQuery is not defined”-errors even when jQuery is not asynced. You could try without the CDN or you could try to keep the Autoptimized JS deferred instead of asyncing it?

    Thread Starter thealonsotron

    (@thealonsotron)

    How would I go about keeping the Autoptimized JS deferred?
    I’d like to try any potential options before I test without the CDN/potentially look for a new CDN if that’s the culprit.

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    How would I go about keeping the Autoptimized JS deferred?

    by unticking the “enable autoptimize support” option at the bottom of the screen.

    Thread Starter thealonsotron

    (@thealonsotron)

    Gotcha, thank you. I’ll give that a go and report back with the results.

    Though, personally, would you suggest just making the switch to Cloudflare? I imagine this should address the issue as well?

    • This reply was modified 5 years, 7 months ago by thealonsotron.
    Thread Starter thealonsotron

    (@thealonsotron)

    Went ahead and unticked the “enable autoptimize support” option and that didn’t seem to solve the problem.
    I suppose the next step now is to look into switching to another CDN (I’m thinking Cloudflare)

    Edit: Went ahead and switched off the CDN as well, and the issue still seems to be present.

    • This reply was modified 5 years, 7 months ago by thealonsotron.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well the “jQuery is not defined”-error is gone but there are some others. can you try “defer” iso “async”?

    Thread Starter thealonsotron

    (@thealonsotron)

    I’m not sure I follow, jquery is set to exclude and “enable autoptimize support” is off. What is it you want me to try?

    • This reply was modified 5 years, 7 months ago by thealonsotron.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    What is it you want me to try?

    well, asyncJS is now set to “async” and I would like you to try switching to defer instead (it’s higher up the settings page, not in the “autoptimize integration”-field)

    Thread Starter thealonsotron

    (@thealonsotron)

    Ah! Gotcha, sorry it’s been a long day and it’s just about 3:30am here. Not processing information amazingly right now haha.

    Giving this a go now.

    Edit: Async JavaScript Method switched to “defer” though I’m not seeing any change.

    • This reply was modified 5 years, 7 months ago by thealonsotron.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    looks like the problem is due to your AO config rather then AsyncJS, can you untick the “also aggregate inline JS”-option?

    Thread Starter thealonsotron

    (@thealonsotron)

    Beautiful that did it!

    Thank you very much, you solved a serious headache. Am I good to revert the changes we did to AsyncJS, or should I leave it as is?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Thank you very much, you solved a serious headache.

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    Am I good to revert the changes we did to AsyncJS, or should I leave it as is?

    feel free to try ??

Viewing 15 replies - 1 through 15 (of 40 total)
  • The topic ‘Mobile Menu/header region issue’ is closed to new replies.