ERRO BANCO: Consulta Inválida:
SELECT t2.id_usuario,t2.id,t1.id,t1.foto_perfil FROM pets as t1,criadores as t2,tipos_racas as t3,pets_tipos_racas as t4,usuario as t5 WHERE t1.id_criadores=t2.id_criadores AND t3.id='terra-nova' AND t3.id_tipos_racas=t4.id_tipos_racas AND t1.id_pets=t4.id_pets AND t2.id_usuario=t5.id_usuario AND t2.status='A' AND t5.status='A' GROUP BY t1.id ORDER BY t1.id_pets DESC LIMIT 21

Erro Mysql -> Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'petweb2.t2.id_usuario' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by