Oops! I didn’t think this through very well. This isn’t the easiest task when you cannot access your dashboard and presumably not new user nor general settings as well.
You will need to directly access your database through phpMyAdmin. If your host did not provide a direct link, you can usually access it through your hosting control panel. Creating users this way is rather tricky, so let’s just enable registrations.
Once you’re in phpMyAdmin (or your host’s equivalent DB management tool ) identify your WP database in the left sidebar and click on it. This displays all the tables. Click on the wp_options table (the ‘wp’ portion may be something else). This displays the first page of the options. Locate the option_name “users_can_register”, it’s usually near the beginning, use search if you need to.
In the next option_value column adjacent to users_can_register double click the 0 and change it to 1, then hit Enter. That’s all, but let’s be safe, locate the “default_role” option_name and confirm the adjacent option_value is “subscriber”. Exit phpMyAdmin.
If you are in your cPanel, please locate the file manager and open wp-config.php for editing. Change the definition of WP_DEBUG
from false
to true
and save the change. Close the file manager and log out of your cPanel.
Report back here when you’ve done all of this and we’ll see if we can glean any more information. Please do tell us who your host is, it could be a useful clue.