Hi I am trying to get ratings for each review. I am able to get the reviews for each product.
This is my review variable
$_review but when I tried to get rating it doesn't work. The below code should work, but it returns
Error filtering template: Warning: count(): Parameter must be an array or an object that implements Countable
<?php if (count($_review->getRatingVotes())) : ?>
Am I missing something here?