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 MariaDB server version for the right syntax to use near '-10, 10' at line 1 in /opt/lampp/htdocs/templates/default5/ch/publications/publications.php:26 Stack trace: #0 /opt/lampp/htdocs/templates/default5/ch/publications/publications.php(26): PDO->query('SELECT publicat...') #1 /opt/lampp/htdocs/ch/publications/publications.php(17): include_once('/opt/lampp/htdo...') #2 {main} thrown in /opt/lampp/htdocs/templates/default5/ch/publications/publications.php on line 26