What this usually means
Once you have the error, the file path tells you who’s at fault. A path that includes /wp-content/plugins/ names a plugin, and /wp-content/themes/ names a theme.
- Fatal error: something stopped the page
- Warning: something is wrong, but the page carried on
- Notice or deprecated: minor, or a sign of trouble ahead
Step by step
Take a backup first
Always, before editing wp-config.php.
Add the three lines
Put them in wp-config.php above the line that says to stop editing. They turn on logging and keep errors off the page.
Reproduce the problem
Reload the page that fails, then open wp-content/debug.log over SFTP.
Read the first fatal error
Note the file path and line number, and what it says. Then switch debugging off and delete the log.
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
When to get help
If the error means nothing to you, send us the first few lines of the log, without any passwords. It’s usually enough for us to say what’s wrong.