schema parsing error

#447681
  • Resolved Daverick
    Rank Math free

    Hi,

    I was wondering if I can get some assistance with an issue I’m having with RankMath and a parsing error. After some research, it showed that there is a common problem of an illegal string offset. It was recommended I remove, save, re-add the schema, save again and try again – which I’ve done. Unfortunately, the error is still showing up.

    The issue is on this page only – https://www.portervac.com.au/our-services/commercial-gutter-cleaning/.

    I’m aiming for this error to be removed and could use some assistance.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    It seems like the Rich Snippet tool is seeing a cached version of the page. I checked the HTML page source with the tool and it is validated without any errors:
    no errors

    Please clear your website cache and check the page again with the Rich Snippet tool.

    Hope this helps.

    Thank you.

    Hi Anas,

    I cleared my cache and the URL is still showing the error on my end. I’ve also checked within Google Search Console and it the same ‘unparsable structured data’ error is still being shown.

    Rich Results Test

    Any thoughts as to why the error is still showing up?

    Anas
    Rank Math business

    Hello,

    I checked the URL again and it is validated without any errors:
    https://search.google.com/test/rich-results/result?id=dnjxaR97c3-Nt-SEwKItew
    no errors

    Please check again on your end and let us know if you still see the error.

    We look forward to helping you.

    Anas,

    Cleared the cache, checked again and the error no longer shows within Search Console, but the parsing error still shows within the Structured Data Testing Tool.

    When running the HTML in SDTT, it’s clear however, when Fetching the URL, the issue still persists.

    Reference: https://vimeo.com/748964735/170bb3ae52

    Hello,

    I checked it again in the validator and it seems the validator tool is reading a different set of schema structures as you can see in my screenshot:

    schema

    Our schema code is usually minified and we don’t generate broken json formats.

    It may be that the validator is reading a different version of your website. Can you please check if you have server-level caching services (eg: Cloudflare) that might be still caching your website? If so, please clear the cache and try checking it again.

    We are looking forward to helping you.

    Hey Jeremy,

    I’ve cleared the server-level cache and the issue still shows up.

    I edited the JSON and from the screenshot above and I was able to achieve an errorless test by removing the commas on lines 161 and 163.

    Is there a way this can be edited on the page directly as this is the only page that’s being affected.

    Thanks!

    Anas
    Rank Math business

    Hello,

    All the Schema from our plugin goes inside a script tag with the class rank-math-schema.

    Please check if the theme or any other plugin is adding that Schema to the page.

    You can follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Hope this helps.

    We look forward to helping you.

    Hi,

    I’ve done as requested above and haven’t found another conflicting schema/structured data plugin. I also checked across other landing pages and confirmed the same with theirs as well. Again, this single landing page is the only one that’s being affected. With that being said, is there not another way to edit this page’s schema directly?

    And even if there was another plugin that was affecting this error, the error still shows under the Rank Math code. Doesn’t this mean that the RankMath plugin is responsible for this error?

    Thank you Anas

    Hello,

    As explained in our previous reply, the error is coming from another set of ld+json codes. In our schema ld+json, we add a class of rank-math-schema in the code.

    This issue seems to be a heavy caching issue on your end as we can’t physically see the broken schema in the page source.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘schema parsing error’ is closed to new replies.