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 /var/www/html/betwyomingsports.com/html/Doctrine/DBAL/Connection.php:721 Stack trace: #0 [internal function]: PDO->query('SELECT * FROM u...') #1 /var/www/html/betwyomingsports.com/html/Doctrine/DBAL/Connection.php(721): call_user_func_array(Array, Array) #2 /var/www/html/betwyomingsports.com/html/functions.php(104): Doctrine\DBAL\Connection->query('SELECT * FROM u...') #3 /var/www/html/betwyomingsports.com/html/profile.php(6): get_info('users', '') #4 {main} thrown in /var/www/html/betwyomingsports.com/html/Doctrine/DBAL/Connection.php on line 721