Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "At least one of ratingCount or reviewCount is required." #64

Closed
jmastr opened this issue Mar 10, 2019 · 0 comments
Closed

Error "At least one of ratingCount or reviewCount is required." #64

jmastr opened this issue Mar 10, 2019 · 0 comments

Comments

@jmastr
Copy link
Contributor

jmastr commented Mar 10, 2019

Hi,

first of all great plugin! I really like it!

Initially if you enable the plugin with Google Rich Snippet support and you don't have any reviews yet the markup is not valid:

Bildschirmfoto 2019-03-10 um 18 44 22

It says:

  • Field ratingValue may not be empty.
  • At least one of ratingCount or reviewCount is required.

One solution is to check if score is greater than 0. I will create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant