Last Updated on
[This article covers the most common WordPress errors & how to fix them]
WordPress is undeniably the most used blogging software and content management system (CMS) with a staggering 32% market share.
Though WordPress is very easy to use; but WordPress users often face several problems while using WordPress. For example, if you are not concerned about WordPress Security, you might face trouble.
You need to know why these problems happen. Also, you need to know how to fix these common WordPress issues.
No system is 100% secured or 100% bug-free.
If there are problems, there are also solutions. The best way to handle a problem is to stay calm and think out the ways to solve them. Many WordPress face many issues every day. Here we are discussing the most common WordPress errors how to fix them.
Internal Server Error
The Internal Server Error is one the most common WordPress errors faced by WordPress users. However, there is no one specific reason for internal server error. The source of the problem is unidentified and can happen for many reasons including theme issue, plugin issue or server issue.
Solution to WordPress Internal Server Error
- One of the solutions to fix the error is to deactivate all the plugins and reactivating them.
- If you can’t log in to your WordPress dashboard, then go to your file manager, and navigate to wp-content. Delete all the plugins and then try reloading website.
- If you still could not solve Internal Server Error, then there might be hosting related issues. Contact your hosting provider to know more about the problem.
White Screen of Death
Another common WordPress error is a White Screen of Death (WSoD).
White screen of death means a blank white page with no message.
The cause of the problem is different at different times. Sometimes it happens due to over usage of PHP memory limit.
Solve to White Screen of Death Issue in WordPress
- Increasing PHP memory limit
you can increase PHP memory limit by adding the following code to your wp-config.php file.
define( 'WP_MEMORY_LIMIT', '256M' );
- Try disabling all plugins and reactivating them.
- Change themes
WordPress Syntax Error
WordPress Syntax Error is another common WordPress errors. When someone tries to add code snippets and accidentally miss any of the syntaxes, then the screen shows this error. Using FTP is the best way to fix the error.
Parse error- syntax error, unexpected $end in /public_html/wp-content/themes/justwrite/functions.php on line 129
The error message is self-explanatory. The message indicates the line of the error.
WordPress Syntax Error Solution
The easiest solution for WordPress syntax error is restored the old file. If you do not have the backup of the changed file, then go to the line mentioned in the error code and try fixing it.
- You will have to write in the correct syntax to fix the issue. Most of the time it is a semicolon or missing bracket.
Error Establishing Database Connection
While working in WordPress, another common WordPress error is Error Establishing Database Connections
When the user changes or modifies the database authorization, then usually this error pops up. It may also occur because of wrong database information. Many times, when there is a high load on your website with lots of concurrent users, users may face “Error establishing database connection” error.
Fix Error Establishing Database Connection
- One can solve the problem by double checking the
wp-config.phpfile. Check if the correct database information is provided inside of the
- Providing the correct database info should fix your problem. If it does not, contact your hosting provider.
404 Not Found on Posts
Having a problem in finding the post and facing “Error 404: Content Not Found” is a widespread problem. Most of the time the permalink settings is the reason that a user can’t find the post on the site page.
Solve 404 Not Found
- By updating permalinks settings, one can solve this error.
- Check our tutorial on WordPress 404 Error to know more about the error and fix it.
Usually resetting the permalink settings fix WordPress 404 errors on posts.
Know more about SEO friendly WordPress permalinks in WordPress
Locked Out of Admin
Another critical and common WordPress error is Locked Out of Admin. This error mainly occurs because the user forgets the password and don’t have access to the recovery email.
Fix Locked Out of Admin Issue
The user is usually locked out of the WordPress admin area and can’t get access to the dashboard. It usually happens if a website gets hacked, database tables are compromised, or the user simply forgets his password, and the recovery email does not match.
Too Many Redirects Issue
An error can occur in any form. Too Many Redirects Issue is a very common WordPress error. It mainly happens when the user misconfigures the redirection tools of WordPress.
The URL system of WordPress is user-friendly, and you always should use SEO friendly permalinks. But if user misconfigures the usual redirection of WordPress, this error occurs. It can also happen by 3rd party redirection plugins.
Solve WordPress Too Many Redirect Issue
To solve this issue, you can delete any new redirection plugins. If it does not resolve your problem, you can go to your wp-config.php and add these two lines inside your wp-config.php starting from line 2.
Instead of example.com, use your site name.
Also, try fixing your permalink settings by saving permalink settings twice.
Briefly Unavailable for Scheduled Maintenance
When working in WordPress, there are many times that suddenly the site become unavailable for a brief time. This error is famously known as Briefly Unavailable for Scheduled Maintenance.
When a WordPress site is updating, the site keeps everything in maintenance mode, but if the update is interrupted, then WordPress cannot revert to the working condition. The website gets stuck at maintenance mode.
Solve WordPress Maintenance Mode
To solve the issue, you can log in to your site’s root folder using FTP. Try finding a file named .maintenance your site’s root directory. If you cannot see the file then make sure you checked to show hidden files on your FTP client. If you are using Filezilla, you can force to show hidden files by clicking on Server » Force showing hidden files from the menu bar.
WordPress creates a .maintenance file during the update process which indicates that your site is in the maintenance mode. Unless this file is removed your site will remain in the maintenance mode and your users will continue to see the notification.
If you are using cPanel, or other hosting plans, go to File Manager and try finding .maintenance and delete it like the following image.
Error with Uploading Images
Uploading Images Issue is another common WordPress errors. Often users see broken images while uploading through the media uploader. The reason behind this is wrong file input and also the wrong permission from the WordPress list.
Solve Image Uploading Issue
- Login to your file manager and set permission 644 to your wp-content folder. Check our WordPress Security Guide 2019 to know in depth about the importance of file permissions in WordPress.
- If that doesn’t solve your issues, contact your hosting provider.
Email Sending Problems
Another very common WordPress errors in email sending problem. One of the most common scenarios of this problem is not receiving any emails from your website. No WordPress notification emails, no contact form emails.
Email sending problem happens because many shared hosting providers limits or disable sending emails to prevent their servers from abuse.
You can use different mail sending services to solve the issue. For example, you can use any of the following services to send emails.
Cost Comparison of 40,000 Emails per month
- SendGrid – $9.95 / month
- AmazonSES – $4 / month
- SendinBlue – $7.37 / month
- Mailgun – $15 / month
- MailJet – $17.49 / month
- Postmark – $30 / month
Wrap Up on WordPress Errors
The issues mentioned above are some of the most common errors while using WordPress. Other than this there are many more problems.
But before solving any error, one must make sure that WordPress backup is done frequently.. Otherwise, there is a risk of losing data. Also, follow our WordPress Security Guide to make sure your site is safe from hackers.