I'm in the same boat, got into this issue after updating to D10 and CK5
mabdullah91 β created an issue.
we are facing the same issue, we didn't assign any role by code. it's simply an issue if we have an outside role assigned to more than 1 Drupal role. It throws an error message:
Drupal\flexible_permissions\CalculatedPermissionsScopeException: The calculator "Drupal\group\Access\IndividualGroupPermissionCalculator" returned permissions for scopes other than "individual". in Drupal\flexible_permissions\ChainPermissionCalculator->calculatePermissions() (line 145 of /code/web/modules/contrib/flexible_permissions/src/ChainPermissionCalculator.php).
The workaround I can think of is to write a script to make people members of all the groups so they can see the groups even when they are not administrator.
I'm getting the same error message, everything was working fine until I upgraded it from 1.6 to 2.2 and its producing this error while trying to run drush cr or drush updb or even drush cex.