• Resolved DickRaney

    (@dickraney)


    I’m trying to speed up the website and have added Autoptimize and Async Javascript. The website loads with no errors with Autoptimize settings:
    – optimize JS
    – aggregate JS

    But when I activate Async (async with jQuery excluded) the site won’t load. Only get a loading icon and I get these errors messages in console:

    autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63 Uncaught TypeError: a(...).bsf_appear is not a function
        at HTMLDivElement.<anonymous> (autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.<anonymous> (autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:2)
        at autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63
        at autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63
    (anonymous) @ autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    (anonymous) @ autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63
    i @ jquery.js?ver=1.12.4-wp:2
    add @ jquery.js?ver=1.12.4-wp:2
    n.fn.ready @ jquery.js?ver=1.12.4-wp:2
    (anonymous) @ autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63
    (anonymous) @ autoptimize_850ce0c6f676059d8cd6a58517bf0bce.js:63

    I will disable Async for now.

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

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Aggregate JS Breaks Website’ is closed to new replies.