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 'and deletado = 0) ORDER BY `id` desc LIMIT 3' at line 1 in /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute()
#1 /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute()
#2 /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#3 /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query()
#4 /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query()
#5 /htdocs/home/marycohenadv in /htdocs/home/marycohenadvocacia.com.br/www/ZEND/library/Zend/Db/Statement/Pdo.php on line 235