I am looking after a old site from a client and a lot of users dont have username.
I had setup in woocommerce "When creating an account, automatically generate a username from the customer's email address", but for some reason it is not creating username for the new user, so I unticked that and left the field mandatory.
Now, If an user with blank username request a new password, wordpress doesnt send an email. Only if I go manually to the phpmyadmin and included it. However there are more than 500 users without username. Is there a way to automatically get the user email for example and include in the username field?
Or make wordpress send email even with no username?