[2023-02-01 13:41:52] (ERROR @ /www/core/xpdo/om/xpdoquery.class.php : 770) Encountered empty IN condition with key usergroup
[2023-02-01 13:41:52] (ERROR @ /www/core/xpdo/om/xpdoobject.class.php : 240) Error 42000 executing statement:
 => 42000
 => 1064
 => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘) OR ( ProfileUserGroup.usergroup IS NULL AND UGProfile.active = 1 )…’ at line 1
The only example I could find where there’s no sanity check for the ProfileUserGroup.usergroup being empty before a query is in the Form Customization code (line 254) of the default user/create controller.