Support » Plugin: WP-Members Membership Plugin » Try to login and get "ERROR: User has not been activated." – I've logged in b4

  • A client emailed me yesterday saying he can’t login to his WP site anymore.

    I had placed a primary login using .htaccess for all wp-admin folders using a method (if not this exactly the same, very similar to) http://www.wpbeginner.com/wp-tutorials/how-to-password-protect-your-wordpress-admin-wp-admin-directory/ a few months back. I tested several sites and so far no one has had any issues.

    So I removed the two files (from the above method) and re-tried to login to his WP site. I know for a fact I have a user account (an admin account) because I’m looking at it in phpMyAdmin but whenever I try to login I get this error:

    ERROR: User has not been activated.

    Next I found this: https://wordpress.org/support/topic/user-has-not-been-activate?replies=6

    And yes, they are using that plugin (WP-Members) – however they are USING the plugin, so I can’t just delete it.

    What now?

    https://wordpress.org/plugins/wp-members/

    COMING BACK TO SAY:

    I disabled the plugin by renaming the plugin folder via FTP – and then was able to login as the administrator. Re-stored the plugin folder name, but the next time I log out of WP it doesn’t allow me to log back in.

    COMING BACK AGAIN TO SAY: I even went into the USERS while I was in, clicked to ‘reactivate’ my admin account. It logged me out and I couldn’t log back in.

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    It sounds like they have enabled moderated registration which requires accounts to be activated. Enabling this process activates the admin that is enabling it, but it does not activate any other accounts (including admins).

    Based on your description, it sounds like there is more than one admin account? You won’t be able to activate your own account if it’s not activated; you would need to be logged in as an activated admin user. Whatever account they used to enable the moderated registration is what you need to log in as.

    Alternatively, since you have db access, you can create a meta field in wp_usermeta for your user ID with meta_key “active” and meta_value “1”.

Viewing 1 replies (of 1 total)
  • The topic ‘Try to login and get "ERROR: User has not been activated." – I've logged in b4’ is closed to new replies.