Support » Networking WordPress » Multisite – Sorry, you are not allowed to access this page.

  • I have trouble accessing multiple plugins’ menus in a number of subsites in a multisite. It’s not like one plugin is not accessible from all subsites. The problem is random availability of random plugins in random subsites.

    Mostly, when it is not accessible, I have WP’s default screen with following error msg.

    • Sorry, you are not allowed to access this page.

    I think the error points to the fact that I do not have required rights to see the contents, but this occurs w/ super admin account.

    A few representative cases are

    • ElasticPress’s admin menu is not visible from one of the subsites (only one). From time to time, the auto sync fails, which gives me an error msg w/ a link to see the error log, but when I click it, I have above no access msg
    • One of the contents management plugins allows me to choose mode 1, 2, 3…., and though I only have mode 1, I can’t access mode 1’s detail, and I have above no access msg. Before the multisite, it worked without any error.

    There are a lot more. When I update WP-Rocket’s configuraiton, for example, WordPress brings me to ‘options.php’ page w/ above no access error. For this, it happens across all subsites. When I go back to the previous page, the configuration settings are updated. When I update it again, however, it works fine. This occurs only with first time update.

    I initially thought it is those plugin’s error. It doesn’t seem so, given the multiple occurance across plugins.

    This also could be incompatibility issues with other plugins or theme. PHP version may be an issue. So, I downgraded PHP from 8.3 to 8.2, 8.1, and 8.0. The problem persists. I also deactivated all plugins and went back to basic theme. Basically, I’ve checked with all possible combinations in my knowledge, but nothing worked for me so far.

    The problem may be more fundamental, and wonder if there is any issue with mutlisite setting by itself.

    I almost feel like those plugins are activated for w/ super^2 admin role, and access to mere super-admin is prohibited. Supposedly superadmin should have full access, but there might be a hidden role? What’s stunning is that the problem is not universal across all subsites. For one subsite, one plugin’s menu seems fine, while another subsite suffers from the ‘super^2 right’ issue for the same plugin.

    Does this anything to do with ‘transients’?

    • This topic was modified 3 weeks, 1 day ago by Keith.
    • This topic was modified 3 weeks, 1 day ago by Keith.
    • This topic was modified 3 weeks, 1 day ago by Keith.
Viewing 4 replies - 1 through 4 (of 4 total)
    • Few things first. Did you update your WordPress + plugins and this thing still happen?
    • Do you have any custom code that works with rights/acceses?

    ChatGPT:

    • Multisite Configuration: – Verify your Multisite configuration in wp-config.php and .htaccess files. Make sure they are correctly set up for Multisite.

    Plugin Conflict:

    • Deactivate all plugins and switch to a default WordPress theme to rule out any conflicts. If the issue resolves, activate plugins and theme one by one to identify the conflicting element.

    Debugging:

    • Enable WordPress debugging in your wp-config.php file by setting WP_DEBUG to true. Check for any error messages or warnings on the pages where the issue occurs.
    Thread Starter Keith

    (@keithkhl)

    @rokmeglic, I am kinda sick upto the level that I do not leave program versions un-updated. In my mind, I am suffering from the fact that I have to compromise with PHP 8.1 due to compatibility issues with other plugins, while brand new PHP 8.3 is available.

    It has been running smoothly over 3 months, and recent updates, be it WordPress, theme, plugins, and/or any other settings, may have created such problems.

    As said, I have de- and re-activated all plugins and switched themes back to twenty-twenty-four (even three). At least none of them worked for me so far.

    Rok Meglič

    (@rokmeglic)

    @keithkhl you said:

    PHP version may be an issue. So, I downgraded PHP from 8.3 to 8.2, 8.1, and 8.0.

    In my mind, I am suffering from the fact that I have to compromise with PHP 8.1 due to compatibility issues with other plugins, while brand new PHP 8.3 is available.

    Why you are using old PHP version if downgrading did not solve the problem?

    Thread Starter Keith

    (@keithkhl)

    One of the plugins that is an extension of my site’s theme has an issue with recently updated 8.2.14 (as well as 8.3.0 and 8.3.1), and another plugin seller refused to update his plugin compatible to 8.3. I either had to choose 8.2.11 (or maybe 8.2.12) or down to 8.1.x. The most recent version of 8.1 is 8.1.27.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.