23 Common WordPress Errors And Their Solutions You Should Know
March 13th, 2018 | by Ravi Chahar || 14 Comments |
Having a WordPress blog is the most amazing thing to many people. You’re building your dream blog but what if some unknown error stops you. Do you know about the common WordPress errors and their solutions?
In the past few years, WordPress has grown up to be one of the largest communities using which people are spreading their ideas to the world.
But when people get an error on their websites, they fret and ask for the help. Don’t you think you should learn yourself?
I know not everyone is the super techie but still, you should have the basic knowledge about the common WordPress errors and their solutions.
In this article, you will see the list of errors which can be seen normally. You can’t reach your web hosting every time you encounter with an error.
The List of the Most Seen WordPress Errors
Before you even start, you should always look whether you have backed up your website and the database.
Either you use any plugin or you can manually backup your WordPress website within no time. Save the backup to your computer and somewhere online.
It’s not safe to have your backup only on your hard drive. There should always be more than one copy.
Let me start the list.
#1. Error Establishing a Database Connection
When you move your blog from one web hosting to another, this is the most common WordPress error you will see.
It’s because the database credentials aren’t same in the wp-config.php file. Do you know how to edit the wp-config.php file?
This error appears because the connection to the database was not made. To fix this, you can easily find the wp-config.php file where you will see the database name, database username, hostname etc.
Fill the same credentials as you have for the database of your website.
Sometimes this error occurs when the MySQL server of your web hosting is down or under maintenance.
#2. Getting 404 Error on the Different Pages
It’s not really an error you should be worried about. You can easily check the number of pages showing a 404 error from your Google Search Console account.
It’s basically an error when you change the permalink of the posts. You can change the title of the post anytime you want but if you change the URL, you will get the 404 error.
You can fix this error by setting the proper permalinks or redirecting your old post to a new one.
#3. Getting White Screen of Death
This is a kind of perplexed situation because you only see a white screen with no error message.
The main reason for this error is the memory exhaustion. Every web hosting has set a PHP script memory limit which can get exhausted due to any plugin or something else.
There is no specific place to see this white screen. You may see it only on the homepage of your website or any other part.
#4. Internal Server Error
This can be simply an internal server error or 500 internal server error. This error occurs basically due to any wrong setting.
As its name suggests, it is related to the server. So if the configuration is unknown and the server doesn’t recognize it, you get this error.
You should know about the exact settings. Only then you can come to know about the common WordPress errors and their solutions.
#5. Showing the Syntax Error in WordPress
This error appears when you try to copy and paste any code in any of the files of your WordPress theme.
Basically, you would need to edit the functions.php file. Before you even do that, you should know the proper way to add custom code to WordPress.
If you miss even a small bracket or the comma, you will see the parse error. In the error showing, you can easily see the line at which your code is conflicting.
#6. Locked out of the WordPress admin panel
This can be a tricky one. How would you react when you wouldn’t even able to login to your wp-admin panel?
It can happen due to any plugin or a wrong username or password. And when you can’t able to change the password from the login page, you would need something else to figure this out.
Well, to fix this error, you have to use the cPanel of your web hosting account.
#7. The login page keeps refreshing again and again
Apart from locked out, this is also an error which can annoy you to the death. Whenever you try to log in, you get redirected to the same page.
It happens basically due to the wrong URL. There are different places from which you can fix it. Either you use the WordPress dashboard or the database.
#8. The Sidebar Shifting Error
This is an error occurs due to the design markup. Maybe any plugin adds any extra padding or margin which forces the sidebar to shift down.
And if you’re using an older WordPress theme then it can be the reason. That’s why it’s always recommended to know about the things to before changing your WordPress theme.
Did you come to know about a few common WordPress errors and their solution yet?
#9. How to Fix HTTP Error
HTTP error can be seen in your media library. When you upload an image and don’t able to finish it.
It’s because the file permissions you have set are wrong. It’s possible that your web hosting has updated their server configuration.
To fix this issue, either you correct the permissions or ask your web hosting customer support.
Sometimes your web hosting handles the script and only they can maintain the permissions.
#10. You’re Getting the Broken Image Links
This happens when you move your blog from one place to another. It can be from one host to another or from one folder to another.
It’s not necessary you see the broken links for all the images. Maybe for a few posts. To fix this, you have to update the link.
#11. Memory Exhausted Error
When any plugin exhausts the default WordPress memory then you see a fatal error.
This is because every WordPress website has a default memory limit in which all the process occur. But when any bigger process or the poorly coded keeps refreshing, it crosses the limit and the memory gets exhausted.
You can manually increase this limit.
#12. You’re Getting 403 Forbidden Error
As its name signifies, you can’t have the access to the particular file or folder you try to access. It’s because of the wrong file permissions or any plugin is conflicting.
The folder permissions should be 755 and file permissions should be 644.
It can be fixed by check the permissions or deactivating all WordPress plugins.
#13. Upload: Failed to Write File to Disk Error
When you upload anything new to your WordPress website, you get this error because you don’t have the permissions to edit any folder.
To fix this error, either you check the file and folder permissions your own or ask your web hosting. It’s very important to know about such common WordPress errors and their solutions.
#14. Fatal Error: Maximum Execution Time Exceeded
WordPress is basically coded in the PHP language and so do its plugins. When any plugin takes more time in the execution than the default limit, this error appears.
For most of the web hostings, it is 30 or 60 seconds. You can increase it by adding a code in the .htaccess file.
#15. This site ahead contains harmful programs error
This can be one of the most terrifying errors because no one would able to see the content of your website. They will only see a red screen.
It’s because whether your website has been hacked or you’re running any low-quality advertisement. It can also happen if you’re using any poor quality website to redirect your readers.
#16. Facebook Incorrect Thumbnail Problem
When you share your posts on Facebook and don’t see the image along with your post. This can annoy your Facebook followers.
It happens because of the wrong thumbnail size or maybe any other reason which can be found using the Facebook debugger.
#17. WordPress Keeps Logging Me Out
Just like page refreshing and locked out from the WordPress admin panel, you can keep logging out after a particular interval of the time.
It happens because of the wrong site URL and the WordPress URL. If both the URLs are different then WordPress will keep logging out.
#18. Cannot Modify Header Information Error
Such type of error may appear when you publish a post, activate or deactivate a plugin, install a theme etc.
It will show the line with the proper path at which this error is occurring. But the concept is a kind of more complicated than it seems.
To find the reason, you have to deactivate all the plugins and a few more things are yet to be done.
#19. My Website Got De-indexed Problem
Wouldn’t you want to know about such common WordPress errors and their solutions which can ruin your hard work?
It’s a scary situation when your website got de-indexed from the search engine. If it happens because of the wrong Search Engine Visibility setting then it can be solved within a minute but if there is any other reason then you have to work a little bit.
It’s possible that your website got penalized.
#20. 503 Service Temporary Unavailable Error
This is basically a server-side HTTP error. It can appear on any website whether it’s running on WordPress or any other CMS.
But you should know about it and what are the reasons so that you can contact your web hosting customer support.
#21. Could not Write You May be Over Quota: Bad File Descriptor Error
The main reason for this error is the bandwidth consumption of your web hosting account. The solution is to upgrade your web hosting plan.
It’s possible that your file permissions are the reasons.
#22. RSS Feed Error In WordPress
Most of the WordPress users aren’t aware of the RSS feeds and how to use it. You can see an error on the RSS feeds of your WordPress blog.
To fix this, you have to check the coding files of your WordPress themes. It either happens because of the wrong PHP starting or ending tags.
#23. Missed Schedule Post Error
In the previous WordPress version, you may have seen an error when any scheduled post didn’t get published at the time.
There are many people who keep their presence by scheduling the posts. But any of you get this error, you should know how to fix it.
There may be a few more WordPress errors but still, this list will give you an idea about all the most common WordPress errors and their solutions.
I Hope Now You Got An Idea About The Common WordPress Errors And Their Solutions
It’s really overwhelming when you try to build an amazing WordPress blog and such type of errors keep coming again and again.
Well, it’s the part of your blogging journey. Most of the people hire any technical person who takes care of everything
But what if you don’t find any at the right time? It’s always recommended that you should have the proper knowledge about the most common WordPress errors and their solutions.
Is there any other WordPress error you have noticed? Feel free to drop your thoughts.