Issue Summary
I cannot access admin pages after importing live site to local. I can log in as the admin and I can see top bar on front page but without options to access dashboard. I dumped on screen current user object to inspect it’s content and it’s missing a lot of information (including user role). I checked database and all user data are there. When I am logged in I get “no permission” info when trying to access url/wp-admin.
Troubleshooting Questions
How can I get my site to work?
Replication
Just import live site to local.
System Details
-
Local 6.3.1+5826
-
Windows 10 Home
-
Site information:
- php 7.3.5
- server nginx
- db mysql 5.7.28
-
local log file in attachement
local-logs.zip (34.3 KB)