Support » Plugin: Autoptimize » OneSignal Plugin not Working With Autoptimize

  • Resolved Aking01

    (@aking01)


    OneSignal plugin is not working with Autoptimize plugin. Please help me with this šŸ™

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

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

    (@optimizingmatters)

    hmm, I’m seeing “jQuery is not defined” errors on the browser console, so to start you’ll have to stop jQuery being asynced.

    Thread Starter Aking01

    (@aking01)

    did but seen no effect

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I see
    <script defer=defer src=https://adnetsreview.b-cdn.net/wp-includes/js/jquery/jquery.js></script>

    but that still results in “jQuery is not defined” errors, you’ll have to exlude it from both async & defer.

    Thread Starter Aking01

    (@aking01)

    Hi Thank you for your quick responses.

    I am using your both Async JavaScript and Autoptimize plugins on my website. I can’t see any option to exclude jquery in Autoptimize. However, it is available in Async JavaScript.

    But, there’s a problem.

    In Async JavaScript there are two options – one option allows me to exclude jquery, which i have already selected.

    But, when i go down on the same page then i see a field there – Async JavaScript for plugins.

    In that field i see enable Autotimize support. As i am using both plugins so i have checked that option. Below that i see two options in jquery method, Defer or Async but there’s no exclude jquery option.

    What should i do now ? Any suggestions. I can provide you screenshots for better understanding if needed.

    Thanks in advance !

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, start with disabling asyncjs and test if onesignal works that way?

    Thread Starter Aking01

    (@aking01)

    No it’s not working

    Thread Starter Aking01

    (@aking01)

    I disabled both the plugins one by one but OneSignal is still not working. It seems like its something else because after you helped me in excluding the onesignal from Autoptimize it was working fine.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    indeed, if both are disabled and it’s stillnot OK, then it _has_ to be something else šŸ™‚

    Thread Starter Aking01

    (@aking01)

    Yes, but now i ran into a new issue my comments images are not loading šŸ™

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    but are AO & AsyncJS still disabled?

    Thread Starter Aking01

    (@aking01)

    no i enabled them again. I can remove onesignal but can’t remove these two plugins lol I really like them

    Thread Starter Aking01

    (@aking01)

    i will disable them and check if my comments images load or not. I will inform you about these. Thanks for your quick responses šŸ™‚

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    i will disable them and check if my comments images load or not. I will inform you about these

    that, indeed, is the correct way to troubleshoot; disabling and then re-enabling plugins or features in plugins (e.g. js opt and/or image optimization and/or lazyload in Autoptimize).

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘OneSignal Plugin not Working With Autoptimize’ is closed to new replies.