Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: mode must be an integer in /home/vhosts/nawak.com/httpdocs/system/user.php:23 Stack trace: #0 /home/vhosts/nawak.com/httpdocs/system/user.php(23): PDO->query('select id from ...', 'id') #1 /home/vhosts/nawak.com/httpdocs/index.php(154): include_once('/home/vhosts/na...') #2 {main} thrown in /home/vhosts/nawak.com/httpdocs/system/user.php on line 23