• Resolved yoteman

    (@yoteman)


    Hi,

    I have an error in console:

    Uncaught ReferenceError: jQuery is not defined at autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:9899

    How can I fix it?

    Thanks

    • This topic was modified 1 year, 2 months ago by yoteman.

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

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

    (@optimizingmatters)

    hard to say; it looks like you’re also running mod_pagespeed which is also trying to optimize the JavaScript. can you (at least temporarily) disable pagespeed so we can see what is happening without it?

    frank

    Thread Starter yoteman

    (@yoteman)

    I’ve deactivated all server side optimization but Stack cache, is in-built plugin.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, that seems to have fixed the issue (I don’t see Uncaught ReferenceError: jQuery is not defined any more?

    Thread Starter yoteman

    (@yoteman)

    I just reactivated optimization and cache, and now two errors appears:

    Uncaught ReferenceError: jQuery is not defined at autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:9899

    Uncaught ReferenceError: astraAddon is not defined at accountMenuToggle (autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:3277) at autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:4382

    • This reply was modified 1 year, 2 months ago by yoteman.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the root cause here is that you have 2 optimization solutions that are both trying to optimize the javascript, this indeed can lead to such errors yoteman, I would suggest to use only one such solution (so having JS optimized by Autoptimize OR by mod_pagespeed).

    Page caching obviously you can (and should) keep active ??

    Thread Starter yoteman

    (@yoteman)

    Yes, you’re right.

    Thanks for the support ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught reference’ is closed to new replies.