• Resolved stuart3sheep

    (@stuart3sheep)


    Hi

    I am having some trouble trying to exclude a script from Autoptimize as it throws an error when using the plugin.

    The error is occurring on Line 3 at

    https://primeadvantageadvisory.com/

    and the console is reporting ‘Jquery is not defined’. If I switch Autoptimize off then the error goes away.

    Unfortunately, it is (I think) hard-coded, so it is still possible to exclude the script? I can’t find a way of doing it.

    Any advice?

    https://ww.wp.xz.cn/plugins/autoptimize/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    afternoon stuart3sheep;
    not entirely sure I understand; did you try excluding wp-includes/js/jquery/jquery.js? if not, can you? if yes; did you still see the same error?

    frank

    Thread Starter stuart3sheep

    (@stuart3sheep)

    Hi Frank

    Thanks for the fast response. That did the trick, I misunderstood how the exclusion was working.

    Many thanks

    Stuart

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Jquery is not defined – cannot exclude’ is closed to new replies.