• Resolved KLarpen

    (@klarpen)


    After the v4.3.4 update, there is a problem with json-ld: output for review seems like broken. Google notifies “A value for the author field is required.” The actual code contains review":true, instead of the full structure.

    BTW, I had hidden the reviewBody field in the submission form and reviews output as well. That’s to show just rating. Maybe the problem here?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Fixed in v4.3.5

    If you are only collecting ratings and not reviews, then it would be best to enable the schema on the summary block/shortcode instead.

    Thread Starter KLarpen

    (@klarpen)

    Thank you for the blazingly fast troubleshooting!

    After update “author” field required error is gone, but new error started popping up

    “One of offers or review or aggregateRating should be provided”

    blxtrainig.com

    Thread Starter KLarpen

    (@klarpen)

    Hi again, @geminilabs The @biologix wrote about the real issue, I’ve got the same. The problem with new schema attribute itemReviewed with points to the not completed Product generated by the plugin itself.

    Plugin Author Gemini Labs

    (@geminilabs)

    @klarpen @biologix

    Really sorry guys, I guess this sometimes happens when juggling three projects at once without enough time to thoroughly perform testing!

    I will release v4.3.6 in a few min that should hopefully fix this correctly.

    Thread Starter KLarpen

    (@klarpen)

    I don’t need itemReviewed in my project, because I integrating the schema from Site Reviews into my logic based on Yoast Schema API.

    At the time of site-reviews/schema/Product execution, there is no itemReviewed, so I can’t just unset($schema['itemReviewed']);

    Plugin Author Gemini Labs

    (@geminilabs)

    When you enable the schema on the [site_reviews] shortcode, it includes a Review schema inside the main Product schema for each visible review on the page (the [site_reviews_summary] shortcode does not include schema for visible reviews).

    Because the reviews are added as child schema of the Product, the @context and itemReviewed properties of each Review schema are automatically removed.

    The issue you were experiencing was happening because the update broke the part that automatically removed those properties.

    v4.3.6 fixes that.

    Thank you for prompt fix. Appreciate it.

    Thread Starter KLarpen

    (@klarpen)

    All OK at my project. Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error with schema: “review”:true’ is closed to new replies.