Erro ao selecionar da tabela 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 '' at line 1
Fatal error: Uncaught exception 'PDOException' with message '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 '' at line 1' in /home/storage/9/5c/74/noticiasgoias1/public_html/App/Conn/Persistence.php:155
Stack trace:
#0 /home/storage/9/5c/74/noticiasgoias1/public_html/App/Conn/Persistence.php(155): PDOStatement->execute()
#1 /home/storage/9/5c/74/noticiasgoias1/public_html/App/Models/NoticiaModel.php(326): Persistence->update('Noticias', 'hits_noticia', 1, ' id_noticia =')
#2 /home/storage/9/5c/74/noticiasgoias1/public_html/App/Views/Website/NoticiaView.php(35): NoticiaModel->atualizaNoticia()
#3 /home/storage/9/5c/74/noticiasgoias1/public_html/App/Views/Website/NoticiaView.php(74): NoticiaView->assignIncludes()
#4 /home/storage/9/5c/74/noticiasgoias1/public_html/App/Views/Website/NoticiaView.php(23): NoticiaView->buildHTML()
#5 /home/storage/9/5c/74/noticiasgoias1/public_html/App/ in /home/storage/9/5c/74/noticiasgoias1/public_html/App/Conn/Persistence.php on line 155