If you get the critical error message on your WordPress page, stating »There has been a critical error on this website. Learn more about troubleshooting WordPress.«, you don’t necessarily have to update anything in the config via FTP just yet…
Before going crazy trying to (re)gain FTP access, cause you’re a noob and you only used it once to install WordPress, and then bragged about that to your evenmore noob-ish Mac user friends, you can try this:
- If your page is synced with WP.com / JetPack, go to WP.com and access your site there.
- Deactivate all kinds of silly plugins that are non-essential to your layout such as
– SEO tools
– cache optimization
- Then access your wp-admin page again via mydomain.com/wp-admin and if you are prompted a “your database needs to …” or “your database has been updated…” or whatever message, just follow the instructions, wait, and pray.
In many cases, you may just encounter that your wordpress admin was not actually down, but a recent update interfered with the running wordpress version. This can happen due to automatic updates. I recommend to always deactivate automatic updates, because it is important to do them in the correct order anyway, as in:
- update all your plugins before a major wordpress update
- and update them regularly but manually to ensure you don’t run into the issue of having an updated plugin before an updated wordpress core!
This kind of error usually is a database issue. So if this does not work, you might have to enter your WordPress install in debug-mode.
Please also consider educating yourself on WordPress and PHP, because panicking over something like this is ridiculous and you are unworthy of hosting your own WordPress installation if you get freaked out by stuff like this. Get a HTML 2.0 Website and code it all yourself in a text editor, if you’re scared of databases.
That’s it, hope this helps!