sorry but do not have enough reputation on stackoverflow to add a comment under yours. So my reply then here.
I can list all my plugins but how I should reproduce it, because it happens randomly. And how should I put a error_log() in each function? I do not have the “Autorizer” so this should not be the issue.
I somewhere a general error log of WP to have a look on? I do not now where to start with the analysis. The deactive each plugin not helps, because I not know in which activity this role changing happening.
Related Posts:
- define two login page url
- How to check if a user is in a specific role?
- Check if user is admin by user ID
- Only allow administrators and editors to access wp-admin
- create users to site with specific language
- Display sortable User meta column in admin panel user’s page
- Users Unable to Access Dashboard/Posts/Pages
- Only allow administrators and editors to access wp-admin
- Can’t access WordPress as an admin – but I can log in as a user!
- Detecting all admins that are logged in
- Restrict Author role to only 3 wp-admin pages
- Users disappeared from wp-admin
- Logout USER form backoffice after 30 minutes of inactivity [closed]
- Is WordPress secure enough for a multi-user article directory?
- Newly created user role not displaying on users screen
- How to check if a user is in a specific role?
- Login issue with subdomain installs
- restrict admin panel sections to users
- Cannot login in WordPress even after changing hash password in phpmyadmin
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Extend user search in the users.php page to allow for searching by role and excluding specified email domains from the “users search” input box
- After Upgrade: $user becomes unknown (id: 0) after successful login?
- Administrator user cannot access dashboard after localwp import
- How to restrict dashboard access to Admins only?
- Admin Page Redirect
- How to prevent access to wp-admin for certain user roles?
- How to redirect/rewrite all /wp-login requests
- Allowing users to edit only their page and nobody else’s
- Can an admin check passwords of registered users?
- Unable to login to my wordpress site. reauth=1 redirection loop
- Custom login redirects to wp-admin on wrong password
- Restrict admin access to certain pages for certain users
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- Hide Admin Menu for Specific User ID who has administrator Role
- How to allow users login to WP from external domain and make REST requests
- How to display the user that published a pending post?
- Custom user role that can only edit specific (non-custom-type) page and all child pages [duplicate]
- Add a button to users.php
- Users are redirected to homepage instead of wp-admin
- Prevent from deleting any user role but subscriber
- What is the capability that permits access to WP-Admin?
- How to remove “Super Admin” from All Users for those that are not a “Super Admin”?
- Moving wordpress from localhost to server throws admin panel access error?
- Displaying which Role the current user is assigned to
- How to move wp-admin login page to another location? [closed]
- Can’t access admin dashboard with wp-admin without /index.php after it
- How to display only logged in user’s post comments in comments area
- How to display multiple custom columns in the wp-admin users.php?
- Hooking into register_admin_color_schemes
- Adding body class to login page?
- Edit a WordPress site without the username and password?
- comment_form – show all fields when logged in
- Trying to login to my site redirects me to the first page
- CSRF attack to create USER
- adding existing menu page on new customer user role
- stop customize.php redirect to login page if admin is not logged in
- Admin Login Checks
- Custom User Role: Can Edit Own Page, Cannot Create New
- WordPress logged in but no access to wp-admin
- Changed the path to wp-login and now can’t access WPress dashboard
- Unable to log in as admin
- Why my login panel has a wrong language?
- Handling multiple account logins?
- Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- WordPress install checking permissions of user id 0
- How to keep the plugin submenu open on viewing a custom version of users.php?
- Allowing users to edit only their page and nobody else’s
- WordPress Login for multiple sites
- How to bulk change user role to “No role for this site”
- Restrict Access to the User Profile
- WordPress User profile page fields missing
- Can’t log into WordPress after domain change
- Why WordPress not logout after I have close my browser?
- is_admin() conditional statement
- each user having category with their name and can add sub categories post in that category
- Control Category of each user can post
- Admin Login page not working at all
- Anyone Can Register
- Limit user access to installing/configuring a plugin?
- Impossible User Registration
- file upload user profile
- Couple questions about .htaccess, login page, updates
- You do not have permission to access this document on form submit
- WordPress blog fails to open
- How to give different user access to different people?
- Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the “users search” input box
- WordPress Users page missing user count next to different types of users
- determine active user browser at the same time
- Redirect users based on their roles, is_admin()
- How to create a User Role and give permission to only use Web Stories plugin?
- Searching for a custom meta from user.php in the admin
- how to Hide all products except the General Manager role in the WordPress admin panel?
- WordPress site shows a white page for site/wp_admin. A login returns again to the login screen
- How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin
- Can a user submit requests to wp-admin/admin.php without logging in?
- Admin access to secondary site user_can_access_admin_page losing login
- How to add default folders to Every registered User when registered in WordPress site?
- Impossible to access the site administration
- login_enqueue_scripts changes are not reflecting