Issue with Custom Roles in Multisite

So, thanks to kaiser, I was able to figure it out. I had to do two things to make this work.

First, I noticed that disabling the WP User Avatar plugin was causing the errors to disappear. I looked and realized that a setting was checked “allow subscribers and contributors to edit their avatars.” Unchecking it and saving it for each site made the errors disappear.

The other thing I had to do, is that the change would not carry through to other sites (even though the errors were gone), so I moved that entire function from the theme to a plugin in the mu-plugins folder. This made it run all the time (and for every site) so all the changes were occurring without error.

Leave a Comment