I'm trying to get Vote count to show on my tag page with this code in tag.php
$votes_count = K2ModelItem::getVotesNum($item->id);
echo $votes_count;
But I ended up getting this error which I cannot figure out.
Fatal error: Call to undefined method K2ViewItemlist::getRating() in /components/com_k2/models/item.php on line 846
Anyone mod or coder who can help me solve this error? I managed to get Vote Counts showing on category list, so now I'm trying to do the same for tag listing but I don't get why the error message >_<