Erros ao tentar executar a query
Error Code: 22P02
Descricao: ERROR: invalid input syntax for integer: ""
Query: SELECT * FROM anuncios_tipo at , anuncios_ddd ad WHERE at.status = 't' AND at.tipo_anuncio <> 'A' and ad.ddd = '' and at.id = ad.id_anuncio_tipo ORDER BY tipo_anuncio, valor_anuncio DESC
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""