• Resolved jpollock

    (@jpollock)


    The “Site Health” link to access the admin screen is missing from Admin -> Tools. It’s there on my dev site but not production. Experiencing this exact same issue on 2 separate sites now.

    When attempting to directly access the screen via URL (wp-admin/tools.php?page=health-check) I get “Sorry, you are not allowed to access this page.” on the effected sites.

    I’ve already de-activated all other plugins. No fix. Changed theme to 2019. No fix. All plugins updated (yes core is out of date)

    Steps to reproduce:
    Install plugin
    Activate plugin
    Navigate to “tools” in admin
    Notice there is no “Site Health” link
    Notice I can’t even access the page directly via URL.

    WP 5.1.1. Healthcheck 1.3.2.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hi,

    It sounds like your user doesn’t have the install_plugins` capabilities on your live site for some reason (there may be many reasons for this, for example that it’s a multisite and you are not a network admin, or perhaps plugin installs are blocked by your host or other security measures in place?

    Thread Starter jpollock

    (@jpollock)

    Thank you @clorith. Sorry for the delay in my reply. You are correct, we do indeed have DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS set to true on our production configs to stop clients from editing files and adding plugins. I find it odd that even the most basic Health Check plugin screens are unavailable, but at least I can cross figuring this out off my list. Huge thanks for that.

    Plugin Author Marius L. J.

    (@clorith)

    There’s a filter coming in the next version of the plugin, which will allow you a bit more granular control over this, for the exact type of scenario you’re describing. Although for the majority of users, that capability check is good, as they can’t do much to fix their setup if they don’t have access to things, it’s understandable that for some more is needed.

    A new capability of view_site_health_checks will take care of that and can be filtered.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No link to access admin page (yes I’ve checked under Tools’ is closed to new replies.