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.
Related Posts:
- Where are available Roles Defined in the wp_ database?
- Why are my roles not visible in a Multi-site/Network?
- Site admin in a network install can’t edit users?
- Troubleshooting a “You do not have sufficient permissions to access this page” error
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- How can I display all Multisite blogs where this user is administrator?
- Add role across network in multisite
- Restrict users on multisite WordPress install
- Possible to make custom role in multisite that can add sites?
- Prevent user creating new users with specific roles
- WordPress Multisite Layered Admins
- How To Remove Dashboard Menu Items for Multisite Users?
- How to get a user role of a specific blog in multisite?
- Can wp-cli display all users and their roles across all sites in a multisite instance?
- Can simple Admin save options in a Multisite?
- Identical members roles on all sites in a multisite
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- create_users capabilities on a role on multisite
- Within the database, where is the flag which says that a user has Super Admin rights?
- Update User Role Across Network when Main Site User is Updated
- Assign role to user on first login, if they are first (after admin)
- Avoid having infinite loops
- Get the User ID Who Owns a Given Blog ID in Multisite
- Create custom role, multisite, add users/sites?
- Make a user administrator to a sub directory site and a contributor to main site in multisite network
- access the plugins for each role in WordPress multisite
- How to change user starting role in WordPress MultiSite?
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Multisite user roles – capabilities not working
- Create Custom Multisite User Role to Reduce Capabilities
- Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite
- Admin permission for creating blogs in multisite
- Remove superadmin role from the “change role to” menu in user listing
- Copy user role on multisite so the user can access subsites with same role
- How to change a user role after registering in multisite?
- How to sync roles across Multisite?
- Multisite network admin – User’s role not showing up
- WordPress Multisite Add User
- WordPress multisite, allow non super admins to create sites
- WPMU If MU site has no administrator, deactivate site
- Give users acces to admin a single post or set up WP network?
- can’t create user without email for an author after converting single site to multisite
- Easily adding multiple existing users to a multisite site
- Language per user role, how can I achieve this?
- Admin users not able to see network menus
- let user select roles in the wordpress subsites
- Redirect a user roll to a page after login in mutlisite network
- User Roles in multisite – odd behavior
- WordPress single sign on using cookies with shared user role functionality between more than 2 wordpress subdomains
- A different role for each site in a multisite
- Multisite error when adding a user: already a member of this site
- How to create child/sub user under parent user
- How create a multisite setup with “phantom” accounts and passwords?
- Multisite vs Role Scoper
- Get users from all/specific blog by user_role and current_user role
- Is there any way to give all users access to one blog in a multisite network without using a plugin?
- How can I display all Multisite blogs where this user is administrator?
- How to give “author” user role appropriate capabilities to add PollDaddy polls? WordPress multisite
- Multisite and users being listed on network administration dashboard and not main site dashboard
- Is there a is_user_logged_in() for multisite?
- Switching MultiSite installation from HTTP to HTTPS
- Is there an easy way to separate themes on network?
- How to use WordPress multisite with mixed HTTP and HTTPS sites?
- Removing orphan users in WordPress Multisite
- Sharding BLOGUPLOADDIR
- Hook filter to change wp_upload_dir() path in multisite
- Error 101 after upgrading WordPress
- SSL for mapped subdomains in multisite (no plugins)
- How to add new sites and map a custom domain in WordPress Multisite?
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- How do I add JavaScript that will execute on all my sites in Multisite?
- Create a network of sites
- Free Google Analytics plugin that works with WordPress in network mode (WPMU)? [closed]
- API for creating blogs on Multisite?
- All subdomains redirecting to mainsite/wp-signup.php after multisite install
- Include Site 1 Posts in Query for Sub Sites
- When creating a multisite, the sub-folders option is not available
- MU domain mapping subdomain multisite : map a subdomain on another subdomain
- Issue with WORDPRESS MULTISITE
- How to fix that new users show up again in subsite of a Multisite?
- Sharing /wp-content/ folder between different WordPress Multisite installs?
- Multisite missing tmp folder error while uploading
- website redirects to homepage for all 404 pages, wp-cron and admin-ajax.php
- multisite installed on subdomain now want another subsite on subdirectory
- Create multiple clones of site with different branding?
- Delete all blogs on multisite
- Multsite Child site Auto Content
- Multiple devices wordpress website
- WordPress Multisite giving users access to specific Admin Pages
- Multiple WordPress on Virtual Host
- Activate blog hook
- Multisite Primary Domain Broken All Subsites Work
- FromName –> ReplyTo Name wordpress multisite contact form
- Using WordPress multisite is there a way to force HTTPS on specific subsites and not others?
- WordPress Multisite Medial Library not working for .online domain
- Too much slow queries with my multisite
- Make multisite non-existing subdomains go to homepage instead of Index of/ page
- Development time to Install and Configure WPML (https://wpml.org/) [closed]
- WordPress Multisite Network – Site Administrators Can’t Access wp-admin
- Multisite, but wp_kses_allowed_html only for one subsite?