This usually happens when the table prefix is manually changed but some changes have been overlooked.
Go to your user_meta table and have a look at the meta_key column. Check if fields like wp_capabilities have been changed to use the wp1_ prefix. Also look in your wp1_options table to check that user_roles has been changed to wp1_user_roles.
When the table prefix is manually changed, the prefixes on these fields in user_meta are often left unchanged:
capabilities
user_level
user_settings
user_settings_time
Check them all. You can quickly identify which ones haven’t been changed by running this SQL query:
SELECT * FROM `wp1_usermeta` WHERE `meta_key` LIKE '%wp_%'
Related Posts:
- Only allow administrators and editors to access wp-admin
- How to inhibit dashboard and profile management access to normal users?
- Only allow administrators and editors to access wp-admin
- Can’t access WordPress as an admin – but I can log in as a user!
- Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php
- admin_post action not usable if admin access denied to user
- Restrict Author role to only 3 wp-admin pages
- I can´t access my admin panel. I tried all possible solutions
- Lost administrator privileges and can’t find a fix
- How to remove dashboard access (wp-admin) for author but not disable the capabilities?
- Deploying WordPress for clients – what do they have access to?
- How to Find The Email of a WP Admin Account
- Is WordPress secure enough for a multi-user article directory?
- define two login page url
- Admin Page access
- Not able to access WP Admin, it says “Sorry, you are not allowed to access this page.”
- How to logout the current user without notices and warnings?
- restrict admin panel sections to users
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- WordPress blog fails to open
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- After Upgrade: $user becomes unknown (id: 0) after successful login?
- How to restrict dashboard access to Admins only?
- How to disable the “Post Lock/Edit Lock”?
- How can I control the position in the admin menu of items added by plugins?
- I’m getting a 404 message when I try to access wpadmin
- wordpress wp-admin css not loading
- Check if user is admin by user ID
- Unable to login to my wordpress site. reauth=1 redirection loop
- Highlight custom widgets in the admin area?
- Can I add custom attributes while adding inline scripts?
- wp-admin produces a 302 redirect to itself
- create users to site with specific language
- Hide a page in the admin end without a plugin?
- Prevent from deleting any user role but subscriber
- How to set custom editor style when editing the homepage?
- How to disable or hide “collapse menu”
- Restrict acceess of a page in backend
- Display sortable User meta column in admin panel user’s page
- wp-login.php — redirect logged in users to custom URL
- Hooking into register_admin_color_schemes
- Which actions can update/change .php files?
- Blank page for edit.php
- Upload media file problem
- comment_form – show all fields when logged in
- How to change how long items are kept in the trash?
- Custom role based users are not able to access wp-admin
- How can I add ‘view mode’ to screen options for pages and cpts?
- Using List Table Filters for ALL Custom Post Types
- In the WordPress admin, how can I find out which page (themes.php, widgets.php, etc.) I’m on?
- What is the practical difference between is_admin() and is_blog_admin()?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
- Reusable content block
- Wrong wp-admin URL
- What is wrong with this code to remove wp admin bar from one page
- Admin search not working for any type of post
- Adding Custom Capabilites
- Display checked in checkbox theme admin page when reloaded
- Why is unfiltered_upload not working despite being enabled?
- List All Enqueued Scripts and Styles
- Can I add my own profile.php?
- Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
- Add menu option to “New Post” menu in admin bar
- How can I disable all external url Google in WordPress backend?
- if it possible to get all notifications from all plugins and core?
- wp-admin page redirecting to 404 error page
- ASCII to Unicode conversion and then save the data into database using WP post editor field
- How to replace “Password Protected” text with icon in Admin
- 100+ terms in any taxonomy slows down post updates?
- Is WordPress Suitable for my site?
- Disable or lock parent pages from being edited in wordpress admin
- How login is possible, if I deny login page via .htaccess with allow ip
- Unable to display WordPress admin bar in the frontend as an admin
- unsuccessful attempt to change domains- wordpress re-routing to old domain
- How can I limit page parent dropdown to show only author’s own pages?
- how can I change the font on Edit Post area (admin dashboard)
- Icons are missing from Visual Editor
- External HTTP API calls slowing down WordPress admin [closed]
- how can provide access to wp_admin page for non wp_users?
- jQuery UI Datepicker error
- Can’t connect to WP-Admin, blank error message
- Can’t access wp-admin after http to https change
- Programtically selecting image URL in Media Library modal
- WordPress /wp-admin redirect to wrong port in docker
- How do I fix the 403 error for wp-admin/admin-ajax.php?
- Strange Popup Ad on my WordPress Admin Dashboard
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- Unable to Add User after Site Migration
- Get Post ID in Admin Edit screen otherwise generate it?
- Cannot login in WordPress even after changing hash password in phpmyadmin
- WordPress User profile page fields missing
- Trying to use and understand JSON API and get_posts
- Customize a WP_Posts_List_Table class
- Creating your own options-general.php page
- I want to know if it’s good for SEO [closed]
- My website’s wp-admin redirects to another website’s wp-admin after pointing the site url to a subdirectiory
- Help please i cant login to wordpress panel [closed]
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- WordPress Localhost migration issue