- Issue created by @droprocker
- First commit to issue fork.
- 🇦🇺Australia oceanic Melbourne, Victoria
I've made a quick fix for this, adding the nonaggregated column "t.parent_type" to the GROUP BY clause, which still gives me the same output as the query beforehand and should fix the issue.
- 🇧🇬Bulgaria pfrenssen Sofia
I can confirm the patch fixes the reported error. There are some other queries that also need to be updated to be compatible with
only_full_group_by
. Let's fix those also in scope of this issue.Example:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 't.entity_type' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by