Support » Plugin: W3 Total Cache » Admins aren’t allowed to purge the cache

  • Resolved mattce

    (@mattce)


    Hello,
    we’ve got a multisite installation, where some user have admin rights (not superadmin). They are not longer able to purge the cache, they are getting the error:

    “Sorry, you are not allowed to access this page”

    For me, as Superadmin, it’s still working, but is there a way to allow it again for “normal” admins, that have not access to the network options in general?

    Thanks a lot 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,
    When did this start to occur? Have you made any changes on your website? PHP version or something similar?
    Have a look at this article here. It might be helpful.

    Hi Marko, thanks for your response. I can’t tell when it started to happen exactly, but it can’t be for so long, because the admins always were purging the cache on their own and had no problems.

    We didn’t change the php version nor the database slug, so it seems to have other reasons.

    When I click on the “Performance” entry on the adminbar, the “Purge all Caches” link shows [domain]/wp-admin/network/admin.php?page=w3tc_dashboard&w3tc_flush_all&_wpnonce=2924bd75fb, so it tries to open the /network/ section of the site, but normal “admins” have no access to this section.

    Could this be the problem?

    • This reply was modified 1 year, 11 months ago by mattce.
    Plugin Support Marko Vasiljevic

    (@vmarko)

    Yes, indeed it can.

    Alright, so will you change this link in a coming version, or is the purging not working anymore then?

    If I open [domain]/wp-admin/admin.php?page=w3tc_dashboard&w3tc_flush_all&_wpnonce=2924bd75fb (without /network/) directly as admin user, it tells me, that the cache has been purged (“All caches successfully emptied.”), so I guess it’s working then, but I’m not sure.

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,

    We’ll look into this. It’s multisite so that’s why there might be an issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admins aren’t allowed to purge the cache’ is closed to new replies.