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?
- Admin Page Redirect
- Limit widget to certain sidebar?
- Remove specific items from Quick Edit menu of a Custom Post Type?
- Custom column for changing post status via ajax
- Uploading Images in the Link Manager
- How can I make a Live Demo of my Premium Plugin? Are there security risks?
- How to get the post editor and media library to respect HTTPS administration mode?
- Copy my user account’s wp-admin dashboard layout to other users?
- Users are redirected to homepage instead of wp-admin
- How to show an error message after publishing a post?
- Is there a way to submit only meta box content in Post edit page
- Disable sticky posts feature
- Hide username from users list
- Remove HTTP: from the site URL and just keep // in it
- Prevent Admin gui output from page added using add_submenu_page
- Activating Child Theme Breaks Website, Blank Page, Error 500
- wp-admin blank in a clean install of WordPress on PHP 5.4 [closed]
- WP Database Error (Windows Server 2008 & SQL Server)
- Cloned a site but can’t log in – redirecting to old site
- Should I add the IP of the server that hosts my sites to the list of authorized IPs in the wp-admin/.htaccess?
- wp-admin edit user url wont show up correct url [closed]
- Which HTTP headers to use for subdomain embedding?
- To remove default dashboard items and add quick draft widget for custom post type
- FORCE_SSL_ADMIN not working
- Can enter wp-admin when logged in with custom ajax
- lock meta box position on post edit screen for contributors
- map_meta_cap was called incorrectly error?
- How do I host WordPress on a hidden domain through a reverse proxy?
- Clicking On View Post In Draft Opens New Tab
- How to set admin login page as home page
- Created a new subdomain with same content. Should I add a redirect in my old subdomain?
- Placing a custom Control element in an existing block InspectorControls panel
- What are the requirements to make the admin toolbar show up on the front end
- Sorry, you are not allowed to access this page
- wp-admin folder removed by hacker [closed]
- Hide username discovery
- Cookie Domain is preventing Admin login
- How to use the built in tooltip for form validation error messages in WP admin plugin?
- _wpnonce blank screen
- Register page in admin area
- “WordPress installations is currently out of date” problem with difficult situation [closed]
- Custom plugin admin page issues
- Making Comments, a sub_menu in admin menu
- Customising Word press Admin – Add Post Page functionality to another similar page
- How to add ‘Insert HTML Table’ button to TinyMCE in admin?
- How can I remove commas when adding tags?
- Displaying Title in Title Tag on Edit page?
- How to add custom CSS and JavaScript file for wp- admin dashboard (backend)
- GoDaddy hosting wp-admin problem
- How can I remove unwanted word on my WP site?
- issue with wordpress [wp-admin] redirects, when using kubernetes ingress hosting two wordpress websites using path
- Toggle between block ‘edit content’ and ‘select’ not properly working in WordPress Admin
- WordPress Admin extremely slow when other admin logged in
- Can’t acces login on new site
- WordPress Admin Panel Left Sidebar No showing on Post create page
- WordPress Migration Post Problems
- After changing Site http to https, can’t access wp login page with a digitalocean hosting
- Can’t access WP-Admin via HTTPS
- stop customize.php redirect to login page if admin is not logged in
- Random authentication failures on a load balanced WP setup
- Can I get programmatic access to wp-admin?
- Strange URLs admin area bug
- remove_query_arg on options.php
- wp.svgPainter cannot init error, causing issues with admin panel
- mysql_escape_string PROBLEM
- Cannot access my wordpress website
- Organising and display thousands of photos in media library
- Custom comment action
- get_current_screen – ‘Trying to get property of non-object’ error
- Block tools menu in wp-admin?
- is_admin() triggers error
- Modify admin panel tab position
- not able to add thumbnail custom field in dropdown
- wordpress admin is broken [closed]
- Can’t access backend
- Can I get the role of the currentUser in modern WordPress React?
- prevent wordpress from changing/rewriting url ip with the siteurl settings
- How do I get a parent menu in the WordPress Admin panel which has no action?