• Resolved mitratanikita

    (@mitratanikita)


    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

    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

    (@alxmedia)

    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

    (@mitratanikita)

    no difference, the mobile-friendly tester still failed to load page resources..although my browser loads all resources normally (pages load normally)

    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 2 years, 11 months ago by mitratanikita.
    Theme Author Alexander Agnarson

    (@alxmedia)

    Have had another report of this issue here. 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.