Title: Keep getting javascript error
Last modified: April 7, 2022

---

# Keep getting javascript error

 *  Resolved [mitratanikita](https://wordpress.org/support/users/mitratanikita/)
 * (@mitratanikita)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/keep-getting-javascript-error/)
 * hi
 * in the demo site , the sample site looks great and it doesn’t have page resources
   that failed to load and no JavaScript console messages error
 * but when I activated the themes on my server using child theme, with only table
   of content plugin activated..i got 12/28 page resources cannot be loaded and 
   3 js console errors…[https://search.google.com/test/mobile-friendly](https://search.google.com/test/mobile-friendly)
 *     ```
       Error
       00:33.000
       Uncaught TypeError: Cannot read properties of undefined (reading 'fn') at https://www.host.com/wp-content/themes/shapebox/js/jquery.fitvids.js?ver=5.9.3:15:5 at https://www.host.com/wp-content/themes/shapebox/js/jquery.fitvids.js?ver=5.9.3:82:3
       https://www.host.com/wp-content/themes/shapebox/js/jquery.fitvids.js?ver=5.9.3:14
   
       Error
       00:33.000
       Uncaught ReferenceError: jQuery is not defined at https://www.host.com/wp-content/themes/shapebox/js/jq-sticky-anything.min.js?ver=5.9.3:5:4734
       https://www.host.com/wp-content/themes/shapebox/js/jq-sticky-anything.min.js?ver=5.9.3:4
   
       Error
       00:33.000
       Uncaught ReferenceError: jQuery is not defined at https://www.host.com/wp-content/themes/shapebox/js/scripts.js?ver=5.9.3:12:1
       ```
   
 * I mean I didn’t touch anything on my WordPress admin dashboard ( I didn’t change
   any setting, it using default setting)..robots.txt didn’t block anything, is 
   this hosting issue or?

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

 *  Theme Author [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/keep-getting-javascript-error/#post-15536138)
 * Hi!
 * Hm that is strange. What happens if you:
    1) Use the parent theme only as a test,
   any errors? 2) Disable the Customize > Theme Options > Styling > Light/Dark Toggle,
   if you’ve enabled it.
 * Any difference?
 *  Thread Starter [mitratanikita](https://wordpress.org/support/users/mitratanikita/)
 * (@mitratanikita)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/keep-getting-javascript-error/#post-15536512)
 * no difference, the mobile-friendly tester still failed to load page resources..
   although my browser loads all resources normally (pages load normally)
 * [⌊resource⌉⌊resource⌉[
 * but on the “page resources” tabs, there’s jquery listed as “Other error
    Script”…
   maybe due to failure to load jquery.js resulted in the error ‘Uncaught ReferenceError:
   jQuery is not defined’.
 * on my other forum, folk said its because of the crawl budget limit (not an error
   from themes)
 * my apologies if my question seems unclear (could be my hosting or maybe mobile-
   friendly tester side)…maybe I’ll mark this as resolved until I’m sure what is
   the culprit
    -  This reply was modified 4 years, 1 month ago by [mitratanikita](https://wordpress.org/support/users/mitratanikita/).
 *  Theme Author [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/keep-getting-javascript-error/#post-15547642)
 * Have had another report of this issue [here](https://wordpress.org/support/topic/jquery-is-not-defined-and-accessibility-issue/).
   So, the issue may be on my end, I’ll look into it.

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

The topic ‘Keep getting javascript error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/shapebox/1.1.1/screenshot.png)
 * Shapebox
 * [Support Threads](https://wordpress.org/support/theme/shapebox/)
 * [Active Topics](https://wordpress.org/support/theme/shapebox/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/shapebox/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/shapebox/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/keep-getting-javascript-error/#post-15547642)
 * Status: resolved