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 '-5, 5' at line 21 in /global/paginator.php:39
Stack trace:
#0 /global/paginator.php(39): PDO->query('select \n produ...')
#1 /elements/main/products/products_list.php(80): Paginator->getData('5', '0')
#2 /elements/main/products/index.php(14): include('/elements/main/...')
#3 /elements/main.php(33): include('/elements/main/...')
#4 /index.php(61): include('/elements/main....')
#5 {main}
thrown in /global/paginator.php on line 39