• Hello,
    I’m getting the following errors in the Chrome console with Async enabled. I do have jquery exluded from async and defer.

    Uncaught TypeError: Cannot read property 'msie' of undefined
        at jquery.fancybox-1.3.4.pack.js:18
        at jquery.fancybox-1.3.4.pack.js:46
    cart.js:47 Uncaught ReferenceError: Backbone is not defined
        at cart.js:47
        at cart.js:1877
    Uncaught TypeError: jQuery(...).fancybox is not a function
        at HTMLDocument.<anonymous> ((index):146)
        at i (jquery.js:2)
        at Object.fireWith [as resolveWith] (jquery.js:2)
        at Function.ready (jquery.js:2)
        at HTMLDocument.J (jquery.js:2)

    When I uncheck “Enable async javascript” the issue disappears.

    Thank you,
    Brad

    • This topic was modified 4 years, 4 months ago by bsteinagel.
    • This topic was modified 4 years, 4 months ago by bsteinagel.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    hard to say; as you’re using wp-optimize for JS/ CSS optimization some script filenames are hidden from view, can you (at least temporarily) disable JS/ CSS optimization in wp-o?

    Thread Starter bsteinagel

    (@bsteinagel)

    Hi @optimizingmatters,

    Thank you for taking the time to troubleshoot this with me. I’ve turned off WP-Optimize’s minifying capability so it should be easier to see the actual script names in Chrome’s developer module.

    Edit: I probably wasn’t clear regarding the slideshow. Normally, visitors to the homepage of my site would see a slideshow of my images in the brown area below the top menu. With Async enabled (jquery excluded) this slideshow disappears.
    Regards,
    Brad

    • This reply was modified 4 years, 4 months ago by bsteinagel.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    afraid your site is currently down Brad;

    Thread Starter bsteinagel

    (@bsteinagel)

    Hello,
    My apologies for that. I had a fatel error which I had to fix. The site should be up and running now.

    Thank you!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ok, can you start by trying to:
    * exclude the theme from asyncing?
    * exclude wp-includes/js too?

    Thread Starter bsteinagel

    (@bsteinagel)

    I’ve excluded both my theme and wp-includes/js. In the scripts to exclude box within the plugin I have “wp-includes/js” without quotes. Is this correct? The problem still exists.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I just had a look and I in fact don’t see JS errors any more Brad?

    Can you copy/paste the ones you still see?

    Thread Starter bsteinagel

    (@bsteinagel)

    I ended up uninstalling the Async plugin. It just didn’t want to play nice with the WP-Optimize plugin I have installed. I was having odd conflicts where things would work and then a few minutes later wouldn’t work on the front-end.

    I enjoyed the Async plugin and feel that is useful, I just couldn’t use both WP-Optimize and Async at the same time with my particular theme. I wish that I could use both, but it doesn’t seem to work with both enabled. Thank you for taking the time to troubleshoot with me.

    Regards,
    Brad Steinagel

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Front slideshow disappears w/ Async Enabled’ is closed to new replies.