SQL Query with SUM and GROUP BY stopped working

SQL Query with SUM and GROUP BY stopped working

Hi,

I have the following query: 
SELECT "MESBRASIL", "PRODUTOMETA", "Qtd", "Valor" ,"DESCFMCOM", "MÊS", "TIPO PEDIDO", SUM ("VALOR TOTAL ITEM")
FROM "Mytable2"
JOIN "Meta Brasil"
ON "PRODUTOMETA" = "DESCFMCOM" 
ON "MESBRASIL" = "MÊS"
GROUP BY "MÊS"

and I got the message error:

Query Error: Improper usage of GROUP BY clause.
Please ensure that all the non aggregate columns used in the SELECT clause is also used in GROUP BY clause.

This was correct some time ago, being able to save the query table, but now it's showing this error... Nothing changed in my DB. I have 2 more queries using SUM and GROUP BY and the same behavior. Both was used before too,