shop manager denied access
-
I created a user with shop manager role. a login caused this error.
The admin of this site does not allow users to access the wp dashboard.
Where do I grant or deny access to wp dashboard?Ed
-
If I understand it correctly you created a user with a shop manager role however, shop managers are not able to access the WP dashboard area – correct?
By default, WooCommerce doesn’t control the user access for WP dashboard area, could you please share a copy of your site’s System Status to understand how your site is configured? It is possible this restriction is added by your plugin or theme. You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.Here is the status report. I know that woo commerce did not set this restriction. but it is set by dont-know-who and dont-know-where so I can reverse or remove it.
### WordPress Environment ###
WordPress address (URL): https://www.gfwcflorida.org
Site address (URL): https://www.gfwcflorida.org
WC Version: 4.3.3
REST API Version: ? 1.0.10
WC Blocks Version: ? 2.7.3
Action Scheduler Version: ? 3.1.6
WC Admin Version: ? 1.3.1
Log Directory Writable: ?
WP Version: 5.5
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.3
PHP Post Max Size: 512 MB
PHP Time Limit: 120
PHP Max Input Vars: 1000
cURL Version: 7.58.0
OpenSSL/1.1.1SUHOSIN Installed: –
MySQL Version: 5.7.29-log
Max Upload Size: 512 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 4.3.3
WC Database Prefix: wp_r98b6r_
Total Database Size: 32.67MB
Database Data Size: 25.32MB
Database Index Size: 7.35MB
wp_r98b6r_woocommerce_sessions: Data: 7.02MB + Index: 0.27MB + Engine InnoDB
wp_r98b6r_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_r98b6r_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
wp_r98b6r_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_r98b6r_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_am8yqj_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_am8yqj_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_am8yqj_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_am8yqj_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_am8yqj_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_am8yqj_options: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_am8yqj_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_am8yqj_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_am8yqj_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_ghkr6c_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_ghkr6c_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_ghkr6c_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_ghkr6c_maxbuttonsv3: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
wp_ghkr6c_maxbuttons_collections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_ghkr6c_maxbuttons_collections_trans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_ghkr6c_options: Data: 0.41MB + Index: 0.03MB + Engine InnoDB
wp_ghkr6c_postmeta: Data: 0.19MB + Index: 0.06MB + Engine InnoDB
wp_ghkr6c_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
wp_ghkr6c_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_ghkr6c_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_ghkr6c_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_ghkr6c_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_ghkr6c_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_ghkr6c_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_r98b6r_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
wp_r98b6r_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_r98b6r_connections: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_connections_address: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_connections_date: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_connections_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_connections_link: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_connections_messenger: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_connections_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_connections_phone: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_connections_social: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_connections_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_connections_term_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_connections_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_connections_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_nextend2_image_storage: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_nextend2_section_storage: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
wp_r98b6r_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_nextend2_smartslider3_slides: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
wp_r98b6r_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_ngg_pictures: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_options: Data: 3.30MB + Index: 0.14MB + Engine InnoDB
wp_r98b6r_pda_passwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_postmeta: Data: 2.52MB + Index: 0.72MB + Engine InnoDB
wp_r98b6r_posts: Data: 4.52MB + Index: 0.44MB + Engine InnoDB
wp_r98b6r_rafflepress_contestants: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_rafflepress_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_rafflepress_giveaways: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_rtec_registrations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_swpm_form_builder_custom: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_swpm_form_builder_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_swpm_form_builder_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_swpm_membership_meta_tbl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_swpm_membership_tbl: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_swpm_members_tbl: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_swpm_payments_tbl: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_usermeta: Data: 1.52MB + Index: 1.92MB + Engine InnoDB
wp_r98b6r_users: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
wp_r98b6r_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_r98b6r_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_r98b6r_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_r98b6r_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_wpforms_entries: Data: 0.52MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_wpforms_entry_fields: Data: 0.25MB + Index: 0.28MB + Engine InnoDB
wp_r98b6r_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_wpm_6310_icons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_wpm_6310_member: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_wpm_6310_style: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_r98b6r_yoast_indexable: Data: 0.47MB + Index: 0.36MB + Engine InnoDB
wp_r98b6r_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_r98b6r_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_r98b6r_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_r98b6r_yoast_seo_links: Data: 0.13MB + Index: 0.05MB + Engine InnoDB
wp_r98b6r_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB### Post Type Counts ###
attachment: 458
ctct_forms: 2
ctct_lists: 8
custom_css: 1
feedback: 302
jetpack_migration: 2
nav_menu_item: 40
ngg_album: 1
ngg_gallery: 2
ngg_pictures: 34
oembed_cache: 4
page: 141
post: 6
product: 29
product_variation: 15
revision: 795
shop_order: 33
tmm: 2
tribe_events: 7
tribe_organizer: 2
tribe_rsvp_tickets: 1
tribe_tpp_attendees: 43
tribe_tpp_orders: 43
tribe_tpp_tickets: 1
tribe_venue: 4
wp_paypal_order: 6
wpforms: 11
wpplugin_don_button: 5### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (32) ###
BoldGrid Easy SEO: by BoldGrid – 1.6.8
Connections Business Directory: by Steven A. Zahm – 9.9.1
Constant Contact Forms for WordPress: by Constant Contact – 1.8.7
DreamHost Panel Login: by DreamHost
danielbachhuber – 1.0.0PayPal Donation: by Scott Paterson – 1.2.9
PayPal Shopping Cart: by Scott Paterson – 1.1.9
Event Tickets: by Modern Tribe
Inc. – 4.12.3Facebook for WooCommerce: by Facebook – 1.11.4 – Installed version not tested with active version of WooCommerce 4.3.3
Interactive Map of Florida for WP: by Fla-shop.com – 3.1.4
Easy HTTPS (SSL) Redirection: by Tips and Tricks HQ – 1.9.1
Jetpack by WordPress.com: by Automattic – 8.8.2
Google Ads for WooCommerce: by Kliken – 1.0.4 – Installed version not tested with active version of WooCommerce 4.3.3
Post and Page Builder Premium: by BoldGrid – 1.0.4
Post and Page Builder: by BoldGrid – 1.13.3
Registrations for The Events Calendar: by Roundup WP – 2.6.1
Simple Membership After Login Redirection: by smp7
wp.insider – v1.3Simple Membership Form Shortcode: by wp.insider – 1.1
Simple WordPress Membership: by smp7
wp.insider – 4.0.0Smart Slider 3: by Nextend – 3.4.1.8
SWPM Member Data Exporter: by wp.insider – 1.8
Simple Membership Form Builder: by wp.insider – 4.8.5
Simple Membership Google recaptcha: by smp7
wp.insider – v1.9Team Members: by WP Darko – 5.0.8
The Events Calendar: by Modern Tribe
Inc. – 5.1.6Event Tickets/Eventbrite Extension: Show Cost Field: by Modern Tribe
Inc. – 1.0.1User Export (with their Meta Data): by Daniel Loureiro – 0.6.7
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3
WooCommerce: by Automattic – 4.3.3 (update to version 4.4.1 is available)
WordPress Importer: by wordpressdotorg – 0.7
WP PayPal: by naa986 – 1.2.2.4
WP Sitemap Page: by Tony Archambeau – 1.6.2
WPForms: by WPForms – 1.6.2.2### Inactive Plugins (9) ###
BoldGrid Gallery: by BoldGrid.com <[email protected]> – 1.5
BoldGrid Inspirations: by BoldGrid <[email protected]> – 2.3.0
DreamHost Automated Migration: by DreamHost – 4.35
Mailchimp for WooCommerce: by Mailchimp – 2.4.5
NextGEN Gallery: by Imagely – 3.3.11
RafflePress Lite: by RafflePress – 1.3.2
UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.16.26WP Super Cache: by Automattic – 1.7.1
Yoast SEO: by Team Yoast – 14.7### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: ? Page visibility should be public
Cart: #4834 – /cart/
Checkout: #4835 – /checkout/
My account: #4836 – /my-account/
Terms and conditions: ? Page not set### Theme ###
Name: Dara
Version: 1.2.1
Author URL: https://wordpress.com/themes/
Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ?### Templates ###
Overrides: –
### Action Scheduler ###
Complete: 95
Oldest: 2020-07-29 18:20:24 -0400
Newest: 2020-08-27 22:32:04 -0400Failed: 7
Oldest: 2020-07-22 22:05:57 -0400
Newest: 2020-08-11 12:43:26 -0400Pending: 2
Oldest: 2020-08-28 22:32:04 -0400
Newest: 2020-09-01 00:32:58 -0400`
Hey @biged2710
Thanks for sending over that report.
I would suggest to check if this issue might be caused by your theme, or possibly a third-party plugin, by doing a full conflict test:?https://docs.woocommerce.com/document/how-to-test-for-conflicts/
The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:
– Temporarily switch your theme back to a default?theme, such as Storefront.
– Disable all plugins except for WooCommerce.
– Clear your browser cache, and the cache on your site if you have one there.
– Test to see if the issue has been resolved.If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until the problem appears again. This will then give you an idea about which plugin is the one causing the conflict.
Thanks everyone. I have found the culprit. There is a plugin that does try to control user access to the wp-admin tool bar, and this might be a class of plugins, that controls members access to site content. They have an option that denies toolbar access to non-admin rolls instead of denying access to users that it has created. By this stand they affect control over users that are not theirs. The plugin is Simple membership. I have changed the offending code to deny access to a role that we use for their users only. unfortunately I will have to maintain that change in each new release until their mindset conforms.
change if (!current_user_can(‘administrator’)) {
//This is a non-admin user. Do not show the wp dashboard.
to if (current_user_can(‘member’)) {
//This is a member user. Do not show the wp dashboard.
- The topic ‘shop manager denied access’ is closed to new replies.