15 Most Common WordPress Errors and Solution

Do you use WordPress? Are you one of those who has been experiencing some WordPress errors and you are looking for how to fix them? Is it a broken plugin, or a minor glitch in the code? Worry no more as I will be sharing with you 15 most common WordPress errors and solutions so you don’t have to worry with WordPress anymore.

Undebated, WordPress has the most user-friendly interface and flexibility compared to other platforms. Fixing most WordPress errors are not always difficult if you can find your way around them. But, before we go into fixing errors, I want you to first backup your data to avoid any loss of data before you start making changes to your WordPress. Alright, I believe you must have done that. So, here are 15 most common WordPress errors and solutions.

1. ERROR ESTABLISHING A DATABASE CONNECTION

As a WordPress user, I am very sure that you are probably familiar with this error. This error is just telling you that WordPress cannot connect to the site’s database. In case you don’t know what is a database, a database is where all your contents are being saved by WordPress.

The usual cause may be that your WordPress database path is incorrect or your database server is down. When there is no connection, it means your site is down.

Solutions :

Use the WordPress Repair Tool :

Contact your Hosting Provider :

Check your wp-config.php :

Following any of the above-suggested solutions can correct this WordPress error.

2. 505 INTERNAL SERVER ERROR

This is another common WordPress error that any WordPress user must come across once in a while. It is a very confusing error as it has no specific cause. It can be caused by an exhausted PHP memory limit, theme or plugins functions, or corrupted .htaccess.

Solutions :

Deactivate Plugins :

Increase the Memory Limit :

Switch to a Default Theme :

3. WHITE SCREEN OF DEATH

This is straightforward as it only happens either when a script reaches the PHP memory limit or during a plugin or theme conflict. This can be very frustrating as the screen will just display a plain white screen with no error message.Solutions :

Increase the Memory Limit :

Deactivate all your Plugins :

Try the Debug Feature :

6. IMAGE NOT UPLOADING

Most times WordPress users suddenly observe that they cannot upload image anymore and that images on their site are either broken or not displaying. When the user even tries to upload an image, it shows error. This commonly happens due to wrong file permissions.

Solutions :

Connect to your site via FTP and change the permissions level to 744. You may also have to change it to 755 if the error still persists.

7. ALLOWED MEMORY SIZE

This error happens when your plugin or script exhaust the default memory size. An indication could be a white screen of death. If you are on a shared cheap hosting, the default memory is not always enough to handle heavy plugins as the memory is limited.

Solutions :

Increase PHP memory size :

Deactivate Plugins :

8. CONNECTION TIMED OUT

This error is very common in a shared hosting environment. This happens when a shared server is overloaded and can’t connect your site to the internet. It means your server is experiencing heavy usage and can’t process your request. It has a similar solution like others.

Solutions :

Increase PHP memory size :

Deactivate Plugins :

9. LOCKED OUT OF WORDPRESS ADMIN

Sometimes you may forget your password and can’t remember the email you normally use to log into your WordPress site maybe because you have more than one site.

Solutions :

Reset your email and password via phpMyAdmin :

10. LOGIN PAGE REFRESH

This is an error that occurs when you try to log into your WordPress account and it redirects you back to the login page over and over again. This can be a problem from the .htaccess file or incorrect value for site URL.

Solutions :

Delete the .htaccess file

Delete cookies on your computer.

Deactivate plugins via your site FTP
Any of these three or a combination will help fix this WordPress error.

11. 403 FORBIDDEN ERROR

This is one annoying WordPress error that is mostly encountered by users that are new to WordPress. It only displaces when your permissions deny access to a specific page. It can be as a result of poorly configured security plugin.

Solutions :

Deactivate Plugins :

If the error is caused by WordPress plugin deactivate all your plugins. Refresh the site and check if the error is gone. If it is, reactivate plugins one after the other to see which of the plugin is creating the error.

Fix the corrupt .htaccess File :

This option is only useful if the error is caused by corrupt .htaccess file. Fixing the file needs you to connect to your website via FTP. Locate the .htaccess file in the root folder. Download the file to your computer and delete it from your server.

Enable Index.php :

This option is for WordPress users that their blog is hosted on Windows server. It might possibly be that there is an error with Directory Indexes.
Go to your Cpanel, locate and click on Web Options. Go to Directory Indexes, add index.php to the Directory Indexes.

Contact Hosting Provider :

If after you have tried the two options above and the error is not solved, then it was caused by file permissions. Kindly contact your hosting provider to help correct the file permissions.

12. CAN’T DELETE A PLUGIN

You tried deleting a plugin from your dashboard but it is still appearing. You even deleted the directory via FTP but it is still there. Don’t worry, here is the solution.

Solutions :

Delete Plugin via Secure Shell (SSH) :

13. WORDPRESS SIDEBAR BELOW CONTENT

Your sidebar is supposed to appear at either the right or the left. But, when it now appears below your content, that is an error that needs to be address. It can be caused by too much div tags open or closed. When these opens and close in the wrong place, it can completely disturb your site layout.

Solution :

Use HTML Validator to find where the problem is from and fix it.

14. PARSE OR SYNTAX ERROR

This is another common WordPress error that usually happen when you are trying to insert code snippets to your functions.php file. The message is telling you that there is an error in your code that needs to be corrected.

Solution :

Since the browser will tell you the exact file with issue and the line the parsing error occurs, connect to your site via FTP and remove the line of code.

15. FATAL ERROR

When you see a message like this on your browser “Fatal error: Call to undefined function get_header() in /example/site/wp-content/themes/yourtheme/index.php on line_14, this is as a result of plugin conflict.

In most cases, the fatal error will always tell you the problem and in which file. It is very easy to interpret just looking at it alone. The above example tells us that the fatal error was caused by a theme using a function hook.

Solution :

If you know how to code, you can check the file indicated and solve the problem.

Conclusion:

Sometimes the solution to most of these WordPress errors are just either increasing the PHP memory limit, deactivating and reactivating them one after the other, deactivate current theme to default, or fix corrupt .htaccess file.

Is there any WordPress error that you are experiencing that was not shared on this post? If there is and it was not mentioned, kindly drop it as a comment and someone will attend to it.