Sorry to hear about the situation you’re facing with your website.
A possible solution could be to Check Database Connection Settings:
- The error could be due to incorrect database connection details. Check your wp-config.php file to ensure that the database name, username, password, and host are correct.
- To check this, log in to your hosting control panel (e.g., cPanel or a similar interface):
- Navigate to the File Manager.
- Open the wp-config.php file located in the root folder of your WordPress installation.
- Look for the following lines and confirm the credentials:
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('DB_HOST', 'localhost');