I made a huge mistake changing my admin account role from 'administrator' to 'Basic User'. Don't know what to do. Any suggestions how should I proceed to retrieve my account role back again, please?
Usually, this should help:
- Open your database (with phpmyadmin, navicat, etc)
- Open the wp_user table and have a look for the ID of your admin user (usually 1)
- Open the wp_usermeta table and search for the row that has the user_id of your user
- paste the following string into the meta_value field of the row:
that should be it: login again and the user should be administrator again.
One advice though: Some plugins put their admin rights into that field too - those are lost after that. But deactivating/activating of the plugins could solve that.
Best way to avoid all that: Create a new user in the user table and give this user the new rights. With the new admin user you could give the old admin user the admin status back again.
br from Salzburg,