Fatal error: Uncaught Exception: Column 'id' in ORDER BY is ambiguous query: SELECT SQL_CALC_FOUND_ROWS * FROM imoveis I INNER JOIN imoveis_categorias CA on CA.id = I.id_categoria LEFT JOIN imoveis_enderecos E on E.id_imovel = I.id AND E.id_condominio IS NULL WHERE status = ? AND CA.slug = 'barracao' ORDER BY exclusividade DESC, destaque DESC, id DESC LIMIT 0, 12 in /home/elenomartins/www/vendor/thingengineer/mysqli-database-class/MysqliDb.php:2022
Stack trace:
#0 /home/elenomartins/www/vendor/thingengineer/mysqli-database-class/MysqliDb.php(1605): MysqliDb->_prepareQuery()
#1 /home/elenomartins/www/vendor/thingengineer/mysqli-database-class/MysqliDb.php(755): MysqliDb->_buildQuery(Array)
#2 /home/elenomartins/www/vendor/thingengineer/mysqli-database-class/MysqliDb.php(2419): MysqliDb->get('imoveis I', Array, '*')
#3 /home/elenomartins/www/core/libraries/DataFlow.php(198): MysqliDb->paginate('imoveis I', '1', '*')
#4 /home/elenomartins/www/core/libraries/Properties.php(47): DataFlow->search('1', 12)
#5 /home/elenomarti in /home/elenomartins/www/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 2022