AH01071: Got error 'PHP message: PHP Fatal error: Call to a member function row_array() on a non-object in /www/XXXXXXXXXXXXXXXX/model.php on line 424\n'
424行的语句是:
function is_followed($cid, $uid) {
$m = $this->db->query ( "SELECT count(*) as num FROM " . $this->db->dbprefix . "follower WHERE uid=$uid AND cid=$cid" )->row_array ();
return $m ['num'];
}
到底哪里错了!!!!!!!!!!!!!