• Resolved jacampbell

    (@jacampbell)


    When I run this page on Rich Results Test, I get an error “missing field “main entity”” how do I fix this. Running up to date versions of WP and Divi in classic editor.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Michael Tiña

    (@mikes41720)

    Hi @jacampbell

    Our default logic comes with a lot of build-in validation and error handling. These checks make sure that we don’t output invalid structured data in edge cases, or when we encounter conflicting options. They also help us to integrate all of the different pieces of schema which a page outputs.

    By overriding the defaults, you may alter your schema markup in ways which don’t make sense, or which are incomplete.

    For example, Google expects a FAQPage to contain a series of questions, in a specific format. If you describe a normal page as a FAQPage without also including a series of questions-and-answers with the correct structured markup, this may result in errors or unexpected behaviors.

    You can learn more about it here – https://yoast.com/help/selecting-content-types-in-schema-settings/

    In order to address this, since you’re setting this page type to ‘FAQPage’, you’ll need to use the Yoast FAQ structured data block, so that it adds the missing schema data and marks it up properly – https://yoast.com/features/structured-data-blocks/

    Thread Starter jacampbell

    (@jacampbell)

    Hello Michael,
    This page IS an FAQ page, and the only thing I did on my side was turn on that category in the Yoast control panel. I didn’t alter it in any way via CSS or HTML.
    Because I edit in Divi and WordPress, I don’t make changes to HTML or CSS unless absolutely necessary, as I am not a coder.

    When I tested a couple of other pages that I set the scheme for they all came out with no errors.

    @jacampbell

    The Yoast Structured data blocks are intended to work with the WordPress native editor Gutenberg. If you are using any page builders like DV to build your FAQ pages, then you should check with them if they are outputting the schema for this.

    You need to use the Yoast FAQ block on that particular page. This guide explains more on how you can use the Yoast SEO FAQ block: https://yoast.com/how-to-build-an-faq-page/#how.

    Thread Starter jacampbell

    (@jacampbell)

    So do all the pages that you can define the schema for through Yoast have to be built with Gutenberg?

    • This reply was modified 4 years, 7 months ago by jacampbell.

    Note, as your are using Divi you may need to reach out to them to see if they have the ability to output our FAQ blocks. They have a solution that can output our FAQ blocks or a workaround.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

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

The topic ‘Scheme, causing mainentity error’ is closed to new replies.