Uncaught SyntaxError: Unexpected Token
-
After enabling the plugin on our site http://www.naturaldermis.com we started getting console errors on the homepage. Only if a user visited another page and then came page to the homepage. The error caused half the page not to load.
The error pointed to this script on the homepage
<script type=”application/ld+json”>{ “@context”: “http://schema.org”,”@type”: “WebSite”,”url”: “http://naturaldermis.com/”,”potentialAction”: {“@type”: “SearchAction”,”target”: “http://naturaldermis.com/?s={search_term}”,”query-input”: “required name=search_term”}}</script>
We had to disable the plugin.
Any ideas what would cause this?
The topic ‘Uncaught SyntaxError: Unexpected Token’ is closed to new replies.