Imported users are not able to login
Ultimate Member does not include a built-in user import feature. To import users into a WordPress site, a third-party plugin must be used. For recommended tools and import guidelines, refer to Exporting and Importing Users.
Issue
When using the Import and export users and customers plugin, imported users may encounter a too many redirects error when attempting to log in. This occurs because the plugin assigns a acui_force_reset_password
flag to each user, which conflicts with Ultimate Member’s custom login system.
Solution
To resolve this issue, remove the acui_force_reset_password
flag from all user records in the database and clear Ultimate Member’s user cache.
Code Snippet
Add and execute the following code snippet on your site:
<?php global $wpdb; $wpdb->query("DELETE FROM {$wpdb->usermeta} WHERE meta_key='acui_force_reset_password'"); UM()->user()->remove_cache_all_users(); ?>
Notes
- Run this snippet once and test user logins.
- If the issue persists, execute the code a second time.
- This operation deletes the
acui_force_reset_password
meta key for all users and clears Ultimate Member’s user cache to apply the changes immediately.
Alternative Option
If you are unable to run the PHP snippet, you can manually clear the cache after removing the acui_force_reset_password
meta keys via your database by going to: Ultimate Member → Dashboard → Clear Cache. This ensures that login data and user cache are fully refreshed.