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 '-6, 6' at line 1 in /home/tabetcom/public_html/admin/pdo/class.php:32
Stack trace:
#0 /home/tabetcom/public_html/admin/pdo/class.php(32): PDOStatement->execute()
#1 /home/tabetcom/public_html/admin/pdo/class.php(42): consulta->pegaDb('SELECT *, date_...', Array)
#2 /home/tabetcom/public_html/pages/noticias.php(15): consulta->select('SELECT *, date_...', Array)
#3 /home/tabetcom/public_html/index.php(5): include('/home/tabetcom/...')
#4 {main}
thrown in /home/tabetcom/public_html/admin/pdo/class.php on line 32