while($post = mysql_fetch_array($display)){
echo '<div class="banat">';
echo $post['content'];
$items = ThumbsUp::item($post['userID'])->orderby('votes_total')->get();
echo '</div>';
}
I’m trying to display the top voted quotes like instructed here but it keeps saying:
Fatal error: Call to undefined method ThumbsUp_Item::orderby()
As you can see in the doc page you linked, the function
orderbyis applied toitems()and notitem(). I think this is the problem.