jinlikegold Posted March 2, 2023 Share Posted March 2, 2023 (edited) Hi there, I know some console errors with Squarespace are normal, but there are some extra ones that I'm pretty sure are actual issues. The trouble is, I'm not even sure how to locate these errors, much less do anything with them. These errors are appearing across my site, which leads me to believe it may be something I'm putting in Code Injection from a 3rd party plugin. But I have no idea where they would be given the line number references here don't seem to point to anything and are different on each page. See bolded parts. URL: https://www.youbelongsd.com/membership-page membership-page:4895 Uncaught SyntaxError: Invalid or unexpected token membership-page:4933 Uncaught SyntaxError: missing ) after argument list blur.js:42 Uncaught (in promise) Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at it (blur.js:42:3933) at s.useContext (blur.js:42:5675) at cr (blur.js:57:31858) at blur.js:61:494 at blur.js:126:5191 at Generator.next (<anonymous>) at I (blur.js:126:4967) how it looks on the default home page: URL: https://www.youbelongsd.com/ www.youbelongsd.com/:2833 Uncaught SyntaxError: Invalid or unexpected token www.youbelongsd.com/:2871 Uncaught SyntaxError: Invalid or unexpected token blur.js:42 Uncaught (in promise) Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at it (blur.js:42:3933) at s.useContext (blur.js:42:5675) at cr (blur.js:57:31858) at blur.js:61:494 at blur.js:126:5191 at Generator.next (<anonymous>) at I (blur.js:126:4967) Edited March 2, 2023 by jinlikegold Hey, I'm Jin (he/him). I'm a front end dev learning to make custom sites in Squarespace. If you find my suggestions helpful, please upvote & like!😺 Link to comment
Beyondspace Posted March 2, 2023 Share Posted March 2, 2023 (edited) I think you should discuss this issue with the third party which you are working with. They can give you a helpful suggestion Edited March 2, 2023 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
jinlikegold Posted March 2, 2023 Author Share Posted March 2, 2023 5 hours ago, Beyondspace said: I think you should discuss this issue with the third party which you are working with. They can give you a helpful suggestion Thank you. I have a number of plugins currently in use, so I'll have to go through and narrow down which one it may be. Hey, I'm Jin (he/him). I'm a front end dev learning to make custom sites in Squarespace. If you find my suggestions helpful, please upvote & like!😺 Link to comment
Solution creedon Posted March 3, 2023 Solution Share Posted March 3, 2023 It may be helpful to know that for diagnostic purposes you want to have your Inspector window open, clear the console messages, then reload the page. From there you should have full access to the errors and you can open the errors, arrow toggle, and trace down errors. At least that is how it works in Chrome DevTools. I assume other browsers have similar diagnostic tools. jinlikegold 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
jinlikegold Posted March 7, 2023 Author Share Posted March 7, 2023 On 3/3/2023 at 1:15 AM, creedon said: It may be helpful to know that for diagnostic purposes you want to have your Inspector window open, clear the console messages, then reload the page. From there you should have full access to the errors and you can open the errors, arrow toggle, and trace down errors. At least that is how it works in Chrome DevTools. I assume other browsers have similar diagnostic tools. Thank you!! I did not know this, it helped me troubleshoot several of the errors myself. creedon 1 Hey, I'm Jin (he/him). I'm a front end dev learning to make custom sites in Squarespace. If you find my suggestions helpful, please upvote & like!😺 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment