Title: phantom users
Last modified: April 10, 2019

---

# phantom users

 *  Resolved [marczar](https://wordpress.org/support/users/marczar/)
 * (@marczar)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/phantom-users/)
 * Hi there. Sometimes when a user should be deleted (and is in fact gone from the
   WP User Page and wp_users table), the account hangs around somehow, and the credentials
   still work. And the old user’s email address can’t be used to create a new account.
 * I’ve dumped the database to text files and searched for the username/email and
   found references in a few tables: wp_comments, wp_usermeta, and wp_cleanup_optimizer_login_log.
 * I’m not worried about comments, and deleting the wp_usermeta record makes no 
   difference. Which narrows it down to wp_cleanup_optimizer_login_log. On a side
   note, it has almost 800 thousand rows, which seems excessive (but I guess I don’t
   really care).
 * So wp_cleanup_optimizer_login_log has an obvious connection to logging in, which
   is where the problem is (old [deleted] users can still log in — new accounts 
   w/ same credentials are prevented).
 * I’d like to know whether I can safely delete pretty much everything in this table
   without breaking something, or alternatively, whether I should be looking for
   something more specific. And also please let me know if I’m way off track (but
   what else could it be at this point?).
 * Thanks for your help. Talk soon.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/phantom-users/#post-11453329)
 * Hi,
 * This table has no connection with users credentials.
 * You can delete the entries from clean_up_optimizer_login_log table.
 * Thanks & Regards.
 * Support Team
    Tech Banker
    -  This reply was modified 7 years, 1 month ago by [Varun Sharma](https://wordpress.org/support/users/contact-banker/).

Viewing 1 replies (of 1 total)

The topic ‘phantom users’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-clean-up-optimizer_e13737.svg)
 * [WP Clean Up Optimizer: Optimize Database & WordPress](https://wordpress.org/plugins/wp-clean-up-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-clean-up-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-clean-up-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-clean-up-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-clean-up-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-clean-up-optimizer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/phantom-users/#post-11453329)
 * Status: resolved