WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
Error: missing best Rating o worst Rating on google webmaster (19 posts)

  1. discorigido
    Member
    Posted 5 months ago #

    Hello,

    All posts that do not contain votes receive this error on google webmasters, missing best Rating or worst Rating.

    Error: votes field is 0 on richsnippets tools

    Thank you

    https://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 5 months ago #

    Please try on the default twentyforteen theme with no other plugins enabled. I am 100% sure that the best rating is there on my site. So I am guessing it is a conflict with some of your plugin or current theme.

    If you have done that and there is a problem, show me your site with the problem on the default theme and no other plugins activated.

  3. discorigido
    Member
    Posted 5 months ago #

    I enabled default theme (twenty fourteen) and identical problem...

  4. Lester Chan
    Member
    Plugin Author

    Posted 5 months ago #

    What is your site URL? I need the default twentyforteen theme activated with no other plugins activated.

  5. giovanisousa
    Member
    Posted 5 months ago #

    Any news on this subject? same here, unfortunately I can not change the theme, does it have any solution? Current theme: Admired

  6. lntruso
    Member
    Posted 3 months ago #

    I have the same problem, have a solution?

  7. free3dart
    Member
    Posted 1 month ago #

    Webmaster shows error for over 350 posts - Missing: best or worst rating, any solution yet?

  8. Rom
    Member
    Posted 3 weeks ago #

    same problem for me.

    Can you help us Lester please ?

  9. Lester Chan
    Member
    Plugin Author

    Posted 3 weeks ago #

    Unless you guys can reproduce the problem on twentyforteen without any other plugins activated, let me know.

    On my own test site with my plugins and twentyforteen it works totally fine http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Flesterchan.net%2Fwordpress_dev%2F2014%2F02%2F18%2Ftest-789%2F

    I will not be able to help if it is on a different themes and plugins because there might be conflict generated by other plugins/themes.

  10. nicoblog
    Member
    Posted 3 weeks ago #

    I think it happens on all the posts that have no votes, since your test post has 1 vote the error doesn't show up.

  11. nicoblog
    Member
    Posted 3 weeks ago #

    I'm no expert but i think setting
    bestrating, ratingvalue and ratingcount to 0 for posts without votes would solve the problem.

  12. Lester Chan
    Member
    Plugin Author

    Posted 3 weeks ago #

    I am no expert with Google Rich Snippet as well. If you have no ratings ie ratingCount is 0, Google will not show it as well.

  13. nicoblog
    Member
    Posted 3 weeks ago #

    I see well, can you give this a test on your site?
    For example grab this post:
    http://lesterchan.net/wordpress_dev/2014/02/18/asdsad-2/
    And enable voting on it (make the 5 stars button appear) but don't vote!
    Then use the rich snippets tool to test the url and you should see an error at the bottom:
    "Error: votes field is 0."

    I just want you to see the error.

  14. Lester Chan
    Member
    Plugin Author

    Posted 3 weeks ago #

  15. nicoblog
    Member
    Posted 3 weeks ago #

    There's no way to vote on the post you tested it on:
    http://lesterchan.net/wordpress_dev/2014/02/18/asdsad-2/

  16. Devilirium
    Member
    Posted 3 weeks ago #

    Just solved this problem for myself. Dont know if it help you a lot, because it is specific.
    My case:
    Plugin was ok - thank you for it, Lester.
    The issue was in my theme. I found, that Google shows error in Item Type schema.org/SoftwareApplication.
    Then i found it in my theme code. And noticed that http://schema.org/AggregateRating was inside <div> of http://schema.org/SoftwareApplication.
    I just moved </div> right before rating

    Below the code

    <div itemscope itemtype="http://schema.org/SoftwareApplication">
          <meta itemprop="name" content="<?php the_title(); ?>" />
          <meta itemprop="image" content="<?php myabp_print_thumbnail_url(); ?>" />
          <meta itemprop="description" content="<?php echo get_the_excerpt(); ?>" />
          <meta itemprop="softwareApplicationCategory" content="GameApplication" />
    	  </div>
          <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
            <span itemprop="ratingCount"><?php echo $ratings_user; ?></span> <?php _e('votes','xl'); ?>, <?php _e('average:','xl'); ?> <span itemprop="ratingValue"><?php echo $rating_average; ?></span>/<span itemprop="bestRating"><?php echo $ratings_max; ?></span>
    
        </div>
  17. Lester Chan
    Member
    Plugin Author

    Posted 3 weeks ago #

    Thanks for sharing Devilirium =)

  18. nicoblog
    Member
    Posted 3 weeks ago #

    Err what? Where did you get a "SoftwareApplication" div? the plugin doesn't create such a div at least for me, or it's something you decide to add on your own?

    I noticed the error only happens on multisites, just not on the main site but all the others. example:

    asd.com <- no errors
    asd.com/banana/ <-all errors (banan being a multisite folder not a category or random slug)

  19. Devilirium
    Member
    Posted 2 weeks ago #

    It is arcade game site, so it is heavily customized.

    sorry im not a coder, just a normal user of wordpress, so my suggestion based on what i investigate:

    1. To understand in what section the error appears (by google tool). Look .php page where it appears. Try to play with code, and look for closing things like <div>. For me it was like hundred times of fail and trial =)

    2. Contact developer. I bet it is something in his code, so if you paid for theme, you have all rights to get the answer from professionals

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.