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 MariaDB server version for the right syntax to use near '-9' at line 1' in /home/users/c/continent/domains/test.conti-opt.ru/models/Product.php:617
Stack trace:
#0 /home/users/c/continent/domains/test.conti-opt.ru/models/Product.php(617): PDOStatement->execute()
#1 /home/users/c/continent/domains/test.conti-opt.ru/controllers/CatalogController.php(117): Product::getProductsListByNomenclature('0', 'user')
#2 [internal function]: CatalogController->actionCategory('0', 'user', 'register')
#3 /home/users/c/continent/domains/test.conti-opt.ru/components/Router.php(78): call_user_func_array(Array, Array)
#4 /home/users/c/continent/domains/test.conti-opt.ru/index.php(18): Router->run()
#5 {main}
thrown in /home/users/c/continent/domains/test.conti-opt.ru/models/Product.php on line 617