JSON-LD: There was an error parsing your JSON-LD
-
I have an issue with the parser of json-ld on my wordpress-seo 2.2.1
Google structured data tool shows me this message: JSON-LD: There was an error parsing your JSON-LD. This error message come two times, in the part where normally WebSite should be.
I removed the plugin and made a fresh installation… no change. Also I took the plugin from another server where everything works fine and tested it on this site… same again… no change and the parsing error remains.
This is the part with the issue:
<script type=’application/ld+json’>execOnReady(function(){{“@context”:”http:\/\/schema.org”,”@type”:”WebSite”,”url”:”http:\/\/www.alle-gewinnspiele.ch\/”,”name”:”Alle Gewinnspiele Schweiz”,”alternateName”:”Alle Gewinnspiele Schweiz”,”potentialAction”:{“@type”:”SearchAction”,”target”:”http:\/\/www.alle-gewinnspiele.ch\/?s={search_term}”,”query-input”:”required name=search_term”}}});</script><script type=’application/ld+json’>execOnReady(function(){{“@context”:”http:\/\/schema.org”,”@type”:”Organization”,”url”:”http:\/\/www.alle-gewinnspiele.ch”,”sameAs”:[“https:\/\/www.facebook.com\/allegewinnspieleschweiz”,”https:\/\/plus.google.com\/+AllegewinnspieleChSchweiz”,”https:\/\/twitter.com\/Gewinnspiele_CH”],”name”:”Alle Gewinnspiele Schweiz”,”logo”:”http:\/\/www.alle-gewinnspiele.ch\/wp-content\/uploads\/2015\/06\/wp-logo.jpg”}});</script>
I don’t see any reason why the parser should not work. Also I compared the output with one from onother site where it’s working. Looks good to me. Sure, the execOnReady( show up here because of the parsing issue.
Any help appreciated.
- The topic ‘JSON-LD: There was an error parsing your JSON-LD’ is closed to new replies.