The reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.
Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.
In both cases you should be able to see what the cause is in the logfile.
- Log in to cPanel
- Open File Manager
- Go to
public_html
- Go to
wp-content
- Go to
plugins
- Inside the plugins folder, rename each plugin folder. Take the plugin name and add “On” at the end.
Example:
plugin-name → plugin-name On
If the issue is caused by a plugin, this method allows you to disable the problematic plugin individually.
Hello and thank you both. I renamed the whole plugin folder, deleted .htaccess and it allowed me to log in again. I solved a cache issue and the site seems to be working fine now.