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 ')) ORDER BY `data-inicial` DESC LIMIT 50, 10' at line 1 in /home/redepaulistana/public_html/sistema/usr/db/db.php:506
Stack trace:
#0 /home/redepaulistana/public_html/sistema/usr/db/db.php(506): PDO->query()
#1 /home/redepaulistana/public_html/sistema/app/cms/cms.php(234): DB->select()
#2 /home/redepaulistana/public_html/sistema/app/cms/cms.php(229): cms->get()
#3 /home/redepaulistana/public_html/paginas/noticias/noticias.php(33): cms->__call()
#4 /home/redepaulistana/public_html/index.php(106): require_once('/home/redepauli...')
#5 {main}
Next Exception: 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 ')) ORDER BY `data-inicial` DESC LIMIT 50, 10' at line 1 in /home/redepaulistana/public_html/sistema/usr/db/db.php:509
Stack trace:
#0 /home/redepaulistana/public_html/sistema/app/cms/cms.php(234): DB->select()
#1 /home/redepaulistana/public_html/sistema/app/cms/cms.php(229): cms->get()
#2 /home/redepaulistana/public_html/paginas/noticias/noticias.php(33): cms->__call()
#3 /home/redepaulistana/public_html/index.php(106): require_once('/home/redepauli...')
#4 {main}
thrown in /home/redepaulistana/public_html/sistema/usr/db/db.php on line 509