Friday I ran a standard edit on my website and created a backup prior to starting. A plugin failed during namecheap maintenance and hundreds of my backups were lost and now 1 out of the handful left was regenerated from 2018 but without a wp_user table. Without that, I have no privileges or credentials to log in and edit my site. What do I do?? Currently waiting to hear from Namecheap if a more recent Nov 2023 backup they "found" has a wp_user table. SOS its been 3 awful days with little help and urgency from Namecheap.
I am looking into trying to creat fresh tables, then when go to /wp-admin it hopefully it will ask me to register a new user for the current backup.
Here's the SQL query you can execute in your hosting control panel to create the table you need:
This will help you to create a base wp_users table structure with one admin row. You can replace your_login, your_nicename, your_email and your_name in this code. After creating this table, you can go into your control panel and reset your password