Issues with Schema – Thing is not a known valid target type for the itemReviewed

#16229
  • Resolved Grega
    Rank Math free

    Hi there, whenever I choose Rich Snippet “Review”, I get the following error from structured data testing tool:

    Thing is not a known valid target type for the itemReviewed property.

    What should I do? I am mainly reviewing supplements.

    Thanks for your feedback,
    Greg

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Google recently made some changes to the review guidelines and we will be releasing an update to address this sometime soon. At the moment, you can add the following code to your functions.php file to fix this error:

    add_filter( "rank_math/snippet/rich_snippet_review_entity", function( $entity ) {
    	unset($entity['itemReviewed']);
     return $entity;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Grega
    Rank Math free

    Thanks for your feedback, Michael. Will we be informed once the update is released? Thanks.

    Hello,

    Yes you will and you can always go through the change log here once a new update is available: https://rankmath.com/changelog/

    I hope this info helps. Thank you.

    Any news for future updates? There is a way to remove the snippets on every page at once?

    Hi There,

    Thanks for the follow-up.

    Unfortunately, we do not have any updates on this option as yet.

    In the meantime, keep on our changelog for any related updates that might come up.

    Have a good one.

    After plaing the snippet in the functions.php file I am getting another structured data error

    A value for the itemReviewed field is required.

    How to solve that?

    Hi Jinka,

    Thanks for the follow-up and sorry for any inconvenience that might have been caused due to that.

    Are you using a third-party plugin to add reviews to your products? If so, would you mind checking whether this field contains a value on your WooCommerce product page?

    Looking forward to helping you. Thank you.

    I am not using any other plugin.
    It is not a woocommerce product.
    It is a blog post.
    Please check this post

    Hi there,

    Thanks for getting in touch with us and sorry for any inconvenience caused.

    To be able to fix this, I can suggest that you remove the rating stars on the review and service schema before this gets addressed.

    I hope this info helps. Thank you.

    Any update on this? When you bring out the new update?

    I have removed the star rating plugin. But I got the same error.
    You can check the previous article or this one.

    Hello,

    Thank you for contacting Rank Math today.

    This has been addressed on the latest version released today. Please take a look at the following page on how to resolve this https://rankmath.com/kb/how-to-fix-review-schema-errors/

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks for the information. Now I have converted all my review posts to articles.
    Google will show the user rating but not a self-serving rating. So we can show user ratings.
    Is it possible to allow ratings from users with Rankmath?

    Hello,

    Thanks for the follow-up.

    I’m not certain I clearly understand your question.

    Kindly explain to me more on the same so that I may be able to advise further.

    Looking forward to hearing from you soon.

    Earlier you suggested me to remove star rating and service schema to remove the conflict.
    I was using the StarStruck plugin to collect user ratings and to show the aggregate star rating on all blog posts. I have removed that plugin after your recommendation.
    According to Google’s new schema rules, Google will not show the self-serving rating. That is the reason you have removed review schema.
    But Google will show user-generated rating which was done by StarStruck plugin.
    If possible you can add that feature to the RankMath SEO suite.

Viewing 15 replies - 1 through 15 (of 17 total)

You must be logged in to reply to this ticket.