Skip to content
WordPress

The 12 most common WordPress problems and how to fix them

Even experienced WordPress users run into familiar problems. We look at 12 of the most common and explain how to fix each one step by step.

The 12 most common WordPress problems and how to fix them

The 12 most common WordPress problems and how to fix them

There’s no doubt that WordPress is one of the best platforms for creating your website. But even the most experienced users and developers encounter some common problems within WordPress, and they don’t always know how to fix them.

If, despite following all instructions, you haven’t been able to resolve the problem you’re experiencing with your WordPress website, or if you can’t identify the issue you’re facing, please let us know the error message from the page. Support and a technical representative from OBS Technologies will respond to you

If you’re a beginner, tackling these problems can be quite challenging and even a little frightening. The problems with WordPress can seem complex, overly technical, and you might not even know where to begin in order to solve them.

We fully understand your disappointment.

Everyone should start somewhere, so we have compiled some of the most common issues faced by WordPress users and simple solutions for resolving them.

Here’s a quick look at some of the most common errors we’ve encountered in WordPress.

Contents


Create backups of your website before attempting to fix any problems with WordPress.

Before we begin examining the most common errors in WordPress and their solutions, there’s one thing you should always do.

Create backups of your website!

Always make a full backup of your site before changing anything. If something goes wrong while you work or you cannot fix the problem completely, you will have a complete copy of the website available, ready for restoration.

There are many plugins that create backups, which you can use. If you wish, and you know how, you can even create a backup manually.

With a backup of your website readily available, let's look at the most common problems you might encounter with WordPress.

1. White Screen of Death in WordPress

wordpress white screen of death error

The white screen in WordPress (WordPress White Screen of Death) typically results in a simple white screen that doesn't display an error message. What makes this a complex problem is the fact that there’s no error code or message indicating what might have gone wrong.

This issue usually stems from PHP memory limit or Configuration problem on the server (Server configuration issue). Furthermore, you may only be seeing a blank screen on certain pages of your website.

How to fix the blank screen in WordPress

If you have more than one website built with WordPress hosted on the same server, begin by checking whether the other websites also display this white error screen.

If this occurs, the issue likely relates to your website hosting provider. The problem may be temporary, and it is probably something that will resolve itself. However, if you are concerned, you can contact the support service of your website hosting provider for more details.

If this isn't the cause of the error, you can disable the WordPress theme and plugins. Then, start reactivating them one by one, until you find the one that’s causing the problem.

If you are unable to access the WordPress administration area (i.e., the backend), you should access the files of your website using a program. FTP Client.

Find the files from the wp-content / themes or wp-content / plugins and we are renaming them. This should eliminate the “white screen” problem.

How to fix the blank screen in WordPress

Following this, restore all the folders to their original names and rename each of the plugin and theme files within those folders, until you identify the plugin or theme that is causing the error on your website. Afterwards, you can remove that theme or plugin to resolve the error.

If, despite all your efforts, you are unable to resolve the issue, please contact us for a more professional and targeted approach.

2. WordPress Memory Exhausted error

The 12 most common WordPress problems and how to fix them

If you are seeing an error similar to this one, which indicates that the WordPress memory has been exhausted, it may be due to a script or plugin that is consuming the default memory limit.

The error usually displays a message such as the following:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/site1/wp-includes/plugin.php on line xxx

How to resolve the WordPress Memory Exhausted error

You can easily fix problems with WordPress, such as those related to depleted memory. increasing the PHP memory limit in WordPress.

To do this, log in via FTP to your website and locate the file wp-config.php (this can be found in the root folder of your website).

Moving on, copy and paste the following code into the file wp-config.php Before the line marked with /* That's all, stop editing! Happy blogging. */

define( 'WP_MEMORY_LIMIT', '256M' );

This code instructs WordPress to increase the PHP memory limit to 256MB.The 12 most common WordPress problems and how to fix them

Save your changes and upload the file to your server. The error should now be gone the next time you visit your website.

3. WordPress Connection Error: Timeout

WordPress Connection Timeout Error

If you see the “ERR_CONNECTION_TIMED_OUT” error in WordPress, it usually means that your website is attempting to do more than it can handle at the same time. This error is common on shared website hosting.

Some of the main causes of this problem are:

  • the plugins that require resources
  • problems with theme functions
  • PHP memory exhaustion

How to fix the "Connection Has Timed Out" error in WordPress

You can begin addressing this problem by disabling your plugins one at a time, and then attempting to view your website after disabling each plugin individually. You may discover that one of your plugins is causing the error.

Another possible solution is the one we analyzed in the previous error, which involves increasing your memory limits in both PHP and WordPress.

If none of these doesn’t work, it’s a good idea to contact your website hosting provider to see if they can assist.

4. Error during connection to the database in WordPress

The 12 most common WordPress problems and how to fix them

The problems encountered in WordPress when establishing a connection to the database (or alternatively, “error establishing a database connection”) indicate that your website is unable to connect to your database.

This can happen when you modify or incorrectly enter some of the information in your database, such as:

  • The database server.
  • The database username.
  • The database password.

Alternatively, your database may not be responding, or it may be corrupted.

How to fix the error when creating a connection to the database in WordPress.

To fix this frequent WordPress error, you should first check if the error appears both on the website’s front-end and in the backend (wp-admin).

If you encounter a different error on the website’s wp-admin page, such as “One or more database tables are unavailable. The database may need to be repaired,” you should repair your database.

Repairing your database is very simple. Log in via FTP to your website and add the following code line to the file. wp-config.php Just before the line /* That's all, stop editing! Happy blogging. */

define('WP_ALLOW_REPAIR', true);The 12 most common WordPress problems and how to fix them

Now, save the changes, upload the file again to your server, and visit this page:

http://www.yoursite.com/wp-admin/maint/repair.php

The 12 most common WordPress problems and how to fix themWhen you have finished repairing your database, please remove the line above from the file. wp-config.php.

If this solution does not fix the database connection error, please contact the technical support team at OBS Technologies to assist you in resolving the issue.

5. Internal Server Error in WordPress

The 12 most common WordPress problems and how to fix them

The500 Internal Server Erroris both the most complex and the most common problem in WordPress.

This error message typically appears when something goes wrong, but the server doesn't know where the problem lies. And because the message doesn't tell you where to look to fix it, it’s up to you to figure out where to search for the issue.

How to fix the 500 Internal Server Error

When you are trying to resolve this error, you should first check if the file .htaccess it is damaged. You can do this by going to your website using FTP and locating the file. .htaccess. You will find it in the same category as folders like the wp-content.

Now we are renaming the file .htaccess in something like .htaccess-old and please visit your website again to see if the error has been resolved.The 12 most common WordPress problems and how to fix them

If it works, log in to the WordPress control panel and go to Settings >> Permalinks.

Moving on, click the save button without making any changes. Doing so will create a new file. .htaccess with the right rules, so that you no longer see the "500 Internal Server Error" message.The 12 most common WordPress problems and how to fix them

If you continue to see the 500 Internal Server Error, you can contact OBS Technologies for a more specialized solution.

6. Error in WordPress: syntax error in the code.

The 12 most common WordPress problems and how to fix them

When problems arise with WordPress related to the code syntax, it’s usually due to code snippets what have you added to the WordPress files? The code may have incorrect syntax, or you may have missed one or two characters when copying it.

You will usually see the error appearing in this way:

Parse error- syntax error, unexpected ';', expecting ']' in /srv/www/example/htdocs/wp-content/themes/twentyseventeen/functions.php on line 24

How to fix the syntax error in the WordPress code

To resolve this problem in WordPress, you should first take a look at a beginner’s guide on how to paste code snippets from the internet into WordPress, to ensure you haven’t made any mistakes.

Once you’ve learned how to correctly copy and paste code snippets into WordPress, you can move on to solving the problem. To fix a syntax error, you need to edit the code that caused it.

This might sound daunting, but it’s easy to fix it; don’t worry.

If you’ve added a new code snippet through the WordPress admin panel, it’s possible that you’re now locked out of your website. With that in mind, you should access your website’s files using FTP.

When you log in to your website’s files, find the file you’ve been editing. If you’ve forgotten which file it is, check the error code, as it will precisely indicate where the error is located.

Following that, remove the code you added or rewrote, ensuring it is properly formatted.

When you’re finished, save the file and upload it again to your server. Then, refresh your website. Your website should now be working correctly!

7. WordPress 404 Error

The 12 most common WordPress problems and how to fix them

One of the reasons you might see a WordPress 404 Error when visiting a post or page on your website is because the permalink settings need to be reconfigured.

Another possible cause for this error could be if you accidentally deleted the file. .htaccess Or, if there was an error with the re-registration rules.

How to fix the 404 error in WordPress

To resolve a 404 error, you need to correct your WordPress permalink settings (i.e., the permalinks).

You can do this by going to Settings >> Permanent Links (or settings >> permalinks) in the backend, area, and then simply clicking the “Save Changes” button.

This updates the registration rules for your website and updates the permanent link settings. Usually, this is enough to resolve the 404 error.

If this doesn't resolve the problems you're experiencing with WordPress, please contact us so we can fix it for you.

8. WordPress has become stuck in maintenance mode.

The 12 most common WordPress problems and how to fix them

Sometimes, when you make changes to your website, you may see a message stating that it is currently under maintenance, or that it is in maintenance mode.

WordPress can become stuck in maintenance mode during a scheduled WordPress update, or when updating multiple plugins or themes.

If WordPress experiences a disruption during this process, it won’t have the opportunity to disable the maintenance mode, which could lock your website and make it unavailable.

How to remove the maintenance mode function from WordPress

WordPress automatically puts your website into maintenance mode during updates, so visitors won't see a broken version. However, when the website is stuck in maintenance mode, you and your visitors won't be able to access it anyway.

The easiest way to take your site out of maintenance mode is to delete the file .maintenance. mode is to delete the .maintenance file. You should locate the (root folder) of your website either using FTP or by finding it in your website’s hosting settings.

If there is no .maintenance file in the root folder of your WordPress, you need to ensure that you have selected the option in FTP to display hidden files.

In Filezilla FTP, you can configure it to display hidden files by selecting "Server" >> "Force display of hidden files" in the menu. (Server >> Force showing hidden files).

When you remove the .maintenance, file, your website should exit maintenance mode, and the WordPress maintenance page should no longer appear on your website.

9. WordPress is not uploading images

When you’re working on your website, you may sometimes find that you can’t upload images correctly to the media library. Don’t worry, you’re not alone! It’s a very common problem with WordPress.

If WordPress isn't loading images correctly, it's likely due to incorrect file permissions. If this happens, you will see the following error message on your screen:

'Unable to create directory wp-content/uploads/2019/04. Is its parent directory writable by the server?'

Another sign of this is that your images are disappearing from the WordPress media library.

The 12 most common WordPress problems and how to fix them

How to fix problems with image uploads in WordPress

To fix the problem with WordPress not uploading images, you’ll first need to connect to your website via FTP. Then, navigate to the / wp-content / folder.

Within this folder, you will find the “uploads” folder, which contains all of your media, including images.

The 12 most common WordPress problems and how to fix them

To set the file permissions for your media uploads, right-click on the “media uploads” folder and select “File permissions” to display the file permissions dialog box.

The 12 most common WordPress problems and how to fix themThe 12 most common WordPress problems and how to fix themFirst, here are the permissions for the upload list and all sub-categories contained within it. 744.

Next, select the box next to the option that saysRecurse into subdirectoriesand chooseApply to directories onlyClick OK to apply the changes.

The next step is to define file permissions for the files in the uploads folder.

Click on the “downloads” menu and select File permissions. Within the context of dialogue, modify the numerical value 644.

Select the box next to the option “Recurse into subdirectoriesand click on the optionApply to files onlyClick OK to apply the changes.

When you’re finished, return to the WordPress control panel and try uploading your images again.

10. “Are you sure you want to do this?” (in WordPress)

The next common problem with WordPress is the “Are you sure you want to do this?” error message (or alternatively, “Are you sure?”). You are likely to see this message in the WordPress admin area.

The cause of the problem often stems from a WordPress plugin or a theme that is not being used correctly. Nonce.

These are the security keys added to URLs when a task manager job is executed in WordPress. If a plugin or theme uses them incorrectly, you will see the above error message.

How to fix the WordPress issue “Are you sure you want to do this?”

The solution for this error message is to investigate the themes and plugins used in your WordPress installation to determine which one is causing the problem.

As we mentioned previously, you need to disable all extensions and the theme you are using. If the error message stops appearing, that indicates that one of the extensions or the theme you’re using is the cause. Now, you should start re-enabling them one by one until the error message reappears, allowing you to identify which one is responsible and then delete it.

11. Loop for redirection upon WordPress login

The 12 most common WordPress problems and how to fix them

There may come a time when, when you try to log into WordPress, the login page will continue to redirect you and refresh. In other words, you won't be able to log in to WordPress. This is often referred to as a “login redirect loop” in WordPress, and it can be quite frustrating.

Method for resolving the redirect loop during WordPress login

One of the easiest ways to fix this redirect error is to delete the cookies in your web browser. This is because WordPress uses cookies to verify your login credentials.

To delete the cookies from your Chrome browsing program, you should go to the Chrome/Firefox or any other browser’s settings and select Private and secure >> Delete browsing data (or) Privacy and security >> Clear Browsing Data).

The 12 most common WordPress problems and how to fix them

Clear the browsing history, cache, and cookies, and then make sure your browser has cookies enabled.The 12 most common WordPress problems and how to fix them

When you do this, restart your browser and refresh your WordPress login page to try logging in again.

This should resolve the problem for most people; however, if you are still experiencing issues with page linking redirection, please contact OBS Technologies for an immediate solution.

12. Error 403 Forbidden in WordPress

The 12 most common WordPress problems and how to fix them

The 403 Forbidden error appears when your server does not allow you to access a specific page. You will most often see the following error message:

403 Forbidden - You don't have permission to access '/' on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

There are several reasons why you might be seeing this error, but incorrect file permissions and errors in the code are usually the main culprits.

How to fix the 403 Forbidden error in WordPress

One of the most common solutions for this WordPress issue is to investigate whether a plugin is the cause. You can do this by disabling all plugins, including any security plugins you may have installed.

If the error disappears as soon as you do this, then a plugin is definitely the problem. Start reactivating plugins one by one until you see the error again, which will identify the problematic plugin.

If it is determined that a feature addition was the cause of the problem, you can contact a technical expert from OBS Technologies to help you resolve the error.

Epilogue

The problems we’ve covered above are among the most common that you’ll encounter in WordPress, so this list should be sufficient for most frequent scenarios and errors that appear.

And considering that many of the issues we’ve discussed can be avoided by using a reliable WordPress hosting provider,, why not consider the best WordPress hosting services offered by OBS Technologies?

If, despite following all instructions, you haven’t been able to resolve the problem you’re experiencing with your WordPress website, or if you can’t identify the issue you’re facing, please let us know the error message from the page. Support and a technical representative from OBS Technologies will respond to you

Furthermore, if you continue to believe that you cannot or do not have the time to address problems like these, then OBS Technologies can take over maintenance and technical support for your website.

We hope you found the article on the 12 most common problems in WordPress – and their solutions – helpful. If you found it useful, follow us on Facebook for more content like this.