How to Fix and Avoid the 15 Most Common WordPress Errors

This guide goes a bit more in-depth than getting rid of your video background. Be aware-some of the maintenance methods require altering or augmenting the CSS or Javascript code on your WordPress site.

We highly recommend setting up a complete WordPress backup for your site before you attempt the following site fixes:

1. 500 Internal Server Errors

Internal server errors are unknown problems, for which an administrator must find a solution. Unfortunately-as, the origin and cause of an internal server error are unknown, WordPress administrators are on their own to find the true cause. Internal server errors are, also, sometimes called “500 internal server errors.”

How to Fix It

Don’t worry: Just because a 500 internal server error is elusive in nature; doesn’t mean that we haven’t dealt with this beast before. Here a few reliable ways to rectify an internal server error…

2. Corrupt .htaccess File

You can check to see if your internal server error is a corrupt .htaccess file, by renaming the file. Log into your site, using your FTP. From your WP folder, you will find the .htaccess folder close in proximity to your wp-admin and wp-content folders. Rename the .htaccess file, to read, something like “.htaccess_1,” or “.htaccess_old.”

Now-just try loading up your site, and the internal server error might be fixed. Before you are finished, from your admin dashboard, be sure to go into, the “Settings>>Permalinks” options page, and “Save.” If this doesn’t seem to work, keep trying, with the next possibility.

3. Increase the PHP Memory Limit

This step is very helpful for admin that are receiving an internal server error when they try to log in or upload an image. This means that your PHP memory needs increasing.

First, use a basic text editor to create a blank doc, entitled, “php.ini.” Next, paste “memory=64MB” into your text document. Then, save your file and upload it to your wp-admin folder by using your FTP.

If this works in fixing your internal server error, it is only temporary. You will have increased memory, for the time being. But, there is still something on your website that is taking up too much PHP memory, and it will continue to drain your sites memory capacity.

To completely rectify this issue, might involve deactivating poor-quality plugins or themes.

4. Plugin Deactivation

If the previous solutions did not fix your internal server error, it is likely being caused by a bad plugin. If it is not one specific plugins fault, it could be the cause of two plugins that don’t communicate properly with one another.

Begin by deactivating all of your WordPress plugins. Did the internal server error disappear? If it did, you know that it has to do with one of your plugins.

Now, simply reactivate your plugins – one at a time. After every reactivation, check to see if your internal server error has come back. As soon as you see it again, take note of the very last plugin which you reactivated. That is the plugin to delete.

If this did not fix the internal server error, you know that it does not have to do with a plugin.

5. Re-upload All Your Core Files

If the internal server error is still appearing, it might be time for some drastic measures. The problem could originate from one of the business tools or extensions you have implemented on your site. Try, re-uploading your wp-admin folder, and wp-includes folder.

You will need to do this from a brand-new WordPress install. Reinstall WordPress to make sure you have the proper wp-admin and wp-includes data files.

Don’t worry; this will not remove any of your website’s individual content. All your design work will stay intact. Best case scenario-this method can fix corrupt files lurking in your wp-admin and wp-includes folders.

6. Inquire with Your Web Host

Sometimes, your internal server error will remain, even after all of the previous methods of rectifying the problem are exhausted.

If this is the case, reach out to your web host provider. They will go back over your sites server logs and tell you where the problem is originating from.

7. WordPress Syntax Error

If you are receiving a syntax error; it is, most likely, due to an incorrectly copied piece of code script. Some part of the syntax of your code was incorrect-hence, the “Syntax Error.”

Users will usually receive an error message, which reads: “Parse error-syntax error, unexpected $end in /public_html.site1/wp-content/themes/my_theme/functions.php on line 199.”

How to Fix It

The details given by the error message will determine where the discrepancy is located and on what line in the code. Try removing the piece of faulty code, and re-entering it from scratch.

8. Error Establishing Data Connection

If you receive, an “Error establishing a data connection,” message, your WordPress site is unable to find a database to connect with.

Most often, this is caused by mistakes in modifications made to database credentials. This can be your web host information, database username, password, and more.

How to Fix It

Since a database connection error is probably caused by faulty login information; make sure your login credentials are typed incorrectly. If this does not solve the problem, try going through the “I forgot my username or password,” process.

9. 404 Error on Posts

If you find that any individual page or post shows a “404-not found error” that means that your page or post is not making a correct connection to the server data. If you cannot navigate anywhere on your site, without seeing a 404 error, that means that you have a bigger problem.

How to Fix It

If you only see the 404 error on specific pages or posts-and, most likely, just one page or post-this is most likely due to a permalink discrepancy. Permalinks are “PERMAnent LINKS.”

Navigate to your WordPress admin dashboard panel. Try going into your “Permalinks,” menu page, under “Settings.” Set the “Custom,” option to read:

Now, go back into the page or post which was previously returning a 404 error. The error should be fixed. Make sure that your URL is properly displaying your site name, followed by your post name.

10. 403 Forbidden Error

Are you getting, a “403 Forbidden-You don’t have permission to access ‘X’ on this server,” error? This, simply, means that you are being denied permission, for some reason. It is one of the most common WordPress errors.

How to Fix It

It can be caused by several common mistakes setting up a WordPress site. If you find yourself encountering a 403 Forbidden error on a page or post; check to be sure of the accuracy for file permissions; security plugin integrity, properly configured servers.

11. RSS Feed Error on WordPress

If the WordPress RSS feed is formatted poorly, you can receive an error, that says “XML Parsing Error: XML or text declaration not at the start of an entity.”

The error message will often give you information on the specific error location-including URL, line number and column number. Be careful: A missing line, extra tab, or any discrepancy in your WP site code will cause an RSS feed error.

12. Sidebar Error-Below Content

If a sidebar is appearing below your site text; this is being caused by a discrepancy in your WordPress theme. Often, this can occur when users enter snippets of code into their theme.

How to Fix It

Be sure to close all HTML div tags. Make sure that you do not add extra div tags, however. This can also result in a theme template break. If this is not the cause, check for disproportionate widths in CSS and incorrectly cleared float.

13. Locked Out of WordPress Admin Dashboard

Many times, new users can get themselves locked out of their WordPress admin dashboard and will have to get back in. If you do not have a password recovery email or if your password reset is not arriving in your backup email, this is bad news.

How to Fix It

The only way to deal with this is to reset your admin password and username from MySQL (phpMyAdmin). This will be done through your web hosting services cPanel.

14. WordPress Email Reception Error

Not receiving emails from your contact pages or newsletters? This is, most likely, due to your web hosting services cPanel default settings.

By default, your web host will often set email options to “off,” in order to keep spam emails at bay. However, this is a problem if you want to use your WordPress email contact function.

How to Fix It

Go into your web host cPanel, and try turning on email. If this is not possible, you can try to find a paid email service, which will facilitate the delivery of your WordPress sites email traffic. Though, these are paid services, for the most part.

15. Poor Password Security

The best way to maintain the integrity of your sites password security is to use a random character generator to create your WP password.

Set up a timetable which dictates on what day your passwords will be changed. Keep track of the changing passwords, with a cloud-based document that is kept on a separate database account than that of your WP site.

Final Thoughts

There are more WordPress errors that you may encounter, the above listed are the 15 most common errors that you will see on your WordPress site.

If this article helped you solve your WordPress error, share it with your friends on social media. Feel free to sign up for our newsletter to receive the most current posts from the blog!