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 '-12' at line 1 in /home/kappecom/public_html/app/libraries/Database.php:64 Stack trace: #0 /home/kappecom/public_html/app/libraries/Database.php(64): PDOStatement->execute() #1 /home/kappecom/public_html/app/libraries/Database.php(69): Database->execute() #2 /home/kappecom/public_html/app/models/Product.php(75): Database->resultSet() #3 /home/kappecom/public_html/app/controllers/Products.php(27): Product->getProducts(12, -12, NULL, NULL, 'newest') #4 /home/kappecom/public_html/app/libraries/Core.php(40): Products->index() #5 /home/kappecom/public_html/public/index.php(10): Core->__construct() #6 {main} thrown in /home/kappecom/public_html/app/libraries/Database.php on line 64