Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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' in /usr/local/www/vhosts/testzgpb/trade/class/trade.class.php:280
Stack trace:
#0 /usr/local/www/vhosts/testzgpb/trade/class/trade.class.php(280): PDO->query('SELECT user_gra...')
#1 /usr/local/www/vhosts/testzgpb/trade/detail(29): trade->getUserInfo(NULL)
#2 {main}
thrown in /usr/local/www/vhosts/testzgpb/trade/class/trade.class.php on line 280