WordPress.org

Ready to get started?Download WordPress

Forums

403 Permissions denied (17 posts)

  1. Jonathan Wilson
    Member
    Posted 1 year ago #

    I am getting this type of error on just about anything that I try to do in my MulitSite network. Adding a site, deleting media, updating plugins, etc. Any ideas?

    403 Permissions Denied
    You do not have permission for this request /wp-admin/post.php?action=delete&post=679&_wpnonce=48ce5c611b

  2. Joshua Parker
    Member
    Posted 1 year ago #

    Are you logging in with a username that has super admin capability?

  3. Jonathan Wilson
    Member
    Posted 1 year ago #

    Thanks for the reply.

    Yes. I am the super admin.

  4. Joshua Parker
    Member
    Posted 1 year ago #

    Can you at least get to the Network Admin page without error?

  5. Jonathan Wilson
    Member
    Posted 1 year ago #

    Yes. The error occurs when I try to make any changes.

  6. Joshua Parker
    Member
    Posted 1 year ago #

    Got into your database and navigate to the wp_sitemeta table. In this table, you should find the site_admins meta_key. In the value you should see something like this: a:1:{i:0;s:7:"admin";}. Do you see it?

  7. Jonathan Wilson
    Member
    Posted 1 year ago #

    This is getting more interesting by the minute. I can't even log into phpmyadmin.

  8. Joshua Parker
    Member
    Posted 1 year ago #

    You should check with your hosting provide to make sure that there is no issue with your hosting account.

  9. Jonathan Wilson
    Member
    Posted 1 year ago #

    I got it.

    This is in the site_admins meta_key: a:1:{i:0;s:11:"mrjonwilson";}

    mrjonwilson is my username.

  10. Joshua Parker
    Member
    Posted 1 year ago #

    Ok, and how about the value for wp_capabilities in wp_usermeta. It is looks like this: a:1:{s:13:"administrator";s:1:"1";}, its ok.

  11. Joshua Parker
    Member
    Posted 1 year ago #

    In the wp_sitemeta table for site_admins, change 11 to 7. If it works, great. If not, change it back to 11.

  12. Jonathan Wilson
    Member
    Posted 1 year ago #

    wp_capabilities is:
    a:1:{s:13:"administrator";s:1:"1";}

  13. Jonathan Wilson
    Member
    Posted 1 year ago #

    Changing to 7 didn't do it.

  14. Joshua Parker
    Member
    Posted 1 year ago #

    Is this a new install? If not, was it working before? Did you recently upgrade it or a plugin or recently activated a plugin that could be causing the issue?

  15. Jonathan Wilson
    Member
    Posted 1 year ago #

    It's not a new install and it has been working before.

    I'll have to check my plugins.

  16. Jonathan Wilson
    Member
    Posted 1 year ago #

    Did a plugin check by deactivating, then testing... nothing. Still having the issue.

  17. What's the last think you did before this started happening?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.