Review has multiple aggregate rating

#46732
Viewing 15 replies - 16 through 30 (of 34 total)
  • Hello Michael Davis,

    I have the error about multiple aggregate ratings on this product too: https://www.masseriapapone.com/prodotto/oliere/oliera-ceramica/

    Maybe because it has variations? Any solution?

    Hi Luca,

    Thanks for the reply.

    Yes I’ve noted that as well. I am consulting our dev team about this and I will get back to you in a short while.

    We appreciate your patience. Thank you.

    Todd
    Rank Math free

    Hello,

    We were testing your website but it looks like creating a test product caused the website to go down. Could you please check?

    We will check back in a bit to see if the website is back online.

    Thank you.

    Hello Todd, website is back online. Let me know if you found a solution.
    Thanks

    Hello,

    It looks like the Breadcrumb’s schema is conflicting with the schema added by the Rank Math plugin. Please try adding following code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        $entity['id'] = get_the_permalink() . '/#product';
        return $entity;
    });
    

    I hope that helps.

    Hello Pratik,

    I added the code in my theme’s functions.php file. I went to google search console to validate the error but didn’t work.

    Situation became worse. Now Google Search Console tells me I have multiple aggregate ratings on all my products.

    Hello,

    Can you create a staging site where we can debug this issue? It looks like your theme or one of the plugins active on your site is conflicting with the Rank Math plugin. I don’t get any error when I check the schema code added by Rank Math in Google Structured Data Testing Tool.

    The Testing Tool shows duplicated Review error only when analyzing the entire page. To see what exactly is causing the problem, we’ll have to disable all the plugins on your site one by one.

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Todd
    Rank Math free

    Hi Luca,

    Could you please check the logins?

    They are not working.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for the update.

    This code, added earlier, seems to be causing remove the error: only one aggregate rating can be declared.

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	$entity['id'] = get_the_permalink() . '/#product';
    	return $entity;
    });

    You can remove this on your site to avoid this error while we deeper into your issue.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Ok, I removed it. Let me know if you find something else to solve the problem

    Hi,

    OK. We will keep you updated.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Your child theme is calling wp_head() function twice which is causing problem. A theme should call wp_head() function only once before the closing head tag. I edited the header.php file and I removed the 2nd wp_head() function on line 63. That seemed to have fixed the issue.

    Can you please confirm?

    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.

Viewing 15 replies - 16 through 30 (of 34 total)

The ticket ‘Review has multiple aggregate rating’ is closed to new replies.