Support » Plugin: Speed Booster Pack ⚡ PageSpeed & Performance Optimization » Uncaught ReferenceError: jQuery is not defined in Move scripts to footer

  • Resolved Bluemad

    (@bluemad)


    Hi all,

    After I enabled Move scripts to footer it gives following error.

    Uncaught ReferenceError: jQuery is not defined
        at (index):46
    (anonymous) @ (index):46

    When I go deeper, it shows following error.

            <script type="text/javascript">              
                  jQuery(document).ready( function($) {    
                      if ($('#adsforwp-hidden-block').length == 0 ) {
                           $.getScript("https://www.mysite.com/front.js");
                      }
                     
                  });
             </script>

    Then I added /wp-includes/js/jquery/jquery.js to exclude list, but nothing happened.

    • This topic was modified 6 months, 3 weeks ago by Bluemad.
    • This topic was modified 6 months, 3 weeks ago by Bluemad.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught ReferenceError: jQuery is not defined in Move scripts to footer’ is closed to new replies.