Administrator Can't Access Dashboard on New Site

What issue or error are you experiencing?

Upon creating a new site (from a zip file), I was not able to access the dashboard even though I was using an Admin account. Sharing here so no one else spends a stupid amount of time on this issue only to arrive at an embarrassing conclusion.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Deactivated all plugins through the database. Checked role via database. Finally, edited a core file to show me what Wordpress was reading as my role. It was nothing. I had no role. Wordpress couldn’t determine my role because the roles and levels records in the usermeta table had case issues! Example: database prefix is “abcde”; meta_name in usermeta table was aBcDe_user_roles and aBcDe_user_level. My table prefix is not actually abcde, it’s something that made the case issue much less obvious. I have no idea how the live site works with the case being messed up or how it got that way (the site was years old before I started managing it). But hopefully this helps someone.


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @tgranzo

Thank you for coming by and sharing this! I’ve seen this come up one other time somewhere here in the forums but I couldn’t find the post with a quick search. So yours serves as a good reminder :sweat_smile:

1 Like