-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin user not listed in Author dropdown list (3 users in total) #12431
Comments
I tested with WordPress 4.9.8 and Gutenberg 4.5.1 using Firefox 63.0.3 on macOS 10.13.6 by adding a few new users to a basic test site, one with the Author role and one with the Editor role, and I found that I can see all three in the Authors dropdown in the editor document settings sidebar when logged in with either the Administrator user or the Editor user. Note: I did not manually rename the admin user in the database, however, the default admin user for my site was set to May I ask if your site is a standalone or multisite install? Does this problem happen on your site regardless of whether you are logged in as the Administrator or Editor role? Do you have any plugins installed that manage user roles in any way? |
I presumed that. I have another installation that works fine.
Standalone.
Yes, I just checked with an editor account. The admin is still not shown.
No. |
Okay. I tested with a standalone install as well. I know you mentioned this is not a duplicate of #4622. Is that because you have less than 100 users total for your site? How many users does your site have total? If you add |
Interestingly enough, I see two users, ID 1 and 2 (I see 2 and 3 in Gutenberg). Is it possible that I have a broken user count somewhere in the database? |
3 doesn't seem like too many! If you haven't already, if you have updated to WP 5.0.1 already could you check to see if the problem goes away when you deactivate the Gutenberg plugin? If you have already updated to WP 5.0.1, the plugin should have been deactivated automatically and I would still be interested to know if the problem persists. Since there haven't been any other similar reports of this that I can find in a quick search and because this issue is possibly caused by a database issue as you've mentioned, would you mind asking for help about it in the WordPress.org support forums at https://wordpress.org/support/forum/how-to-and-troubleshooting/ to see if you can get extra help troubleshooting there including learning how to check the database for a broken user count (if that's a thing) and to see if there's anyone there with some time to help you try the steps you mentioned where you start with the login name admin and change it in the database by updating If you find you're not getting replies there or if you feel strongly it's a Gutenberg bug that should have more attention here in this repo, please re-open this issue! |
I take that back. Have a look at this previous solution that I somehow missed before (sorry about that!) saying this is most likely related to wrong permissions persisted into the database:
Source: #8526 (comment) |
I tried |
I'm sorry I wasn't able to help earlier! Because this appears to be a single case for a site where there have been previous modifications to the database and because I tested those changes and couldn't replicate the problem I am not sure where to go next. Would you mind asking at https://wordpress.org/support/forum/how-to-and-troubleshooting/ or https://wordpress.stackexchange.com/ to see if you can find any additional help or someone willing to try some detailed testing steps you provide that include the database modification? |
Describe the bug
User with ID 1 is not shown in the dopdown list of the Authors when authoring a post, while users with IDs 2 and 3 are shown. Not a duplicate of #4622.
To Reproduce
Steps to reproduce the behavior:
Author
.Expected behavior
All users should be listed.
Screenshots
I can provide anonymized screenshots and dumps of the database if that would be useful.
Desktop (please complete the following information):
Additional context
user_login
field in thewp_users
table, which caused no issues thus far.The text was updated successfully, but these errors were encountered: