
WordPress Update Failed? How to Fix Failed Updates and Maintenance Mode
Fix failed WordPress updates and “Briefly unavailable for scheduled maintenance”: remove the .maintenance file, check permissions and update manually.
A step-by-step method to diagnose WordPress problems, plus quick fixes for the most common errors — from white screens to “WordPress not loading”.
Most WordPress problems are caused by a plugin, a theme, a server limit or a recent change. To troubleshoot: back up the site, check the error message and your email for WordPress recovery mode, enable debug logging, deactivate all plugins (rename the plugins folder if you cannot log in), switch to a default theme, and re-enable items one by one until the problem returns. Then update, replace or remove the cause.
When WordPress breaks, a calm, methodical approach fixes the vast majority of problems without losing data. Use the method below first, then find your specific error in the table.
Take a backup of files and database before changing anything, if you can.
A plugin update, new theme, PHP version change or code edit is the usual trigger.
For fatal errors, WordPress emails the admin a recovery-mode link that lets you log in and deactivate the faulty plugin or theme.
Add the settings below to wp-config.php and read wp-content/debug.log.
From the dashboard, or by renaming wp-content/plugins to plugins-off via SFTP or your host’s file manager.
Activate Twenty Twenty-Five (or rename your active theme folder).
Turn plugins and your theme back on individually until the error returns — that is the cause.
Review your host’s error logs, PHP version and resource limits, or ask support.
// wp-config.php — log errors to wp-content/debug.log without showing them to visitors
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false ); Warning: Turn debugging off again when you are finished, and delete debug.log — it can reveal file paths to anyone who finds it.
| Error | Most likely cause | Quick fix |
|---|---|---|
| WordPress not loading / site down | Hosting outage, DNS, expired domain or fatal error | Check host status and domain renewal; then follow the method above. See 500 errors. |
| “There has been a critical error on this website” | PHP fatal error in a plugin or theme | Use the recovery email or debug log; see critical error fix |
| White screen of death | PHP error or memory exhaustion | Debug log, disable plugins, raise memory; see white screen fix |
| 500 Internal Server Error | Corrupt .htaccess, plugin conflict, server limits | Regenerate .htaccess by saving permalinks; check server logs |
| Error establishing a database connection | Wrong credentials in wp-config.php or database server down | Check DB_NAME, DB_USER, DB_PASSWORD, DB_HOST; contact host. See database error fix |
| Too many redirects | Mismatched site URLs, HTTPS or CDN settings | Check WordPress Address/Site Address and SSL mode; see redirect loop fix |
| 404 errors on posts | Permalink rules missing | Settings → Permalinks → Save; see 404 fix |
| Allowed memory size exhausted | PHP memory limit too low or a heavy plugin | Increase WP_MEMORY_LIMIT; see memory limit |
| Cannot log in | Cookies, plugin conflict, wrong URL or password | Clear cookies, reset password, disable plugins; see login problems |
| Update failed / stuck in maintenance mode | Interrupted update or file permissions | Delete the .maintenance file and retry; see update failed |
| Site is slow | Hosting, no caching, heavy plugins or images | See why WordPress is slow |
Go to Tools → Site Health to see critical issues and recommendations, such as outdated PHP, failed loopback requests or missing modules. The Info tab lists server details your host’s support team will ask for.
Prevent future problems with a staging site and regular backups.
A practical, step-by-step guide to creating and running a WordPress website — from installation and settings to design, pages, plugins…
How to choose a fast, well-supported WordPress theme for a business, store or portfolio — plus a shortlist of popular…
The essential WordPress plugins by category — SEO, security, backups, caching, forms, ecommerce and business tools — and how to…
A beginner-friendly Elementor tutorial: install Elementor, build your first page, set global styles, make it responsive and keep it fast.
How to set up a WooCommerce store step by step: install WooCommerce, add products, payments, shipping and taxes, and keep…
Practical WordPress security: updates, logins, roles, hardening, security plugins, backups — and what to do if your WordPress site is…

Fix failed WordPress updates and “Briefly unavailable for scheduled maintenance”: remove the .maintenance file, check permissions and update manually.

Fix WordPress 404 errors: reset permalinks, restore .htaccess, check slugs and redirects, fix server rewrite rules and monitor broken links.

Fix the WordPress redirect loop: clear cookies, check site URLs, HTTPS and Cloudflare SSL settings, .htaccess rules and redirect plugins.
Short, honest answers to the questions people ask most about this topic.
Common causes are a hosting outage, an expired domain, DNS problems or a PHP fatal error from a plugin or theme. Check your host’s status and domain first, then enable debug logging and disable plugins.
Use the password reset link, clear browser cookies, and if that fails, disable plugins by renaming the plugins folder through your host’s file manager or SFTP. You can also reset the password via phpMyAdmin.
When a plugin or theme causes a fatal error, WordPress pauses it and emails the site administrator a special link to log in and fix or deactivate the problem.
No. Deactivating plugins does not delete posts or pages. Some plugin settings or features may stop working until you reactivate them.
Explore the rest of our WordPress guides, or follow the beginner path step by step.
We use essential cookies to run this site. With your permission we also use cookies for analytics and for advertising, including personalised ads from Google. You can change your choice at any time — see our Cookie Policy and Privacy Policy.