WordPress.org

Forums

cant access my wordpress administrator panel (3 posts)

  1. AlirezaDana
    Member
    Posted 1 year ago #

    I have a problem with my WordPress admin panel . I'm the web administrator but I don't have administrators permissions!

    For example I can't access widgets or directories and I cant update my WordPress to latest versions and edit my pages!

    and so more problems like these.

    I asked some WordPress developers and they told me that my WordPress database is damaged. I tried to fix my WordPress database and I checked wp-usermeta and wp-users table but they didn't have any problems!

    How can I fix these problems?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Using Phpmyadmin (or another MySQL management tool), first backup your database. Then navigate to your wp_usermeta table and locate the meta_key called "wp_capabilities" for your user_id. Change the meta-value for this record to:

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

  3. AlirezaDana
    Member
    Posted 1 year ago #

    yeah i did your solution but didn't work currectly !

    tnx for help

Topic Closed

This topic has been closed to new replies.

About this Topic