• DiviUser

    (@specializedmedia)


    I was having intermittent trouble with my front page slider—not sliding— and my number counter—not showing (and not counting). On a second page, only the photos of the slider weren’t working—and I couldn’t figure it all out until today, when:

    My PDF Embedder stopped working, so one-by-one I determined it to be an AsyncJavaScript plugin problem. Turn it off—everything is working and normal— the problem is: I want to continue to use the plugin.

    I DID ‘exclude’ my ‘PDF Viewer’ within the Async plugin, but it didn’t correct the problem.

    Solution to get my site running in-full: Deactivate the plugin.

    Any better suggestions?

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

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

    (@optimizingmatters)

    what asyncjs-configuration did you use for jquery? did you get any JS errors on the brwoser console?

    Thread Starter DiviUser

    (@specializedmedia)

    Async method chosen.

    Tried a different browser with similar results. The 2 carousels did move on this one, though; still no number counter.

    (index):91 Uncaught ReferenceError: jQuery is not defined
    at (index):91
    (anonymous) @ (index):91
    (index):241 Uncaught ReferenceError: jQuery is not defined
    at (index):241
    (anonymous) @ (index):241
    jquery-migrate.min.js?ver=1.4.1:2 Uncaught ReferenceError: jQuery is not defined
    at jquery-migrate.min.js?ver=1.4.1:2
    (anonymous) @ jquery-migrate.min.js?ver=1.4.1:2

    Thanks!

    • This reply was modified 6 years, 8 months ago by DiviUser.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, that means you’ll have to change jquery.js config to not to be asynced (or deferred).

    Thread Starter DiviUser

    (@specializedmedia)

    JQuery now set to EXCLUDE

    JavaScript Method only gives Async of Defer. I set to now DEFER and we are working again.

    Is the plugin working at all with these non-Async settings? Should I just turn it off?

    Very, very much appreciated,

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Is the plugin working at all with these non-Async settings? Should I just turn it off?

    depends; if you are not aggregating your JS then you’ll have a lot of JS-files that benefit from being asynced. If however you’re using Autoptimize (or something similar) then your aggregated JS is probably deferred already so in that case AsyncJS is of less use to you.

    hope this helps,
    frank

    Hello,

    I am having a problem with the plugin, on my side it is not working moreover on mobile version, the homepage picture has its position change and is surrounded by a blue doted line, any suggestion?

    Thanks in advance.

    Thibaut

    https://www.thibautgoarant.com

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    can’t access your site due to a problem with your HTTPS certificate @tgoarant , so the only advice I can give at this moment is to check your browser’s console for JS errors + not to async or defer jQuery + try to exclude plugins from async to see if this fixes anything.

    hope this helps,
    frank

    thanks I’ll try this, however I’m beginner so I don’t know how to check my browser’s console for JS errors… (firefox). which plugin I should exclude? I am not using autoptimize as it make my front page flickering when loading…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re browser console see https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Firefox

    re what to exclude; not idea what you’re using and what might be causing the issues, but who not try some classic trial and error? 🙂

    thanks, it is too complex for me, I’ll stop here, sorry for wasting your time.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Async JavaScript Plugin’ is closed to new replies.