Skip to content

Fix code incompatible with sql_mode=only_full_group_by #76

@PhantomWatson

Description

@PhantomWatson

CommunitiesTable::findAdminIndex() has a GROUP BY clause that appears incompatible with sql_mode=only_full_group_by. This method isn't actually used, so it's not currently generating any error to confirm that.

Options:

  • Remove this unused method so it can't hurt anyone
  • Replace ->group('Communities.id') with different code that's compatible with only_full_group_by
  • Reconfigure MySQL to disable only_full_group_by

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions