admin管理员组

文章数量:1134557

do anybody know this kind of phenomenon? I do not have any user managing plugins installed in my WP, but after some interaction e.g. editing pages or creating postings (its not matter) WP changes for my logged in user the role from Administrator to Author. It already happens few times. I do also not know where to start with the root cause analysis. I will be happy for any kind of information which helps me to go the right direction. Thanks.

do anybody know this kind of phenomenon? I do not have any user managing plugins installed in my WP, but after some interaction e.g. editing pages or creating postings (its not matter) WP changes for my logged in user the role from Administrator to Author. It already happens few times. I do also not know where to start with the root cause analysis. I will be happy for any kind of information which helps me to go the right direction. Thanks.

Share Improve this question asked Oct 1, 2023 at 7:46 RestAPPDevRestAPPDev 312 bronze badges 2
  • 1 Can you edit your question and add the list of the plugins you have on your website ? You should start with removing all the plugins and see what happens. (By any chance, dont you have Authorizer activated ?). – PhpDoe Commented Oct 1, 2023 at 11:30
  • 1 I'd stick error_log() trace into any function that sets or changes role, or just everything set or update in the WP_User class, and the add/update/delete_user_meta functions too. – Rup Commented Oct 1, 2023 at 12:26
Add a comment  | 

1 Answer 1

Reset to default 0

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.

本文标签: wp adminWordpress change role from administrator to author by itself (automatically)