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()
#1 /elements/main/products/products_list.php(80): Paginator->getData()
#2 /elements/main/products/index.php(14): include('...')
#3 /elements/main.php(33): include('...')
#4 /index.php(62): include('...')
#5 {main}
thrown in /global/paginator.php on line 39