Fatal error: Uncaught exception 'Exception' with message 'DB. Error in query. 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 'where id=' at line 1( update users set name='', surname='', nickname='', city='', sex= where id= )' in /home/ftpaccess/otzuv.ru/www/class/ConnectionClass.php:46 Stack trace: #0 /home/ftpaccess/otzuv.ru/www/class/UserClass.php(170): ConnectionClass->run('update users se...') #1 /home/ftpaccess/otzuv.ru/www/profile-save.php(21): UserClass->save('', '', '', '', '') #2 {main} thrown in /home/ftpaccess/otzuv.ru/www/class/ConnectionClass.php on line 46