-
Notifications
You must be signed in to change notification settings - Fork 116
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
PHP Warning when deleting network users #579
Comments
shadyvb
added a commit
that referenced
this issue
Jun 24, 2014
The fix in 0c110ce should clear the error message, as AFAIK no roles are associated to network users, only site users have those. |
@lukecarbis We should also handle the issue of |
lukecarbis
added a commit
that referenced
this issue
Jun 25, 2014
Return array instead of null if found no roles for a deleted user #579
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following when deleting network users as part of a bulk actioin from
wp-admin/network/users.php
:callback_deleted_users()
is trying to implode the return ofget_role_labels()
for a user, but that user no longer exists soNULL
is returned.I have some other custom stuff going on, but I don't see anywhere that I'm hooked into the user deletion process, so I think this would happen anywhere. Happy to troubleshoot or dig more if needed.
This also results in records that look like this:
The text was updated successfully, but these errors were encountered: