Fatal error: Uncaught exception 'Exception' with message '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 '-12' at line 1' in /home/inhousel/public_html/lib/dao/class/sql/QueryExecutor.class.php:26 Stack trace: #0 /home/inhousel/public_html/lib/dao/class/mysql/ProductGalleryMySqlDAO.class.php(177): QueryExecutor::execute(Object(SqlQuery)) #1 /home/inhousel/public_html/lib/dao/class/mysql/ext/ProductGalleryMySqlExtDAO.class.php(20): ProductGalleryMySqlDAO->getList(Object(SqlQuery)) #2 /home/inhousel/public_html/controllers/ProductsGalleryController.php(24): ProductGalleryMySqlExtDAO->getByProductId(15, 0, 12, -12) #3 /home/inhousel/public_html/controllers/ProductsController.php(27): ProductsGalleryController::getGalleryById(15, 0) #4 /home/inhousel/public_html/index.php(66): ProductsController::renderProductsListPage() #5 [internal function]: categoryType() #6 /home/inhousel/public_html/lib/limonade.php(388): call_user_func('categoryTyp in /home/inhousel/public_html/lib/dao/class/sql/QueryExecutor.class.php on line 26