Zen Cart Logo
Forums / General Questions / error in console relating to jquery-3.7.1.min.js

error in console relating to jquery-3.7.1.min.js

Views: 1,673

Results 1 to 9 of 9
10 Nov 2025, 4:47 PM
#1
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

error in console relating to jquery-3.7.1.min.js

What does this error mean?

Failed to find a valid digest in the 'integrity' attribute for resource 'https://code.jquery.com/jquery-3.7.1.min.js' with computed SHA-256 integrity '/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo='. The resource has been blocked.

Zen cart 210

11 Nov 2025, 12:35 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: error in console relating to jquery-3.7.1.min.js

A link to the site where you're seeing that would help. From what I can see that's the correct integrity SHA for that version of jQuery.

11 Nov 2025, 2:57 PM
#3
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

Whyever it doesn't work for you - which is curios, really - you can create a new key directly at their website.
No other whatever needed, just their website.

24 Nov 2025, 4:13 PM
#4
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

Thanks All, I replaced the original

<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>

with

<script  src="https://code.jquery.com/jquery-3.7.1.js"integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4="crossorigin="anonymous"></script>

Which i got from their website and the error is gone. Thanks.

Note: the key i am using now if for the uncompressed jquery while the original one was minified, do not know what the difference between the 2. the error is gone and i hope i am not making it worst than before.

24 Nov 2025, 4:19 PM
#5
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

You now have implemented the non-min version. Is this what you want? Not a problem at all but just to be clear.

24 Nov 2025, 4:21 PM
#6
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

Shop Suey:

You now have implemented the non-min version. Is this what you want? Not a problem at all but just to be clear.

Thanks. I was editing the post when you replied and i showed my concern about that.

24 Nov 2025, 4:27 PM
#7
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

Ok, I copied the minified code and replaced the recent changed code and it seems it is working, no error yet. thanks.

24 Nov 2025, 4:30 PM
#8
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

Good you do implement the code you need, and everything beside that like the integrety code.

The min version just removes all spaces to reduce asset data size.

Nothing you should worry for pagespeed IMHO.

24 Nov 2025, 4:34 PM
#9
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: error in console relating to jquery-3.7.1.min.js

TamyA:

Thanks. I was editing the post when you replied and i showed my concern about that.

better you not replace anything but set the url to the asset you want to load