Fatal error: Uncaught PDOException: 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/u0444574/data/www/partservis.ru/application/models/model_db.php:29 Stack trace: #0 /var/www/u0444574/data/www/partservis.ru/application/models/model_db.php(29): PDOStatement->execute(Array) #1 /var/www/u0444574/data/www/partservis.ru/application/models/model_code.php(18): DB->select('category', 'id=?', Array) #2 /var/www/u0444574/data/www/partservis.ru/application/controllers/controller_code.php(14): Model_Code->list_parts() #3 /var/www/u0444574/data/www/partservis.ru/application/core/route.php(83): Controller_Code->action_index('') #4 /var/www/u0444574/data/www/partservis.ru/application/bootstrap.php(23): Route::start() #5 /var/www/u0444574/data/www/partservis.ru/index.php(4): require_once('/var/www/u04445...') #6 {main} thrown in /var/www/u0444574/data/www/partservis.ru/application/models/model_db.php on line 29