• Hello, I keep seeing this error in chrome webmasters console.

    Uncaught ReferenceError: socialWarfarePlugin is not defined
        at www.xxxxx.com/:61

    I use autoptimize plugin to minification and loading script in a footer. How can I solve it? Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try excluding social warfare’s JS from Autoptimize JS optimization, more info in AO’s FAQ.

    hope this helps,
    frank

    Thread Starter zvhipp

    (@zvhipp)

    Thank you for responding. I tried it but it didn’t work. I also get this error below one I mentioned.

    script.min.js?ver=2.3.3:1 Uncaught ReferenceError: swp_isMobile is not defined
        at HTMLDocument.<anonymous> (script.min.js?ver=2.3.3:1)
        at i (jquery.min.js?ver=1.12.4:2)
        at Object.add [as done] (jquery.min.js?ver=1.12.4:2)
        at n.fn.init.n.fn.ready (jquery.min.js?ver=1.12.4:2)
        at script.min.js?ver=2.3.3:1
        at script.min.js?ver=2.3.3:1

    then you have more excluding to do (cfr. swp_isMobile), some trial and error might be required.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught ReferenceError: socialWarfarePlugin is not defined’ is closed to new replies.