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?
- 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?
- 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?
- 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
- Restrict acceess of a page in backend
- Disable sticky posts feature
- Remove HTTP: from the site URL and just keep // in it
- Prevent Admin gui output from page added using add_submenu_page
- wp-admin blank in a clean install of WordPress on PHP 5.4 [closed]
- Add custom content in user-edit.php page
- How to use Yoast SEO backend in english even if WPLANG variable is not english?
- Admin first hook that outputs HTML?
- WP Database Error (Windows Server 2008 & SQL Server)
- 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
- 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
- Users disappeared from wp-admin
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- 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
- 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?
- Register page in admin area
- Downgrade admin account by mistake
- Removing Dashboard Menu Items Through The Database
- “WordPress installations is currently out of date” problem with difficult situation [closed]
- Custom plugin admin page issues
- Customising Word press Admin – Add Post Page functionality to another similar page
- How to add ‘Insert HTML Table’ button to TinyMCE in admin?
- How to allow WordPress updates to only one specific administrator?
- 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)
- How can I remove unwanted word on my WP site?
- WordPress blog clone.. wp-admin issue
- How to take the help button and link off the dashboard
- 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
- How to check if a user is in a specific role?
- Login redirect_to url is pointing to a url with the port
- data-vocabulary.org schema
- Unable to access my page or WP Admin
- How to move “Collapse Menu” to top of admin bar?
- Some fields in Settings API form are saving, others are not
- I cannot get the “Read More” button to work!
- Child theme loses wp-admin styling
- Options site set empty fields after submitting
- Conditions for admin get_current_screen action parent_file edit.php?post_type=page
- Admin section showing CUSTOM Permalink structure thus resulting in permission error [closed]
- Hook into backbone to add js to wp-admin -> media library?
- Weird admin area
- Renaming child-theme folder fixed wp-admin blank
- Unable to access dashboard (wp-admin) only
- is_admin() conditional statement
- Admin Login page not working at all
- Admin panel: Javascript not loading properly. Cannot edit pages/posts [closed]
- Non Object Notice Error – How to fix please
- wha does the following function remove from wordpress users admin area? [closed]
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- How to make the Panel // WP-Admin lighter via Mobile
- React Material UI and WordPress Admin Area
- WordPress Add/Edit Post right admin sidebar change title