• Resolved ifv6838

    (@ifv6838)


    Actually, everything in the /products pages have this issue. I found this error on Google console saying:

    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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Abdul Kadir Alhanur Rahman

    (@alhanrahman)

    Hi @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

    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

    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://www.ads-software.com/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.

    Thread Starter ifv6838

    (@ifv6838)

    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

    Plugin Support Abdul Kadir Alhanur Rahman

    (@alhanrahman)

    Hi?@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/.

    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)
  • You must be logged in to reply to this topic.