Schema generating Unparsable structured data google error
-
Hello. I have started getting an error from google for my shop category pages from the JSON data generated by the schema plugin. The error is:
Unparsable structured data: Invalid top level element ‘array’
Google then shows this code here as the cause:
<script type="application/ld+json">[[],[],[],[],[],[],[],[],[],[]]</script>
Directly before this in the header is detailed schema info. Eg:
<script type="application/ld+json">{"@context":"http:\/\/schema.org\/","@type":"CollectionPage","headline":"My Category Name","description":"My description...","url":"","sameAs":false,"hasPart":[[],[],[],[],[],[],[],[],[],[]]}</script>
If I disable Schema plugin, then the error disappears. But the obviously, there is no schema data for the page.
This is only happening on category pages (using Shopp plugin for the shop side of things).
If there is no known way to fix this, then is there a way that I can disable the schema plugin for specific taxonomies (ie the shopp_category in my case)?
- The topic ‘Schema generating Unparsable structured data google error’ is closed to new replies.