Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

WordPress change role from administrator to author by itself (automatically)

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:

  1. define two login page url
  2. How to check if a user is in a specific role?
  3. Check if user is admin by user ID
  4. Only allow administrators and editors to access wp-admin
  5. create users to site with specific language
  6. Display sortable User meta column in admin panel user’s page
  7. Users Unable to Access Dashboard/Posts/Pages
  8. Only allow administrators and editors to access wp-admin
  9. Can’t access WordPress as an admin – but I can log in as a user!
  10. Detecting all admins that are logged in
  11. Restrict Author role to only 3 wp-admin pages
  12. Users disappeared from wp-admin
  13. Logout USER form backoffice after 30 minutes of inactivity [closed]
  14. Is WordPress secure enough for a multi-user article directory?
  15. Newly created user role not displaying on users screen
  16. How to check if a user is in a specific role?
  17. Login issue with subdomain installs
  18. restrict admin panel sections to users
  19. Cannot login in WordPress even after changing hash password in phpmyadmin
  20. Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
  21. 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
  22. After Upgrade: $user becomes unknown (id: 0) after successful login?
  23. Administrator user cannot access dashboard after localwp import
  24. How to restrict dashboard access to Admins only?
  25. Admin Page Redirect
  26. How to prevent access to wp-admin for certain user roles?
  27. How to redirect/rewrite all /wp-login requests
  28. Allowing users to edit only their page and nobody else’s
  29. Can an admin check passwords of registered users?
  30. Unable to login to my wordpress site. reauth=1 redirection loop
  31. Custom login redirects to wp-admin on wrong password
  32. Restrict admin access to certain pages for certain users
  33. Disallowing Users of a Custom Role from Deleting or Adding Administrators?
  34. Hide Admin Menu for Specific User ID who has administrator Role
  35. How to allow users login to WP from external domain and make REST requests
  36. How to display the user that published a pending post?
  37. Custom user role that can only edit specific (non-custom-type) page and all child pages [duplicate]
  38. Add a button to users.php
  39. Users are redirected to homepage instead of wp-admin
  40. Prevent from deleting any user role but subscriber
  41. What is the capability that permits access to WP-Admin?
  42. How to remove “Super Admin” from All Users for those that are not a “Super Admin”?
  43. Moving wordpress from localhost to server throws admin panel access error?
  44. Displaying which Role the current user is assigned to
  45. How to move wp-admin login page to another location? [closed]
  46. Can’t access admin dashboard with wp-admin without /index.php after it
  47. How to display only logged in user’s post comments in comments area
  48. How to display multiple custom columns in the wp-admin users.php?
  49. Hooking into register_admin_color_schemes
  50. Adding body class to login page?
  51. Edit a WordPress site without the username and password?
  52. comment_form – show all fields when logged in
  53. Trying to login to my site redirects me to the first page
  54. CSRF attack to create USER
  55. adding existing menu page on new customer user role
  56. stop customize.php redirect to login page if admin is not logged in
  57. Admin Login Checks
  58. Custom User Role: Can Edit Own Page, Cannot Create New
  59. WordPress logged in but no access to wp-admin
  60. Changed the path to wp-login and now can’t access WPress dashboard
  61. Unable to log in as admin
  62. Why my login panel has a wrong language?
  63. Handling multiple account logins?
  64. Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
  65. Localhost install: Administrator lost administrator access; cannot access Dashboard
  66. WordPress install checking permissions of user id 0
  67. How to keep the plugin submenu open on viewing a custom version of users.php?
  68. Allowing users to edit only their page and nobody else’s
  69. WordPress Login for multiple sites
  70. How to bulk change user role to “No role for this site”
  71. Restrict Access to the User Profile
  72. WordPress User profile page fields missing
  73. Can’t log into WordPress after domain change
  74. Why WordPress not logout after I have close my browser?
  75. is_admin() conditional statement
  76. each user having category with their name and can add sub categories post in that category
  77. Control Category of each user can post
  78. Admin Login page not working at all
  79. Anyone Can Register
  80. Limit user access to installing/configuring a plugin?
  81. Impossible User Registration
  82. file upload user profile
  83. Couple questions about .htaccess, login page, updates
  84. You do not have permission to access this document on form submit
  85. WordPress blog fails to open
  86. How to give different user access to different people?
  87. 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
  88. WordPress Users page missing user count next to different types of users
  89. determine active user browser at the same time
  90. Redirect users based on their roles, is_admin()
  91. How to create a User Role and give permission to only use Web Stories plugin?
  92. Searching for a custom meta from user.php in the admin
  93. how to Hide all products except the General Manager role in the WordPress admin panel?
  94. WordPress site shows a white page for site/wp_admin. A login returns again to the login screen
  95. How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin
  96. Can a user submit requests to wp-admin/admin.php without logging in?
  97. Admin access to secondary site user_can_access_admin_page losing login
  98. How to add default folders to Every registered User when registered in WordPress site?
  99. Impossible to access the site administration
  100. login_enqueue_scripts changes are not reflecting
Categories wp-admin Tags login, user-access, user-roles, users, wp-admin
Help with vehicle performance website
WooCommerce REST API Error “Security Violated”

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress