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 MariaDB server version for the right syntax to use near 'order by rand()' at line 1' in /home/webservice/public_html/functions/smartyphp.php:376 Stack trace: #0 /home/webservice/public_html/functions/smartyphp.php(376): PDOStatement->execute() #1 /home/webservice/public_html/templates_c/164059/d3cdf4b07cbb2d0d9c9e37f57cd2a545b2953130.file.imoveis.html.php(44): smarty_function_imoveis_busca(Array, Object(Smarty_Internal_Template)) #2 /home/webservice/public_html/libs/smartyphp/sysplugins/smarty_internal_templatebase.php(182): content_5e6254009ac5b2_04013555(Object(Smarty_Internal_Template)) #3 /home/webservice/public_html/libs/smartyphp/sysplugins/smarty_internal_templatebase.php(377): Smarty_Internal_TemplateBase->fetch('imoveis.html', NULL, NULL, NULL, true) #4 /home/webservice/public_html/index.php(19): Smarty_Internal_Templat in /home/webservice/public_html/functions/smartyphp.php on line 376