There is an error on the SQL command.
SQL:
select sql_cache COUNT(CODIGO) as n FROM fbz_imoveis imo WHERE VER_WEB='Sim' AND (STATUS = 'VENDA' OR STATUS = 'ALUGUEL' OR STATUS = 'VENDA E ALUGUEL') AND LANCAMENTO='Sim' AND ( ( VLR_VENDA >= 300000 AND VLR_VENDA <= 500000 ) ) AND ( DORMITORIO=4m%2C3 ) AND ( VAGAS>=4 )
Error:
Unknown column '4m' in 'where clause'