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 INSTR(STATUS,'ALUGUEL')>0 AND ( ( VLR_ALUGUEL >= 2000 AND VLR_ALUGUEL <= 3000 ) ) AND ( DORMITORIO=3 ) AND ( SUITE>=4 ) AND ( VAGAS=4m%2C2 )
Error:
Unknown column '4m' in 'where clause'