If you have no prefix on table names, your groups table is groups, which is, as we all know now, a reserved keyword in MySQL 8.
In the user manager, the frontend performs an AJAX query on pwg.users.getList and it fails because:
[mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near 'groups WHERE name LIKE '%%'' at line 1
SELECT id FROM groups WHERE name LIKE '%%'; in include/dblayer/functions_mysqli.inc.php on line 847
the "groups" word should be escaped by backticks
why do we send a filter "%%" by default?
If you have no prefix on table names, your groups table is `groups`, which is, as we all know now, a reserved keyword in MySQL 8.
In the user manager, the frontend performs an AJAX query on `pwg.users.getList` and it fails because:
> [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds
> to your MySQL server version for the right syntax to use near 'groups WHERE name LIKE '%%'' at line 1
> SELECT id FROM groups WHERE name LIKE '%%'; in include/dblayer/functions_mysqli.inc.php on line 847
1) the "groups" word should be escaped by backticks
2) why do we send a filter "%%" by default?
<!-- github-sync-id:1051756972 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
If you have no prefix on table names, your groups table is
groups, which is, as we all know now, a reserved keyword in MySQL 8.In the user manager, the frontend performs an AJAX query on
pwg.users.getListand it fails because: