Uncaught Exception: SqlException

Message:
invalid query:- SELECT * FROM users WHERE id =
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 '' at line 1
Created in file /home/streamup/public_html/GL/lib/database/SqlDatabaseManager.class.php on line 148.

Stack Trace:
#0 /home/streamup/public_html/appcode/datamanager/UserDataManager.class.php(75): SqlDatabaseManager->executeQuery('SELECT * FROM u...')
#1 /home/streamup/public_html/protected/controller/uploads.php(594): UserDataManager->getUserBasicInfo(NULL)
#2 [internal function]: uploads->streamview('14585')
#3 /home/streamup/public_html/GL/lib/RegisterCallback.class.php(8): call_user_func_array(Array, Array)
#4 /home/streamup/public_html/GL/lib/Application.class.php(47): RegisterCallback::register(Object(uploads), 'streamview', Array)
#5 /home/streamup/public_html/index.php(14): Application::run(Object(HttpRequest))
#6 {main}
5.
In file /home/streamup/public_html/appcode/datamanager/UserDataManager.class.php line 75.
Method: SqlDatabaseManager->executeQuery([$query FILTERED])
4.
In file /home/streamup/public_html/protected/controller/uploads.php line 594.
Method: UserDataManager->getUserBasicInfo([$user_id FILTERED])
3.
In file unknown line unknown.
Method: uploads->streamview([$streamid FILTERED])
2.
In file /home/streamup/public_html/GL/lib/RegisterCallback.class.php line 8.
Method: call_user_func_array([$function_name FILTERED], [$parameters FILTERED])
1.
In file /home/streamup/public_html/GL/lib/Application.class.php line 47.
Method: RegisterCallback::register([$class FILTERED], [$funcName FILTERED], [$args FILTERED])
0.
In file /home/streamup/public_html/index.php line 14.
Method: Application::run([$request FILTERED])