Easy to install, highly customizable, absolutely free-these are the few top-most reasons why WordPress powers 30% of the internet. Every day, millions of people join this global community. However, it does not mean that it is free of all the WordPress errors. Like any other platform, this globally recognized CMS may have some small-big issues that can make you crazy.
If you’re planning to initiate a blog or site on WordPress here, we’re disclosing the ten most common WordPress errors along with their quick solution.
Learn how to fix them ahead of time.
10 Most Common WordPress Errors
and How to Debug Them
1 – The Internal Server Error
Internal server error, also known as ‘500 Internal Server Error is one of the common WP errors that most WP users experience at least once in their lives. The issue with a theme’s function and plugins are usually responsible for it.
To fix this error, first, you may check for the corrupted .htaccess file. Access this file and name it something like .htaccess old. Save the file and reload your site to see if the issue has gone.
If the error is still there, try increasing PHP memory limit. Check out a fantastic post on how to Fix 500 Internal Server Error in WordPress available at 000webhost.com.
2 – The White Screen of Death
The white screen of death is an error in which you see a plain white screen without any message. There can be various possible causes for this error. There is a possibility that PHP memory of your site has exhausted. Increase the PHP memory limit and reload your website. However, if your website already has an adequate PHP memory limit, you should try another method.
Disable all the plugins you have installed on your site. Re-enable these plugins one by one and see which plugin is causing this error.
3 – The Syntax Error
This error usually arises when you try to add code snippets in your WordPress website but mistakenly miss something. It can be anything such as syntax, bracket, one extra comma, etc. If you are not sure where the exactly problem is you can use the following debugging tools to debug the code.
- JS FIddle
- Cloud 9
- Debug Mode
- JS Bin, etc.
4 – Errors Establishing a Database Connection
It is another WP error that you may come across. It often occurs when you use wrong database credentials (DB host, DB username, DB password).
To resolve this issue, the very first thing you have to do is ensure that you’re receiving the same message on both sides (back end & front end) of your website. In case they are different, it means your database is corrupted or if they are the same you have to add the following code to your WordPress configuration PHP file.
This code will repair your file. After the completion of repair process, don’t forget to remove this message from your wp-config.php file. Note- Don’t forget to create a backup of your site before trying to fixing this error.
5 – Sidebar Below Content Error
It is one of the most irritating errors in WordPress that is directly associated with the appearance of your site. CSS or HTML errors can be primary culprits for this error. There is a possibility that you have forgotten to close HTML or CSS tags.
In case, you’re using a custom theme, the problem with float property or width ratio can be responsible as well. Make sure you have set a correct ratio for your custom theme.
6 – Memory Exhausted Error
When you encounter memory exhausted error you see the error message like ‘Fatal error: memory size exhausted. It often happens when you use by default memory size limit. To resolve this error, you have to add the following code into the primary PHP tag of your WordPress configuration file.
This code will increase the memory limit up to 64M.
7 – Returning 404 Error
It is another most common error that most WP users face at some point. There are a couple of things that play a crucial role in bringing Returning 404 error. However, the most common among them is corrupted .htaccess file.
In case you see 404 error message only on just one page of your site while the other pages are working accurately, probably you need to configure your permalinks setting. To reconfigure the permalinks, first, you have to navigate to the Settings>Permalinks and then hit “Save Changes” Now your settings are updated.
If this method isn’t working for you, try updating .htaccess file manually. For the same, you have to log in to your server through File Transfer Protocol. Next, modify your .htaccess file. The simplest way to do this is, make the file writable and change its permission to 666. Now again update your permalinks settings.
Check if the error has disappeared. Note- Do not forget to change the permission back to 660 if you the issue has resolved.
8 – Missing Buttons & White Text
Sometimes, instead of buttons you just see white spaces in WordPress visual editor. Most of the time, it is due to a tiny error which you can fix quickly.
9 – Image Uploading Issues
If you are experiencing the broken image issue on site, most probably, it is because of an inaccurate directory or file permission in a WordPress installation.
You can fix it using the FTP client such as FileZilla. Just access your site using FTP, and change the permissions of your image directory.
10 Login Page Redirecting
You try to log into to your site, but instead of accessing your dashboard, you are redirected to login page. It could be issues with the incorrect values for home URL or site URL fields. One of the most straightforward solutions for it is clear the cache & cookies and restart your browser.
We hope this post helped you learn about most common WP errors ahead of time and made you aware of how to fix them.