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 15 in /www/global/paginator.php:39 Stack trace: #0 /www/global/paginator.php(39): PDO->query('select \n news....') #1 /www/elements/main/news/news_list.php(32): Paginator->getData(5, '0') #2 /www/elements/main/news/index.php(14): include('/www/elements/m...') #3 /www/elements/main.php(34): include('/www/elements/m...') #4 /www/index.php(52): include('/www/elements/m...') #5 {main} thrown in /www/global/paginator.php on line 39