Title: LD Json Schema syntax Error causing issues on website
Last modified: October 9, 2024

---

# LD Json Schema syntax Error causing issues on website

 *  Resolved [ifv6838](https://wordpress.org/support/users/ifv6838/)
 * (@ifv6838)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/ld-json-schema-syntax-error-causing-issues-on-website/)
 * Actually, everything in the `/products` pages have this issue. I found this error
   on Google console saying:
 *     ```wp-block-code
       Syntax error: value, object or array expected.
       ```
   
 * And it is coming from the product name, description, high price, and image fields
   in the schema. I reached out to wordpress to ask what the problem was and they
   said it was an issue with the AIO SEO plugin. I have not been able to find resources
   to diagnose this on my own and it has been affecting my website for the last 
   few months.
 * By the way I am using WooCommerce for the products in the products pages.
 * Can anybody give some insight into this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fld-json-schema-syntax-error-causing-issues-on-website%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Abdul Kadir Alhanur Rahman](https://wordpress.org/support/users/alhanrahman/)
 * (@alhanrahman)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/ld-json-schema-syntax-error-causing-issues-on-website/#post-18064139)
 * Hi [@ifv6838](https://wordpress.org/support/users/ifv6838/),
 * Thanks for reaching out!
 * I understand how concerning it is to encounter errors on your product pages, 
   especially when they’ve been affecting your website for several months.
 * I’m here to help you get this resolved as quickly as possible.
 * I tested the scenario on both our local and live test sites using WooCommerce
   and the All in One SEO plugin. However, I was unable to replicate the issue you’re
   experiencing.
 * The schema data for product name, description, price, and images appear to be
   outputting correctly without any syntax errors on my end.
 * I checked the affected URL that you shared using the Google’s Rich Results Testing
   Tool and confirm that the schema structure added by All in One SEO are all valid.
   [https://a.supportally.com/i/EXt6fc](https://a.supportally.com/i/EXt6fc)
   However
   I noticed that there was an unparseable structured data in your source code which
   is not a part of All in One SEO. [https://a.supportally.com/i/SvDU9F](https://a.supportally.com/i/SvDU9F)
 * The invalid entry seems to be either hard coded into the source code or might
   be coming from another plugin or your theme in your website.
 * In this case, would you be able to use the **Health Check & Troubleshooting**
   plugin ([https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/))
   to debug possible conflicts by following the steps below?
    1. Go to** Plugins > Add New** and install and activate the **Health Check & Troubleshooting**
       plugin.
    2. Go to **Plugins > Installed Plugins** and click on **Troubleshoot** below the**
       All in One SEO** plugin. This will temporarily disable all other plugins and
       switch to the default WordPress theme only for your user ID without impacting
       what your visitors see.
    3. Check if you’re able to reproduce the problem.
    4. If not, activate your theme and check again.
    5. If you’re still unable to reproduce the issue, activate the plugins one by one
       and simultaneously check if the issue occurs.
    6. Once you’re done troubleshooting, deactivate and delete the **Health Check &
       Troubleshooting** plugin.
 * Looking forward to helping you.
    -  This reply was modified 1 year, 8 months ago by [Abdul Kadir Alhanur Rahman](https://wordpress.org/support/users/alhanrahman/).
 *  Thread Starter [ifv6838](https://wordpress.org/support/users/ifv6838/)
 * (@ifv6838)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/ld-json-schema-syntax-error-causing-issues-on-website/#post-18064288)
 * Thank you so much for getting back to me on this topic. Please find below the
   loom video link. It shows the syntax errors detected by Google Search Console
   on one of the Woocommerce product pages in WordPress (this happens to most of
   the product pages if not all). Then I copied the URL involved to Schema.org to
   validate, it shows the errors on name, image, description, highPrice. By putting“”
   in the relative fields, these errors are resolved. [https://www.loom.com/share/933455cd71ac40c0b192c93d387245c6?sid=eac53906-d408-41d7-bc76-caca448931ff](https://www.loom.com/share/933455cd71ac40c0b192c93d387245c6?sid=eac53906-d408-41d7-bc76-caca448931ff)
 *  [Abdul Kadir Alhanur Rahman](https://wordpress.org/support/users/alhanrahman/)
 * (@alhanrahman)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/ld-json-schema-syntax-error-causing-issues-on-website/#post-18066163)
 * Hi [@ifv6838](https://wordpress.org/support/users/ifv6838/),
 * Thank you for sharing the Loom video link. I’ve reviewed the screencast, and 
   I understand exactly what you’re referring to regarding the syntax errors detected
   by Google Search Console.
 * It seems that these errors are occurring for some of your WooCommerce product
   pages and not all of them.
 * I noticed that the issue resolves when you set certain schema fields, like `name`,`
   image`, `description`, and `highPrice`, to an empty string (`""`).
 * However, please note that the specific schema causing the syntax error is not
   being generated by All in One SEO.
 * It appears that another plugin or perhaps your theme might be adding this conflicting
   schema markup, which is leading to the errors you’re seeing.
 * To resolve this, you will need to identify the source of this additional schema
   and reach out to that particular plugin or theme’s support team for further assistance.
 * If you’d like us to help you identify the root cause of which plugin or theme
   is adding the conflicting schema, feel free to reach out to us at [https://aioseo.com/contact/](https://aioseo.com/contact/).
 * Our customer success team will be happy to help you via the contact form on our
   site.
 * Looking forward to helping you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘LD Json Schema syntax Error causing issues on website’ is closed to new
replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)

 * 3 replies
 * 2 participants
 * Last reply from: [Abdul Kadir Alhanur Rahman](https://wordpress.org/support/users/alhanrahman/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/ld-json-schema-syntax-error-causing-issues-on-website/#post-18066163)
 * Status: resolved