What's WP
Find Everything Related to WordPress - Best Tutoriasl on WordPress!
Top 10 Common WordPress Errors and How to Fix Them

Top 10 Common WordPress Errors and How to Fix Them

If you have used WordPress for a long time, you must have encountered some errors that cause you great headaches and drive you crazy. However, the good thing is that the majority of these errors are already fixed by some developers and WordPress experts. Therefore, you only need to search on Google or go through the WordPress Forum to find the resolutions, and fix them accordingly.

To ease your burden of finding the troubleshooting personally, we have collected the top 10 common WordPress errors, along with the best ways to fix them.

  1. 500 Internal Server Error
  2. WordPress Syntax Error
  3. Failure of Automatic WordPress Update
  4. WordPress WSOD Error
  5. Database Connection Error
  6. WordPress 404 Error
  7. Header Error for Modification
  8. Sidebar Position Error
  9. Connection Time Out
  10. Visual Editor Error

Error No.1 – 500 Internal Server Error

This is the most common and the most annoying WordPress error. Almost all the WordPress users we know have encountered this error at least one time. Once this happens, you can be presented with the following message in your website, from which you do not know where you should check and fix. This is the worst part of this error.

500 Internal Server Error

In addition, the 500 Internal Server Error can be caused by so many reasons, including the bugs in your plugins, themes and server software, the lack of sufficient PHP memory limit, the unexpected errors in your WordPress core, something wrong in the .htaccess file and many more.

In this case, finding what is wrong with your website can be pretty hard. Even, this error might be a result of several reasons.


Previously, we have already introduced a list of resolutions about how to fix the Internal Server Error in a detailed manner. To summarize them, what you should do include the following aspects.

  • Deactivate all the used plugins and your current template.
  • Increase the PHP memory in your php.ini file.
  • Replace the folders for wp-includes and wp-admin with a few installation of WordPress.
  • Rename the .htaccess file which might be corrupted.

Error No.2 – WordPress Syntax Error

If you are comfortable in editing the coding stuff of your WordPress site, you are probably meeting this error. It happens when you add some wrong code snippets to WordPress with incorrect syntax or missing components.

After that, you can receive a parse error in your site, which clearly indicates the exact location of the wrong coding stuff.


This error does not stress you out as you can know what is going wrong from the error message. Then, you should target the problem and make the correction.

Error No.3 – Failure of Automatic WordPress Update

WordPress is smart and powerful enough to update itself automatically for the minor releases, development patches and major releases. But sometimes, this great feature may fail due to the connection issue of the Internet, overloading of web servers, wrong file permissions and many more.

Once this happens, you may receive an error message indicating the failure of automatic update, the white screen issue or a PHP error message.


First of all, you should update the WordPress manually at once. Then, you need to edit the wp-config.php file and enter the following coding stuff.

Update using Codes

Error No.4 – WordPress WSOD Error

This is another common WordPress error happened on the majority of WordPress sites on the web. When you encounter it, both you and your readers can see nothing from your site but a white screen. Even no error messages can be checked, so you cannot figure out what is happening on your site.

According to the online research, we have found 5 reasons that are likely to cause this error the most.

  • The plugins or templates you currently utilize are not compatible with your WordPress version.
  • There is a conflict among your plugins and themes.
  • There are some bugs in your plugins.
  • You web server is meeting something wrong.
  • You have exhausted the limit of your PHP memory.


In fact, you can go over all the resolutions that are done for the error No.1, for their reasons are somewhat overlapped. For the detailed information, you can check this tutorial about how to deal with WordPress White Screen.

Error No.5 – Database Connection Error

Just as the name indicates, this error happens when you cannot connect your WordPress database. In this case, you should check your database to find out the wrong parts. For instance, your database credentials are incorrect, including the database host, the password and the username. Also, if your website is hacked and your MySQL server is down, you may also encounter this error.

Database Connection Error


As for how to fix the database connection error, you can try the following tips.

  • Repair your WordPress database issue automatically with the coding stuff showcased in the below screen.
  • Repair WordPress Database Automatically

  • Enter your wp-config.php file to check whether your database credentials are of no errors. If not, verify them.
  • Contact your hosting provider to figure out whether your MySQL server is down from the network.
  • Reset the database users with more privileges.

Error No.6 – WordPress 404 Error

The 404 error refers to the page not found error. Once this happens, your readers cannot check the contents for some of your webpages, but can only see a 404 error message just like the following screenshot.

WordPress 404 Error

Generally, this WordPress is caused by the changes of your permalink settings. Or, if you have added the wrong coding to the search.php file or the index.php file, this error can also happen.


To fix the 404 error, you firstly need to update your permalink settings to flush the wrong items in the rewrite rules. If this error still exists, you can edit your .htaccess file and embed the following lines of codes manually.

Code for 404 Error

After making these changes, do not forget to clear the cache in both website and browsers.

Error No.7 – Header Error for Modification

If your website showcases a warning message, telling you that the header information cannot be modified, you must encounter this issue.

In fact, this is a minor error that is caused by some unnecessary spaces put into your WordPress files. According to its error message, you can know exactly which file needs to be fixed.

Header Error for Modification


This error is pretty easy to be resolved. You only need to download the wrong file using File manager or FTP, edit it for removing the unnecessary spaces between tags, and upload it to your server.

Error No.8 – Sidebar Position Error

Generally, the sidebar is located at the right hand or the left hand of the overall screen. However, if you find the position of your sidebar is below the content, you must encounter this error.

Sometimes, this error is caused by the design and structure of your currently used template. Also, if your HTML and CSS have some coding errors, this may also happen.


First of all, you should change your current theme to one of the WordPress default themes. If this problem still exists, you should check your HTML and CSS.

  • HTML – Close the div elements and remove the extra div tags.
  • CSS – Adjust the width ratio so that it will not mess up the overall design of your webpages.

Error No.9 – Connection Time Out

If you use the shared web hosting service that is overburdened, you are likely to meet this error. When it happens, your server is unable to complete the request that is sent from the browsers, thus reflect the connection error.


The best advice is to change plugins and themes.your web host to another that is rich-features. Or, you can carry out the following three tips.

  • Increase your limit of PHP memory.
  • Deactivate some heavy plugins.
  • Remove unused templates and tools.

Error No.10 – Visual Editor Error

Sometimes, you may find the missing buttons and the white texts in your WordPress visual editor, affecting the processes of editing and publishing to a large extent. Usually, this error is caused by the JavaScript issues, the corruption of TinyMCE, and the conflict between your plugins and themes.


In addition to deactivating your plugins and themes, the best way to resolve this issue is to replace the TinyMCE scripts. For this, you simply need to find the /js/tinymce/ folder from /wp-includes/, and then, replace it with a new copy.

If the error still does not be fixed, you need to add the following line of code into the wp-config.php file.

Code for Visual Editor Error


Susan Rose is a freelance writer who has a deep knowledge about WordPress. She loves everything related to website building since the freshman year at Christopher Newport University, and loves to share her experience with people all over all the world. In the daily life, Susan loves detective novels as it can train her logical thinking and creativity.