Have you checked if user exist in database once with administrator role ? Which plugin/functionality you have used which gives error of ‘add_caps()’ ?
You need to identify exactly which plugin you are using and then post in that plugin’s dedicated forum via its page in the Plugin Repository.
I went to the plugin support forum but I’m not sure if the plugin is the real issue. I’m supposed to be able to login as admin even after disabling from backend but still nothing
Anurag, I’m not too good with tech, but when I checked user tables in phpmyadmin, the account was still there, how do I know if it’s admin?
@liber7y, I’ve been there before, didn’t help.
Each time I login while formidable plugin is active I get this
Fatal error: Call to a member function add_cap() on a non-object in /home/content/08/11359108/html/wp-content/plugins/formidable/classes/helpers/FrmAppHelper.php on line 756
Check in database for wp_users table. Click or open that table. Check for ID whose value is ‘1’. Also check for wp_usermeta table, in that check for column user_id ‘1’, meta_key as ‘wp_capabilities’ and check if in meta_value it has ‘administrator’.
This means user with admin role exist.
If plugin doesn’t allows you to login, try disabling the plugin. Go to
/home/content/08/11359108/html/wp-content/plugins/
rename the folder ‘formidable’ and then try once to login. If this plugin doesn’t allow you to login as an admin, you can disable that and then try.
My client’s own account is displaying as admin but mine isn’t. I tried logging in with hers and it’s showing like a suscriber. I disabled the plugin and tried again and it’s showing “Sorry, yu are not allowed to access this page”