Support » Plugin: Yoast SEO » Invalid top level element ‘string’ ??

  • Resolved stevethefootycoach

    (@stevethefootycoach)


    Hi

    Google tells me that this page has unparsable structured data, e.g. ‘invalid top level element string’

    This is the relevant bit of code: https://ibb.co/QQZdnV3

    Can you please explain how I can fix this error?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Suwash Kunwar

    (@suascat_wp)

    @stevethefootycoach

    We checked the page source of the given page and it seems the schema is being by some other plugin as seen: <script type=application/ld+json class=saswp-custom-schema-markup-output> but not by Yoast SEO. If you’re using another schema plugin please contact the respective plugin support for further assistance.

    Thread Starter stevethefootycoach

    (@stevethefootycoach)

    Thanks Suwash.

    I’ll do as you suggest. The plugin Schema and Structured Data for WP and AMP is active on this site.

    Can you tell me if there are any issues with using Yoast and this plugin for schema? Should one of them be deactivated?

    Plugin Support Suwash Kunwar

    (@suascat_wp)

    @stevethefootycoach

    Yoast SEO 11.0 offers a vastly improved output of the schema data the plugin already generated before. It now connects all the separate sets of schema data together which makes it much easier for search engines to understand. You can read more about this here and here.

    You’d need to compare the output from your current schema plugin with the one the Yoast plugins generate and check if there are any conflicts or sets of duplicate schema data. In the “Output per Plugin” section here you can find all the information about what schema data each plugin creates.

    Alternatively, you can disable the entire schema output from Yoast SEO yet using all other SEO features where schema things being handle by 3rd-party plugin.

    Thread Starter stevethefootycoach

    (@stevethefootycoach)

    Thanks.

    If I decide to disable Yoast’s schema output will it also remove Yoast’s markup from the relevant pages?

    Plugin Support Suwash Kunwar

    (@suascat_wp)

    Yes, it will remove Yoast’s markups too. You can exceptionally use relevant filters to disable entire schema or a certain piece of schema.

    Thread Starter stevethefootycoach

    (@stevethefootycoach)

    Thank you 🙂

    Much obliged.

    Google tells me that this page has unparsable structured data, e.g. ‘Invalid top level element “null”
    WHAT i MUST TO DO?

    Can you please explain how I can fix this error?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Invalid top level element ‘string’ ??’ is closed to new replies.