• coroleu

    (@coroleu)


    When I try to switch the user I see this message “You do not have sufficient permissions to access this page.” and I losted my session and I have to log in again. I have WP 6.5.5 and WPEngine hosting. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Does this happen with all users? Or only some?

    I suspect that the switch does work and then you are being redirected by another plugin to a page that you don’t have access to.

    Can you try deactivating your other plugins one by one to see if one of them is causing the issue?

    Thread Starter coroleu

    (@coroleu)

    Yes, this happens with all users, and I don’t see any that can redirect the user change, but I could be wrong. I will pass you the list. Thanks

    Gravity Forms: by Gravity Forms – 2.8.13
    ActiveCampaign for WooCommerce: by ActiveCampaign – 2.7.3
    ActiveCampaign: by ActiveCampaign – 8.1.16
    AIOSEO - Image SEO: by All in One SEO Team – 1.1.11
    AIOSEO - IndexNow: by All in One SEO Team – 1.0.11
    AIOSEO - Link Assistant: by All in One SEO Team – 1.1.4
    AIOSEO - Redirects: by All in One SEO Team – 1.4.1
    AIOSEO - REST API: by All in One SEO Team – 1.0.8
    AIOSEO - Video Sitemap: by All in One SEO Team – 1.1.14
    All in One SEO Pro: by All in One SEO Team – 4.6.5
    Antispam Bee: by pluginkollektiv – 2.11.6
    ClickFunnels: by Etison
    LLC – 3.1.1

    Code Snippets: by Code Snippets Pro – 3.6.5.1
    DearFlip (dflip) (Premium): by DearHive – 2.2.32
    Disable Gutenberg: by Jeff Starr – 3.1.2
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Transfer: by Honors WP – 1.6.0
    Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 7.27.0
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.27.0
    Gravity Forms reCAPTCHA Add-On: by Gravity Forms – 1.5.0
    If-So: by If So Plugin – 1.8.0.4
    LearnDash LMS - Course Grid: by LearnDash – 2.0.6
    LearnDash Licensing & Management: by LearnDash – 1.1.4
    LearnDash LMS - WooCommerce Integration: by LearnDash – 1.9.6
    LearnDash LMS - Zapier Integration: by LearnDash – 2.3.0
    Mailchimp for WooCommerce: by Mailchimp – 4.1
    Mailgun: by Mailgun – 1.9.9
    Meta pixel for WordPress: by Facebook – 3.0.16
    OptinMonster: by OptinMonster Popup Builder Team – 2.16.3
    Order Bump for WooCommerce: by Flintop – 3.8.0
    Printful Integration for WooCommerce: by Printful – 2.2.7
    Product Input Fields for WooCommerce Pro: by Algoritmika Ltd – 1.1.6
    PW WooCommerce Gift Cards: by Pimwick
    LLC – 1.255

    Responsive Gallery Grid: by Jules Colle
    BDWM – 2.3.17

    LearnDash LMS: by LearnDash – 4.4.1.2
    Shortcode Cleaner: by Jozoor – 1.1.6
    Shortcodes Finder: by Scribit – 1.5.6
    SliceWP: by SliceWP – 1.1.15
    Tracking Code Manager: by Data443 – 2.2.0
    User Switching: by John Blackbourn & contributors – 1.7.3
    UserFeedback Lite: by UserFeedback Team – 1.0.16
    Password Strength Settings for WooCommerce: by Daniel Santoro – 3.0.1
    Cost & Reports for WooCommerce: by Consortia – 3.4.6
    WooCommerce Manual Payment: by bfl – 2.8.3
    WooCommerce Stripe Gateway: by WooCommerce – 8.4.0
    WooCommerce Legacy REST API: by WooCommerce – 1.0.4
    WooCommerce Memberships: by SkyVerge – 1.26.5
    WooCommerce Order Status Control: by SkyVerge – 1.16.0
    WooCommerce PayPal Payments: by WooCommerce – 2.8.0 (update to version 2.8.1 is available)
    Woo Product Bundles: by Woo – 7.1.0 (update to version 7.1.2 is available)
    WooCommerce Shipping & Tax: by WooCommerce – 2.6.0 (update to version 2.6.1 is available)
    WooCommerce Shipment Tracking: by WooCommerce – 2.4.7 (update to version 2.5.0 is available)
    WooCommerce FedEx Shipping: by WooCommerce – 3.9.3 (update to version 3.9.7 is available)
    WooCommerce Subscription Downloads: by WooCommerce – 1.4.1
    Woo Subscriptions: by WooCommerce – 6.2.0 (update to version 6.4.1 is available)
    WooCommerce Zapier: by OM4 Software – 2.10.0 (update to version 2.10.1 is available)
    WooCommerce: by Automattic – 9.0.0 (update to version 9.0.2 is available)
    WordPress Importer: by wordpressdotorg – 0.8.2
    Defender Pro: by WPMU DEV – 4.7.4
    WP File Manager: by mndpsingh287 – 7.2.9
    Smush Pro: by WPMU DEV – 3.16.5
    WPForms Lite: by WPForms – 1.8.9.4
    WPMU DEV Dashboard: by WPMU DEV – 4.11.26
    Order Import Export for WooCommerce Add-on: by WebToffee – 1.2.4
    User Import Export for WooCommerce Add-on: by WebToffee – 1.2.6
    Import Export for WooCommerce Wrapper: by WebToffee – 1.2.8
    YITH WooCommerce Featured Video: by YITH – 1.36.0
    Zapier for WordPress: by Zapier – 1.5.1

    Hi, I have the same pb with my sites. To have access to admin page, I put this code in functions.php

    But I cannot let the code, too dangerous. How to have a real fix

    function codelight_all_permissions( $allcaps, $cap, $args ) {
    $allcaps[$cap[0]] = true;
    return $allcaps;
    }
    add_filter( ‘user_has_cap’, ‘codelight_all_permissions’, 0, 3 );

    Thread Starter coroleu

    (@coroleu)

    I my case was a conflict with “wp responsive gallery” plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘You do not have sufficient permissions to access this page’ is closed to new replies.