Everyone loves to have a website of their own. However, before owning a good website, you will have to first build one. One of the most used means of making a great website is WordPress which is not more difficult.
However, there could be situations when you will have to deal with an error and this becomes more frustrating. Despite WordPress being a very error-proof system, the chance of common WordPress errors arising is more possible.
In this article, we shall be talking about 5 of the most common WordPress errors and how you can deal with them.
Error #1: “White Screen of Death”
This is the nickname which has been assigned to a blank screen which displays no information as such and is a direct reference to the rather famous Blue Screen of Death. The windows counterpart is very irritating and the same can be said about this WordPress error as well.
Because of this error, Front-End and the admin panel both stand chances of being affected. In certain cases, only specific portions of the installation may be affected by this error.
According to the information released by the company, they say that the cause of this error lies in PHP errors and database errors. Though the cause of this error may vary depending on the situation, the exact cause of it remains very hard to find.
How can we fix this?
- The first step is rather simple. You will have to recall any change which you may have made to the system. Did you change a theme or simply installed an add-on?
- Understand how this change could have affected the system. Is the problem only on a specific page? Or all the pages of your website are displaying blank screens? In case all your pages are non-responsive, the problem lies in the service provider.
- Next, it’s time to deactivate all the installed plug-ins and one by one, reinstall all of them.
- In case you can’t access the admin panel, you can remove these plugins using FTP.
- In worst case scenarios, just reinstall the entire WordPress on your website.
Error #2: Error when establishing a Database Connection
This error is rather simple to detect and understand. It’s all about your server not gaining access to the database.
There are a wide variety of reasons why this may happen to you. However, the most common of all the reasons is that you may have altered the database login credentials. The misconfigured wp-config.php file reflects this error.
How can we fix this?
- With the help of the FTP, you will have to check up the wp-config.php file. Always ensure that you are providing the apt information which includes the name of the database, its password along with the Database host.
- If these details are correct, you can easily reset your MYSQL password.
- In case the problem persists, you will have to contact your host as it may be possible that your server is down.
Error #3: 404 Not Found Error
When it comes to misconfigured websites, this is one of the most common errs which you may have to face.
This error is known to affect Front-End versions of individual pages. This further means that you will not be able to access the content of the server by any means.
Some of the causes of this error may be not properly setting up permalinks. This may also arise in case there is a rule missing on the WordPress’ URL router’s cache.
How can I fix this?
- You can opt to edit or even update the entire page to refresh it.
- You will have to permalink to update its mentions.
- You can also opt to flash rules action by simply installing a free Rewrite Rules Inspector plugin.
Error #4: 500 Internal Server Error
500 Internal Server Error is most Frustrating Error. This error occurs in case there is a serious issue and the server can’t establish the exact reason why. This is the exact reason why there is no specific problem mentioned in the message.
How do I fix this?
- Firstly, you will have to check the .htaccess file. This needs to be done as a problem in it may be the cause of the error. Using the FTP, you can easily access it.
- You can also opt to Re-upload the wp-admin. This will ensure a fresh install of WordPress.
- Another way of sorting this issue out is by deactivating and then reactivating all your plugins one by one.
Error #5: Screen flashes message saying “Sorry, no posts matched your criteria”
This is an error where you are not able to find certain posts even though you are searching them properly. This is most likely in connection to the cache of your browser.
How do I fix this?
- You can opt to clear the entirety of your browser’s cache and cookies
- Make sure you properly check for any errors in templates files of search.php and index.php.