As i can not allowed to comment, I post it here:
Please Make sure when you are login to wp-admin, in usermeta table you have a role of ‘administration’ in $prefix->capabilities meta_key.
Because this Message comes when you try login, that user has different role other than admin.
Thank you.
Related Posts:
- Only allow administrators and editors to access wp-admin
- Moving wordpress from localhost to server throws admin panel access error?
- 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
- 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?
- Changing Admin Menu Labels
- Is there ANY way to remove comments function and section totally?
- Unit testing in the WordPress backend (is_admin() is true)
- How to display a static HTML page while setting up a WordPress site?
- How can I uninstall a language?
- Best way to present options for home page in admin?
- How do I change the login logo URL and hover title?
- Restrict admin access to certain pages for certain users
- js error on post editing page
- How to add a custom metabox to the Menu Management admin screen?
- How to change the wording in wp-admin back-end?
- How to make ajax call in wordpress in right way?
- Delete Post From front Page ( With Wp-admin restriction )
- Bulk Delete Users Error uri too large
- Can you change the main heading of a page in the WordPress admin (without output buffering or JavaScript)?
- Add column to pages table
- How to get the password and username of the add new user form (admin back end) in wordpress
- Change the Return URL from the Customizer
- Where can I edit Admin Panel Page file
- WordPress Error establishing a database connection For Admin login only
- Replace wordpress login logo with custom text
- Failed to load resource admin-ajax.php
- Additionally added URL params leading to “Invalid post type.” in the Admin Panel
- Custom WordPress Dashboard for Specific user role
- Why are my frontend theme styles bleeding into the backend?
- 404 of wp-admin pages [closed]
- Execute script only on certain admin pages
- Uncheck the box “Send User Notification” by default on new-user.php
- Detecting all admins that are logged in
- WordPress Options Page not working
- Sortable columns and admin like interface for tables/report in custom plugin?
- Remove favorites action menu and screen options panel
- No access local wordpress website after PC formating
- is_admin() not working when updating a post in the admin panel
- Why is server preventing admin styles? (Was: Where are WordPress sessions saved?)
- White screen of death in Dashboard after clean installation
- WordPress (admin) posts search GET request filter
- How can I replace dashboard.css and dashboard.min.css (not add new css)
- ‘wp’ hook supposed to trigger when editing a post?
- always by default show welcome panel in the dashboard
- Add and Remove Row Actions in an Existing WP_List_Table
- I am unable to login into my wp-admin
- Dashboard Widget CSS
- How can I prevent a function from loading in the admin screens?
- Move WooCommerce menu entries to top of dashboard
- WP Core hard coded to use http://www.w3.org/1999/xhtml not HTTPS
- Hide user group filtering links
- 404 Admin Error
- Fix Admin Dashboard Posts tab
- auto generated robots.txt problem
- Change maxlength of link_description in dashbord link section?
- Add a custom field when adding / editing a page / post in admin panel
- Add HTML to custom post type edit page
- WP site after login keeps redirecting to looped url [closed]
- Locked out of site admin after change of URL
- Login issue with subdomain installs
- Redirect from wp-admin back to page
- WordPress Admin Login Issue
- Edit “Not Available” Page
- admin-ajax and external service interaction
- Add admin page to the top of the admin panel
- Admin page changes the $_POST data
- site identity will not update [closed]
- Remove menu item dashboard for a unique user
- Reestablishing Automatic and Secure FTP Connection, Primary Domain Change
- str_replace in wp-admin
- Admin area is not loading properly
- Why my login panel has a wrong language?
- Using meta_query in add_query_arg
- Mixed content and expired session issues with SSL and wp-admin
- Limit access to wp-admin but still be able to log in from different locations?
- Is it possible to change the images source that are shown in the admin side?
- Using query string on edit CPT page
- How to Filter in the “Add Media Popup” to show only “unattached” Media
- Working with post values in the admin panel
- wordpress login blank screen [closed]
- All of my WordPress sites have Bold Open Sans
- Can a wordpress admin see my failed Login attempts?