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 MariaDB server version for the right syntax to use near '-16' at line 1 in /home/users/b3b/www/3b3.ru/models/Category.php:11
Stack trace:
#0 /home/users/b3b/www/3b3.ru/models/Category.php(11): PDOStatement->execute()
#1 /home/users/b3b/www/3b3.ru/public/index.php(24): Category::getProducts()
#2 {main}
thrown in /home/users/b3b/www/3b3.ru/models/Category.php on line 11