• Drop menu and submenu in WordPress dashboard for updating WordPress, plugins and themes, not showing.

    I could not access:
    update-core.php
    When I open the link (https://ammkmedia.com/wp-admin/update-core.php) this error shows:
    Sorry, you are not allowed to access this page.
    I can update plugins manually, but could not WordPress and theme.
    Kindly tell me permanent soution.

    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    It sounds like your account may have lost admin privileges for some reason.

    If you are not using Multisite, access your database via phpMyAdmin (most hosting providers offer this in your hosting account’s control panel), go to the wp_users table and find the row for your user_login. Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id. Set the value of this row to:

    a:1:{s:13:"administrator";b:1;}

    Thread Starter Pak IT Services

    (@aikzhobi)

    @macmanx

    Thank you very much for the reply.

    I checked, my user ID is 3

    But in usermeta table, there is no capabilities row for my id (3), but this row is available for another use (user id 2)

    Kindly check the screenshot (Click here). Should I ad this row for me? If yes, then how?

    Thread Starter Pak IT Services

    (@aikzhobi)

    Furthermore, user id 2 has same value in capabilities row a:1:{s:13:”administrator”;b:1;}, and I logged in from that ID, but same problem exist in his ID as well

    Moderator James Huff

    (@macmanx)

    User ID 2 should be the one with access, so focus on that one for you.

    1. Are you using multisite, or on a blog inside of as multisite network?
    2. Are you using any plugins to modify user roles and capabilities?
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Update menu in dashboard not showing and could not update wordpress and plugins’ is closed to new replies.