#0 db->halt(SELECT COUNT(*) FROM ask_user_attention WHERE uid= AND followerid=0, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND followerid=0' at line 1, 1) called at [/home/wwwroot/www.ipmtalk.com/ask2/lib/db.class.php:64] #1 db->query(SELECT COUNT(*) FROM ask_user_attention WHERE uid= AND followerid=0) called at [/home/wwwroot/www.ipmtalk.com/ask2/lib/db.class.php:42] #2 db->result_first(SELECT COUNT(*) FROM ask_user_attention WHERE uid= AND followerid=0) called at [/home/wwwroot/www.ipmtalk.com/ask2/application/model/doing.class.php:52] #3 doingmodel->is_followeduser(, 0) called at [/home/wwwroot/www.ipmtalk.com/ask2/application/model/doing.class.php:43] #4 doingmodel->get_by_uid(2) called at [/home/wwwroot/www.ipmtalk.com/ask2/application/model/doing.class.php:188] #5 doingmodel->list_by_type(my, 10014, 0, 15) called at [/home/wwwroot/www.ipmtalk.com/ask2/application/control/user.php:1044] #6 usercontrol->onspace() called at [/home/wwwroot/www.ipmtalk.com/ask2/application/model/sowenda.class.php:124] #7 sowenda->run() called at [/home/wwwroot/www.ipmtalk.com/ask2/index.php:26]

SELECT COUNT(*) FROM ask_user_attention WHERE uid= AND followerid=0
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND followerid=0' at line 1