Most Annoying WordPress Problems & How to Fix Them
In this article
- Why WordPress Breaks (and Why It’s Usually Not Your Fault)
- The White Screen of Death (WSOD)
- “Error Establishing a Database Connection”
- Plugin Update Breaks Your Site
- “Are You Human?” – The Login Lockout Problem
- Slow Loading Times (and How to Speed Up)
- “Briefly Unavailable for Scheduled Maintenance” – Stuck in Maintenance Mode
- Frequently Asked Questions
WordPress powers over 40% of all websites, yet even seasoned users hit the same frustrating roadblocks: the dreaded “Error Establishing a Database Connection,” the white screen of death, and plugins that break the site after an update. This article walks through the most common WordPress annoyances and gives clear, step-by-step fixes you can apply without hiring a developer.
Why WordPress Breaks (and Why It’s Usually Not Your Fault)
WordPress is a content management system built on PHP and MySQL. When something goes wrong, it’s rarely because you “did something wrong.” Most issues stem from one of three root causes: a plugin or theme conflict, a server resource limit, or a corrupted file or database. Understanding this helps you troubleshoot logically instead of randomly clicking settings.
For example, the “white screen of death” (a blank page with no error message) is almost always a PHP fatal error caused by a plugin or theme. Similarly, the “Error Establishing a Database Connection” usually means your site can’t talk to its database—often because the database credentials in wp-config.php are wrong or the database server is down.
The White Screen of Death (WSOD)
You open your site and see nothing but white. This is one of the most common and alarming WordPress problems. The fix is to identify the culprit—usually a plugin or theme—and disable it.
- Access your site via FTP or cPanel File Manager. Navigate to
/wp-content/plugins/and rename the folder of the plugin you recently installed or updated (e.g.,akismettoakismet-old). This deactivates it. - If that doesn’t work, rename the entire
pluginsfolder toplugins-old. This deactivates all plugins. If the site loads, reactivate plugins one by one until the white screen returns—that’s the offender. - If the problem is the theme, rename the active theme folder in
/wp-content/themes/. WordPress will fall back to a default theme (like Twenty Twenty-Four).
If you still see white, enable WP_DEBUG in wp-config.php to display the actual error message. Add this line before the “That’s all, stop editing!” comment:
define('WP_DEBUG', true);Then reload the page—you’ll see the specific PHP error, which you can search for online.
“Error Establishing a Database Connection”
This error means WordPress can’t connect to your MySQL database. The most common causes are:
- Incorrect database credentials in
wp-config.php(host, username, password, database name). - The database server is down or overloaded (common on shared hosting).
- The database itself is corrupted.
Fix: First, check your hosting status page or contact your host to see if there’s a server outage. If not, open wp-config.php and verify the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST values. If you recently changed your cPanel password, update the password here too. If the credentials are correct, try repairing the database by adding this line to wp-config.php:
define('WP_ALLOW_REPAIR', true);Then visit yourdomain.com/wp-admin/maint/repair.php and click “Repair Database.” Remove that line afterward.
Plugin Update Breaks Your Site
You click “Update” on a plugin, and suddenly your site is down or shows errors. This is so common that many users delay updates—but that leaves you vulnerable to security holes. The fix is to keep a backup and know how to roll back.
Immediate fix: If the site is still accessible, go to Plugins → Installed Plugins and deactivate the recently updated plugin. If you can’t access the admin, use FTP to rename the plugin’s folder (as described above).
Prevention: Before updating any plugin, take a full backup (files + database). Many hosting providers offer automatic backups—enable that. Also, consider using a staging site to test updates before applying them to your live site.
If you need to revert to an older version, you can download the previous version from the WordPress plugin repository (look for “Advanced View” on the plugin page) and manually upload it via FTP, overwriting the new files.
“Are You Human?” – The Login Lockout Problem
After a few failed login attempts, WordPress (or a security plugin) may lock you out. This is annoying when you’ve simply forgotten your password. The fix depends on what’s causing the lockout.
- If you use a security plugin like Wordfence or Limit Login Attempts: The plugin may have a lockout page with a countdown. You can wait it out, or if you have FTP access, temporarily rename the plugin folder to disable it, log in, then reactivate.
- If you’re locked out of the admin entirely: Use the “Lost your password?” link on the login page. If that doesn’t work, you can reset your password via phpMyAdmin (in cPanel) by changing the
user_passfield in thewp_userstable to an MD5 hash of your new password (WordPress will rehash it on next login).
To prevent future lockouts, use a password manager and consider enabling two-factor authentication (2FA) via a plugin like Google Authenticator.
Slow Loading Times (and How to Speed Up)
A slow WordPress site frustrates visitors and hurts your SEO. The most common culprits are unoptimized images, too many plugins, and poor hosting. Here’s how to fix it:
- Optimize images: Compress images before uploading. Use a plugin like Smush or ShortPixel, or use WebP format. Large images are the #1 cause of slow sites.
- Use caching: Install a caching plugin like WP Super Cache or W3 Total Cache. This generates static HTML files of your pages, reducing server load.
- Limit plugins: Each plugin adds PHP code and database queries. Deactivate and delete plugins you don’t use. Aim for fewer than 20 quality plugins.
- Use a CDN: A Content Delivery Network (like Cloudflare) serves your static files from servers closer to your visitors, speeding up load times globally.
- Upgrade hosting: Shared hosting is cheap but slow. If your site gets steady traffic, consider a managed WordPress host or a VPS.
You can test your site’s speed with Google PageSpeed Insights or GTmetrix to identify specific bottlenecks.
“Briefly Unavailable for Scheduled Maintenance” – Stuck in Maintenance Mode
This happens when WordPress is updating a plugin, theme, or core, but the update fails, leaving a .maintenance file in your root directory. The fix is simple:
- Connect to your site via FTP or cPanel File Manager.
- Look for a file named
.maintenancein the root folder (same folder aswp-config.php). - Delete it. Your site will immediately come back.
If you see this error repeatedly, it might be a server permission issue—your WordPress files should be owned by your user, not root. Check with your host.
Frequently Asked Questions
How do I fix the “Failed to open stream: Permission denied” error?
This usually means your server can’t write to the wp-content folder. Set the correct file permissions: directories should be 755, files should be 644. You can do this in cPanel’s File Manager by selecting all files and clicking “Change Permissions.”
Why does my WordPress site get hacked even with a security plugin?
Security plugins help, but they’re not a silver bullet. Most hacks happen due to outdated core, themes, or plugins, weak passwords, or vulnerable plugins. Keep everything updated, use strong unique passwords, and remove unused plugins. Also, use a reliable hosting provider that monitors for malware.
How do I fix the “Are you sure you want to do this?” error in WordPress admin?
This error often appears when a nonce (security token) expires. It can happen if you leave the admin page open too long or if your site URL is misconfigured. Try refreshing the page and trying again. If it persists, clear your browser cache and cookies, and ensure your WordPress Address and Site Address in Settings → General are correct (no trailing slashes).
Can I fix a broken WordPress site without FTP access?
Yes, if you have access to cPanel or your hosting control panel. You can use the File Manager to rename plugin folders or edit files. Also, many hosts offer a “WordPress Manager” that lets you reset plugins or restore backups. If you have no file access at all, contact your host’s support—they can usually help.
Why does my WordPress site show “Warning: Cannot modify header information”?
This PHP warning usually occurs when there is extra whitespace or characters (like a BOM) in wp-config.php or a plugin file before the opening <?php tag. It can also be caused by a plugin sending output before headers. Check the end of wp-config.php for a closing ?> tag—remove it if present.