I'm trying to get Vote count to show on my tag page with this code in tag.php
But I ended up getting this error which I cannot figure out.
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 >_<
$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 846Anyone 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 >_<