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://wordpress.org/support/article/debugging-in-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.
i can’t login to backend login also its showing same error
As mentioned above, you need to check the log files in your hosting to find the cause and ultimately fix it. If you have any questions, please contact your host’s support team.