Hi Arien,
Thanks a lot for your query and we are so sorry about the trouble this must have caused.
I do not see the ratings Schema in your page’s source code:
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fwww.koffiekwaliteit.nl%2Fkoffiebonen%2Fproefpakket-koffiebonen%2F
Did you make any changes to your website recently?
Are you using the latest version of Rank Math.
If you want to speed up the whole process of troubleshooting, please include your WP logins in the sensitive data section so we can take a closer look.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hi Todd,
As far as I can remember I have made no changes. I did install a new plugin Subscriptions, but this has not been activated.
Also using the latest RM version.
Please find login details in Sensitive section.
Again thanks for diving in to this!
Arien
Hello,
I see the issue on your site but I couldn’t reproduce it on my setup.
Can you add your site’s FTP access in the Sensitive Data Section so we could check the issue by editing some files?
Looking forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hi Arien,
Thanks for the reply.
We are checking this further and we will be in touch in a short while.
Your patience is highly appreciated.
Thanks for the update, take alle the time you need to solve this.
Arien
Hello,
The error you were getting in Schema data was in the isSimilar attribute of the Product schema. To remove this attribute, I added the following code in your theme’s functions.php file:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
if ( isset( $entity['isSimilarTo'] ) ) {
unset( $entity['isSimilarTo'] );
}
return $entity;
});
This seemed to have fixed the issue. Can you please confirm?
Thank you.
Hello Pratik,
Many thanks for that!
1) I do not know when this will be visible in google search results, but I will monitor it the next 2 weeks and let you know.
2) you wrote you put it in theme functions file. Will be it lost then after a theme upgrade? I have a child theme as well. Would it be safer if you would put the code there?
regards, Arien
Hello,
About question 1: yes, let us know what happens in the next weeks.
About question 2: yes, you can put it on the functions.php file in your child theme (be sure to have the child theme active) so next time when you update the theme, that code is not lost.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.