How Can I Fix These Errors?

Hey everyone,

I’m getting a ton of errors from https://validator.w3.org/ regarding these types of markups.

I’ve tried using all of these in my functions.php files for both the main theme and the child theme with no luck:

add_filter( ‘fl_post_grid_disable_schema’, ‘__return_true’ );
add_filter( ‘fl_theme_disable_schema’, ‘__return_true’ );
add_filter( ‘fl_builder_disable_schema’, ‘__return_true’ );
add_filter( ‘fl_theme_disable_schema’, ‘__return_true’ );
add_filter( ‘fl_builder_disable_schema’, ‘__return_true’ );

Does anyone have a solution to fixing or removing BB adding code that is invalid like this?

What errors are you seeing and on what page?

The itemprop attribute was specified, but the element is not a property of any item.
div id=“fl-main-content” class=“fl-page-content” itemprop=“mainContentOfPage” role=“main”

The itemprop attribute was specified, but the element is not a property of any item.
div class=“fl-post-content clearfix” itemprop=“text”

There’s over 10 various errors like this. Same itemprop error message with different parts of the page containing bad markup.

What tool are you using and whats the page url with the issue so we can check?