- This topic has 6 replies, 2 voices, and was last updated 7 months, 2 weeks ago by
David.
-
AuthorPosts
-
August 13, 2022 at 11:42 am #2312018
Michael
Hello guys,
I’m having a problem with jquery which I found out about because my Site Reviews plugin stopped working correctly. I wrote to the developer and he said that “there is a javascript error that jQuery is not defined. Site Reviews does not use jQuery, so this is coming from something else.” So I have been looking on Google and found this page:
https://kinsta.com/blog/jquery-is-not-defined/
I am on the last suggestion “Method 5: Insert the jQuery Library Manually”. Unfortunately I cannot make sense of this, but I gather a change must be made to header.php in the theme which in my case is generatepress. Please could you assist? Many thanks.
Michael.
August 14, 2022 at 5:13 am #2312375David
StaffCustomer SupportHi there,
this either means that jQuery is NOT being loaded on your site. Or theres a script that has jQuery dependencies that is being executer before jQuery has been loaded.
Do you have a link to a page where this error occurs ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 15, 2022 at 2:25 am #2313119Michael
Thank you very much for your time David. The issue happens with the site reviews plugin on our shop page here:
https://reclaimdesign.org/home-decor-shop/
If you scroll to the reviews section and click 1 2 3 Next the next reviews page never shows it just displays a spinning animation and doesn’t get past this.
https://www.dropbox.com/s/uoeph2ayfr400is/next-reviews.jpg?dl=0
August 15, 2022 at 3:43 am #2313192Michael
This is what the console generated when I clicked the next button:
his page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. home-decor-shop
INS: content-ads.js loaded: https://reclaimdesign.org/home-decor-shop content-scripts.js:1:107966
TSS: content-tss.js loaded: https://reclaimdesign.org/home-decor-shop content-scripts.js:1:117421
INS: content-blocked-items.js loaded: https://reclaimdesign.org/home-decor-shop content-scripts.js:1:137459
CONTENT_SHELL: Page allowed. Skipping shell injection blocks content-scripts.js:1:137121
GET TAB ID RESPONSE:
Object { tabId: 10 }
content-scripts.js:1:118957
TSS: excluded result:
Object { excluded: true }
content-scripts.js:1:128142
TSS: Excluding content tss (trigger: send-mesage) content-scripts.js:1:119494
unreachable code after return statement
script.js:1368
unreachable code after return statement
script.js:1644:1
Uncaught ReferenceError: jQuery is not defined
<anonymous> https://reclaimdesign.org/home-decor-shop:26
home-decor-shop:26:5
INS: content-ads.js loaded: https://reclaimdesign.org/home-decor-shop content-scripts.js:1:107966
TSS: content-tss.js loaded: https://reclaimdesign.org/home-decor-shop content-scripts.js:1:117421
INS: content-blocked-items.js loaded: https://reclaimdesign.org/home-decor-shop content-scripts.js:1:137459
CONTENT_SHELL: Page allowed. Skipping shell injection blocks content-scripts.js:1:137121
GET TAB ID RESPONSE:
Object { tabId: 10 }
content-scripts.js:1:118957
TSS: excluded result:
Object { excluded: true }
content-scripts.js:1:128142
TSS: Excluding content tss (trigger: send-mesage) content-scripts.js:1:119494
unreachable code after return statement
script.js:1368
unreachable code after return statement
script.js:1644:1
To enable development logs please call ‘window.localStorage.setItem(“show_ec_logs”,”true”)’ in development console ru.cdev.xnext.legacyfrontendstub.LegacyFrontendStub-0.js:5618:92
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html for further details and to join the discussion on related tools and features! home-decor-shop
Some cookies are misusing the recommended “SameSite“ attribute 11
Ignoring ‘preventDefault()’ call on event of type ‘DOMMouseScroll’ from a listener registered as ‘passive’. 715A118F306435A2EB5D97EE4BD8F716.cache.js:2828:75
Use of Mutation Events is deprecated. Use MutationObserver instead. script.js:60:17
The resource at “https://reclaimdesign.org/wp-content/themes/generatepress_child/fonts/open-sans-v17-latin-regular.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. home-decor-shop
The resource at “https://reclaimdesign.org/wp-content/themes/generatepress_child/fonts/open-sans-v17-latin-italic.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. home-decor-shop
The resource at “https://reclaimdesign.org/wp-content/themes/generatepress_child/fonts/open-sans-v17-latin-700.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. home-decor-shop
The resource at “https://reclaimdesign.org/wp-content/themes/generatepress_child/fonts/open-sans-v17-latin-700italic.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. home-decor-shop
The resource at “https://reclaimdesign.org/wp-content/themes/generatepress_child/fonts/carrois-gothic-v10-latin-regular.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. home-decor-shop
The resource at “https://reclaimdesign.org/wp-content/themes/generatepress_child/fonts/icomoon.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. home-decor-shop
August 15, 2022 at 4:59 am #2313274David
StaffCustomer SupportOk, see here:
Looks like ECWID is trying to use jQuery before the script has loaded.
It may be because ECWID scripts are being preloaded.
Check with ECWID support as fixing that issue will mean the browser can resume executing scripts that fire afterwards.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 15, 2022 at 5:10 am #2313281Michael
Thank you very much David. I will message Ecwid now
August 15, 2022 at 6:12 am #2313312David
StaffCustomer SupportYou’re welcome
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.