SELECT count(*) as total, intid FROM content_static_lang WHERE seo = 'informacao-legal' LIMIT 1
In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'siorto_db.content_static_lang.intid'; this is incompatible with sql_mode=only_full_group_by