Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when saving after removing all groups from a user #2296

Closed
Derkades opened this issue Jun 27, 2021 · 2 comments
Closed

Error when saving after removing all groups from a user #2296

Derkades opened this issue Jun 27, 2021 · 2 comments

Comments

@Derkades
Copy link
Member

Derkades commented Jun 27, 2021

in_array(): Argument #2 ($haystack) must be of type array, null given
(File: /data/modules/Core/pages/panel/users_edit.php)

/data/modules/Core/pages/panel/users_edit.php line 245

/panel/users/edit/?id=1

@Derkades Derkades added the bug label Jun 27, 2021
@Derkades Derkades added this to the 2.0.0-pr11 milestone Jun 27, 2021
@Derkades
Copy link
Member Author

Only happens with admin users, normal users give a "You must select a user's group" error when trying to save with no groups selected. For the admin user, the primary group is not included in the secondary group selection box while for normal users it is.

@samerton
Copy link
Member

Duplicate of #2335

@samerton samerton marked this as a duplicate of #2335 Aug 24, 2021
@Derkades Derkades added duplicate and removed bug labels Aug 24, 2021
@Derkades Derkades removed this from the 2.0.0-pr11 milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants