Log activity crashes when using “group by”

This is caused due to a custom property with reserved name, most likely “Count”.
Check under custom property management to see which recently created CEPs are using reserved names, and delete them via PSQL.
select * from ariel_property where propertyname=’Count’; (or any other CEP name)
update ariel_property set propertyname=’Count1′ where propertyname=’Count’;