Title: Scheme, causing mainentity error
Last modified: October 28, 2021

---

# Scheme, causing mainentity error

 *  Resolved [jacampbell](https://wordpress.org/support/users/jacampbell/)
 * (@jacampbell)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscheme-causing-mainentity-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15017523)
 * Hi [@jacampbell](https://wordpress.org/support/users/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/](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/](https://yoast.com/features/structured-data-blocks/)
 *  Thread Starter [jacampbell](https://wordpress.org/support/users/jacampbell/)
 * (@jacampbell)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15021937)
 * 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.
 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15022023)
 * [@jacampbell](https://wordpress.org/support/users/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](https://yoast.com/how-to-build-an-faq-page/#how).
 *  Thread Starter [jacampbell](https://wordpress.org/support/users/jacampbell/)
 * (@jacampbell)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15023495)
 * 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](https://wordpress.org/support/users/jacampbell/).
 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15023748)
 * 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.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15044832)
 * 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.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/scheme-causing-mainentity-error/#post-15044832)
 * Status: resolved