Notice: Trying to get property of non-object in /home/imobiliariadaven/public_html/views/imovel.php on line 63

Fatal error: Uncaught exception 'Exception' with message 'Unable to execute SQL statement. 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/imobiliariadaven/public_html/class/SimpleOrm.class.php:722 Stack trace: #0 /home/imobiliariadaven/public_html/views/imovel.php(63): SimpleOrm::sql('SELECT * FROM t...') #1 /home/imobiliariadaven/public_html/class/Front_Controller.class.php(96): include('/home/imobiliar...') #2 /home/imobiliariadaven/public_html/views/layouts/default.php(4): Front_Controller::carregaConteudo() #3 /home/imobiliariadaven/public_html/class/Front_Controller.class.php(91): include('/home/imobiliar...') #4 /home/imobiliariadaven/public_html/index.php(8): Front_Controller->trataRequisicao() #5 {main} thrown in /home/imobiliariadaven/public_html/class/SimpleOrm.class.php on line 722