It was plugin "Haggis Top Poster" that was causing the message to display. Once I disabled that Plugin the error message went away.
This is the plugin code that caused my error message problem.
PHP Code:
$rows = 10;
$query="select * from " . TABLE_PREFIX . "user ORDER BY posts desc limit $rows";
$rt=mysql_query($query);
echo mysql_error();
while($nt=mysql_fetch_array($rt)){
$test .= "<a href='member.php?u=$nt[userid]'>$nt[username]</a> ($nt[posts]), ";
}