It may happen that when accessing the WordPress Overview section on hPanel, you encounter the following message:
As there are several different reasons why this may occur, below you can find a comprehensive list of possible solutions.
Option 1 - Database Connection
Ensure that the database credentials are correct in the wp-config.php file, as well as the URL values are correct on the database.
Check this complete tutorial: How to Fix WordPress Error Establishing a Database Connection
Option 2 - WordPress Core Files
Verify that the WordPress core files and folders exist in the correct file path and are up to date, such as wp-includes, wp-content, and wp-admin.
For a domain, the files should be in the public_html folder of the domain. If your WordPress installation is on a subdomain, it should be on the subdomain's folder, eg. domain.tld/public_htm/subdomain
If needed, you can restore the core files by following this guide: How to Restore the WordPress System Files
Option 3 - WordPress Database
Perform some database maintenance:
Next, fix the file permissions as well.
Option 4 - WordPress Plugins
Some plugins may cause conflicts in your WordPress installation. To find the possible plugin causing it, disable all the plugins on your website, except Elementor, if you use it.
Then, enable them back one by one, testing between each if the unforeseen error is gone. Here you can find the detailed instructions: How to Disable WordPress Plugins Via File Manager.
Option 5 - Hosting Limits
Make sure that your resource usage is within the limits, as exceeding them may cause errors or crashes on your website. Just follow this guide: How to Check Resource Usage on hPanel.
If the error persists after trying these alternatives, contact our Customer Success team - we will check if there are more options to explore!