• I am trying to update our WordPress installation and plug-ins on our multi-site but keep receiving the following error message:

    Sorry, you are not allowed to access this page.

    Query Monitor
    The message above was triggered by Core.

    Call stack:

    wp_die()
    wp-admin/includes/menu.php:348

    • This topic was modified 4 years, 11 months ago by jivazquez.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • For test, create a new admin user and check your main account by it, see your main account in users, should be admin not none, if is not admin fix it by new admin account.

    Maybe your user role doesn’t allow that access in this WordPress install? Is there a site admin that can confirm this for you?

    Thread Starter jivazquez

    (@jivazquez)

    Hi @farhadvn and @mapk

    I forgot to mention we have a multi-site setup.

    I tried having another Super Admin update the installation and plug-in and they got the same error.

    I tried creating a new admin via the Network Admin and it gave me the same error.

    I tried creating a new admin via an individual site and it redirected me to the “Add/Edit Taxonomies” page on our site.

    Hi @jivazquez,
    1. Go to cpanel
    2. Select phpMyadmin
    3. Select your wordpress db, then usermeta table (looklike *_usermeta)
    4. Find *_capabilities (12th in list (umeta_id 12 and user_id should be 1 if you are first admin of site) and select edit
    5. Edit it, replace/add tometa_value (longtext) field this code: a:1:{s:13:"administrator";b:1;} , save (“go” key)

    Now should problem be fixed ??

    Note: if you are not first user of site, mean someone else installed your wp, before stage 3 you should simple go to *_users table and find your self by username, then check the user id, now in stage 4 search for a *_capabilities that have same number in user_id with your id

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error trying to update WordPress’ is closed to new replies.