Critical error on your site

I’d look at the wp-settings file to see if there is something added there that shouldn’t be there. Look at a backup copy of it, or the default one in the WP core code.

You could also reinstall WP manually. Many googles/bings/ducks on how to do that; here’s one: https://www.wpbeginner.com/wp-tutorials/how-to-uninstall-and-reinstall-wordpress/ .

Make a backup copy of your files.

Could also be your theme. You could temporarily deactivate your current theme by renaming the theme’s folder. And you might also want to temporarily deactivate your plugins by renaming the plugins folder.

You don’t mention what version of WP you have. But it is always a good idea to keep WP to the latest release. And ensure that you are running PHP 7.2+.