Fatal error: Uncaught mysqli_sql_exception: 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 /home2/eldpwd/lecitina.com.br/lib/dao/BancoDeDados.class.php:29 Stack trace: #0 /home2/eldpwd/lecitina.com.br/lib/dao/BancoDeDados.class.php(29): mysqli_query(Object(mysqli), 'SELECT * FROM v...') #1 /home2/eldpwd/lecitina.com.br/lib/dao/NewsletterDAO.php(31): BancodeDados->executar('SELECT * FROM v...') #2 /home2/eldpwd/lecitina.com.br/lib/logic/NewsletterLogic.php(9): NewsletterDAO->getPorId(NULL) #3 /home2/eldpwd/lecitina.com.br/lib/control/NewsletterController.php(15): NewsletterLogic::carregar(NULL) #4 /home2/eldpwd/lecitina.com.br/page-newsletter.php(3): NewsletterController->__construct() #5 /home2/eldpwd/lecitina.com.br/index.php(71): require_once('/home2/eldpwd/l...') #6 {main} thrown in /home2/eldpwd/lecitina.com.br/lib/dao/BancoDeDados.class.php on line 29