40 Common WordPress Errors and How to Fix

WordPress errors can be frustrating. They feel like the end of the world when they happen, and it can be hard to know where to start fixing them.

Even the smallest WordPress error can cost you hours of work, so it is important to know where the errors are occurring so that you can work on the problem instead of just fixing the symptoms.

Every error is a signal that something is wrong with your WordPress installation, and understanding where the errors are is the first step to fixing them.

The good news is that some of the most frequent errors can be easily fixed. With a little practice, you will be able to identify the most common errors and troubleshoot them quickly.

If you’ve ever encountered an error message while trying to get your site up and running, you know how frustrating it can be when your site isn’t behaving the way you want it to.

Read More Guide:

WordPress Maintenance Task to Perform Daily

How to Know if WordPress Uses Cookies

How to add HTTP Security Headers in WordPress

Let’s Discuss Some Common WordPress Errors and How to Fix

1. How to Fix Internal Server Error

One of the most common errors that new WordPress site owners run into is “Internal Server Error” or “500 Internal Server Error.” 

This error message appears when something on your site is causing the WordPress server to crash. 

It’s not uncommon for beginner WordPress users to think that their site is broken when in reality all that happened was that a simple change or addition caused a plugin to conflict with another. 

When you see this error message, the first thing you should do is save the page.

We’ve put together a list of options for you to try, and maybe one of them will help you solve the problem. Learn how to fix a WordPress internal server error.

2. This Site is Experiencing Technical Difficulties

In a recent update to WordPress, developers have introduced a new security feature designed to protect users from accidentally causing damage to their websites. 

When activated, WordPress displays a simple error message stating that “This site is experiencing technical difficulties”. 

This prevents users from accidentally causing any damage to their websites, such as creating extra spaces between words. 

If you’re using a theme or plugin that is not yet compatible with this feature, WordPress provides a list of compatible themes on their website.

WordPress then sends an email notification to your WordPress admin email address with all of the details. This email message includes a link to the backend, where you can try to fix the problem.

Any of the fatal problems listed in this article can cause this error message to appear. It’s more difficult to figure out what’s wrong if you don’t have access to the admin email or can’t get WordPress emails.

If you can’t get WordPress emails then see this guide on fixing the WordPress not sending email issue.

3. How to Fix Syntax Error in WordPress

When you’re writing in WordPress, you may find that you’ve made a mistake when writing your text. 

However, this doesn’t mean that your sentence is completely ruined—you can sometimes fix the error by adding new text in the same place as the original text. 

This is often referred to as “syntax highlighting,” and it can be used to draw attention to important information, to make the text more interesting, and more. 

In the same way, you can also use syntax highlighting to fix a simple error in your text.

You must correct the syntax to resolve this problem. A missing bracket or an unexpected character in the code is the most common cause. Read this guide on how to fix syntax problems.

4. How to Fix the Error Establishing a Database Connection in WordPress

When you’re trying to get your WordPress website up and running, the last thing you want to see is the “Error Establishing a Database Connection” error message. 

This error is clear that your website is unable to connect to the database and is therefore unable to function. However, solving this error can be tricky for beginners.

The majority of the time, however, it is due to erroneous database login credentials. Take a look at some of the most prevalent remedies to this issue. Read more about how to fix Error Establishing database connection problems in WordPress.

5. How to Fix the WordPress White Screen of Death

When you’re developing WordPress themes or plugins, one of the first things you’ll do is upload your files to your WordPress website. 

After a few minutes, you may notice a page full of white screen errors. This happens when you try to access a file that is currently being processed by the WordPress engine. 

The error won’t say what the problem is, but usually, the page will refresh and you’ll be left with a plain white screen. See how to fix the WordPress white screen of death.

6. How to Fix WordPress Posts Returning 404 Error

This is a pretty common error on WordPress websites, but the symptoms of this error are pretty obvious – when a user visits a single post on their site, they are met with a 404 page – not found error. 

This means that the site is unable to find the page that is requested, either because it doesn’t exist or because the URL is incorrect. 

This is a pretty frustrating experience for users, which is why it’s important to diagnose and fix this error as soon as possible. Sometimes, this error is caused by a simple typo in the URL.

A user would have to change their permalink settings or manually update their rewrite rules to fix this problem. Learn how to fix 404 errors in WordPress posts.

7. How to Fix White Text and Missing Buttons in WordPress Visual Editor

The classic WordPress editor is the text-based editor that has been around since WordPress first launched. 

It’s what you see when you click the “Visual” or “HTML” button at the top of the editor. 

The classic editor is sometimes called the “code” editor because you can write your posts in a text-only format instead of using the visual editor. You can switch back and forth between the two editors whenever you want.

Learn How to Fix white text and missing buttons in WordPress visual editor.

8. Fix: WordPress Memory Exhausted Error – Increase PHP Memory

A white screen of death or an error message like this could be indicators of this issue:

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

This error happens when the default allocated memory size limit for a WordPress script or plugin is exceeded. Learn more about how to resolve the WordPress memory exhaustion error.

9. What To Do When You Are Locked Out of WordPress Admin (wp-admin)

When this happens, you’ll need to access the WordPress admin area in order to change your password or theme settings. 

If you’re having trouble logging into the WordPress admin area, you may be locked out due to forgetting your password. 

This can happen if you’ve forgotten your password but don’t have access to your password recovery email. 

In this case, you’ll need to go back and retrieve the email that was sent to your email address when you set up your WordPress account.

Check how to fix the locked-out WordPress admin issue.

10. How to Fix WordPress Login Page Refreshing and Redirecting Issue

When a user experiences this issue, they are unable to access their WordPress dashboard. The symptoms of this issue are that when a user attempts to log in to the WordPress dashboard, they are redirected by WordPress back to the login page. 

This means that the user is unable to log in and access the dashboard. This is causing a lot of issues for users who rely on WordPress to run their businesses.

Read more How to Fix WordPress login page refreshing and redirecting issues.

11. How to Fix Image Upload Issue in WordPress

This is something that would only happen to users who have recently uploaded images to their posts or pages. 

When a user experiences this issue, they are unable to access the media uploader on their post or page. 

The symptoms of this issue are that when a user attempts to upload an image to a post or page, they are shown a broken image placeholder. 

This means that the image has been uploaded successfully, but cannot be seen on the site because it is being held for moderation, which is usually the case when an image has been uploaded by a third party instead of the user.

This problem could be caused by a variety of circumstances. Look at how to fix picture upload problems with WordPress.

12. How to Fix “Are You Sure You Want to Do This” Error in WordPress

This problem can be seen in the WordPress admin area. A plugin or theme that does not employ Nonce properly is the most likely source of this problem.

When performing an admin activity in WordPress, a nonce is special security key that can be applied to URLs. It’s possible that a plugin or theme uses it wrongly, resulting in users seeing this message. See how to fix the WordPress problem “Are you sure you want to do this?”

13. How to Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress

WordPress occasionally needs a maintenance break to fix a bug, improve the speed of the site, or add new features. 

When WordPress is down for scheduled maintenance, you may see a message in your WordPress admin area explaining the issue, and the time of expected resolution. 

Some of the times WordPress undergoes maintenance may vary, so be sure to check back to see when your WordPress site is back up. 

If you see the “Briefly unavailable for scheduled maintenance” message on your website, don’t panic!

Learn how to Fix briefly unavailable for scheduled maintenance errors.

14. How to Fix WordPress Not Sending Email Issue

The most common sign of this issue is that you aren’t getting any contact form or WordPress notification emails from your website.

Most shared hosting companies deactivate or limit the module used for sending emails to protect their servers from abuse, which causes this problem. Learn how to resolve the issue of WordPress not sending an email.

15. How to Fix 403 Forbidden Error in WordPress

This error means that your server permissions don’t allow you to access the page you were trying to reach. 

This can happen if you try to access a page that requires a user or role that you don’t have access to. 

There are many reasons why a user or role might not be able to access a specific page, but the most common is that they don’t have permission to access the page or resource. 

In this case, the error message usually says something along the lines of: “403 Forbidden – Access is denied because you don’t have the required permissions.

Read more about how to fix 403 forbidden errors.

16. How to Fix Error Too Many Redirects Issue in WordPress

When you visit a blog or website on the internet, it usually takes you to the same page or location regardless of the page you were originally trying to reach. 

This is because of the URL redirect feature of your browser, which follows the redirection rule of your WordPress website. 

However, when there are too many redirects on your website, it will cause errors such as the Too many redirects error in WordPress. 

This article will guide you through the steps on how to fix the error Too many redirects issues in WordPress.

17. How to Fix “Upload: Failed to Write File to Disk” Error in WordPress

This error can happen for a variety of reasons. The most prevalent one, though, is wrong folder permissions.

Permissions are assigned to each file and folder on your website. These permissions are used by your webserver to control file access. Incorrect permissions on a folder can prevent you from writing files to the server.

This means that your web server won’t be able to create or add new files to that folder. How to Fix an Upload: Error: Failed to write file to disc.

18. How to Fix Fatal Error: Maximum Execution Time Exceeded in WordPress

WordPress is coded in the PHP programming language, so it is important to protect web servers from abusive behavior by setting a time limit on how long a given PHP script can run. 

This prevents malicious users from executing PHP code that could infect a server or cause other unwanted behavior. 

In some cases, however, WordPress may terminate an innocent PHP script before the time limit is reached. 

This is known as a “fatal error”, and it typically occurs when you attempt to update a plugin or modify other WordPress core files.

19. How to Fix the Mixed Content Error in WordPress

Mixed content errors are usually caused by incorrect HTTP / SSL settings on your WordPress site. 

They may or may not affect your website’s functionality, but they can affect your website’s SEO and user experience. 

If you’re experiencing mixed content errors, you’ll want to double-check your website’s settings to make sure they’re configured correctly. 

You can learn more about HTTP and SSL settings in my guide to HTTPS for WordPress.

20. How to Fix the 502 Bad Gateway Error in WordPress

A 502 error is one of the most common PHP errors that you might come across in the development of your website. 

This is a generic name for an HTTP error code, which was originally intended to be used in a status line of an HTTP response to indicate that the server could not process the request.

It means that the server cannot process the request. This can be caused by a variety of reasons. 

It may be because the request is too big, or because the server has reached its maximum limit of requests in a short period, or due to some other reason.

Last but not least, this problem can also be caused by a server misconfiguration. In WordPress, fix the 502 bad gateway problem.

21. How to Fix 503 Service Unavailable Error in WordPress

When you visit a website, you expect it to be there. If the website is down or experiencing technical difficulties, the last thing you expect to see is a 503 “service unavailable” error. 

But thanks to the underlying technology that powers the web, 503 errors are often the result of unresponsive scripts. 

This can happen when a WordPress plugin fails to respond in a timely manner, a theme is at fault, or a custom code snippet has gone bad.

Read this guide on how to fix 503 service unavailable errors.

22. How to Fix the 504 Gateway Timeout Error in WordPress

The 504 Gateway timeout error is often caused when a request to your server is processed through a proxy or firewall but fails to connect with the upstream server. 

A 502 Bad Gateway error may be caused when a gateway server is unable to route a request due to a configuration issue and returns to the client with a 502 error code and a text message explaining why the request cannot be delivered.

If you use a WordPress firewall like Sucuri or Cloudflare, you’re more likely to receive this error. In WordPress, how to fix the 504 gateway timeout error.

23. How to Fix the WordPress Failed to Open Stream Error

When a website works, it’s easy to tell. But when something goes wrong, it’s important to know how to debug the issue so you can fix it and get your site back up and running. 

One of the most common errors visitors encounter on a WordPress website is the “Failed to open stream” error message. 

This error occurs when a piece of website code refers to a file that isn’t there. Learn how to fix open stream errors.

24. How to Fix the WordPress 429 Too Many Requests Error

The number 429’s status code indicates that the server is currently unable to handle the request due to a temporary overload of requests. 

The most common underlying causes for this condition are a heavy load on the system due to many users sharing a relatively slow or unstable Internet connection or a very large number of people trying to access the site at the same time.

To resolve this, you’ll need to track out the malfunctioning code, plugin, or service that’s causing the problem. Fix the 429 Too Many Requests issue in WordPress.

25. How to Fix the 413 Request Entity Too large Error in WordPress

However, if your WordPress site is erroring with the 413 Request Entity Too large error, then there’s a good chance your hosting company has their servers configured in a way that’s causing the problem. 

To fix this error and make sure your images and other media load quickly, you’ll need to tell your WordPress hosting company to have their servers configured differently. 

Most WordPress hosting companies will be able to handle this request, and it should take just a few minutes to have this fixed. 

Let’s take a look at how to fix this error and make sure your images and other media load quickly.

26. How to Turn Off PHP Errors in WordPress

PHP errors and warnings in WordPress are a common occurrence. They can occur when you make a mistake while writing code, when a plugin is acting up, or when your site is being attacked by malware. 

In these situations, your site may show PHP errors and warnings in the WordPress admin area or on your website. This is not the end of the world, but it can be annoying.

Learn this guide on how to fix PHP errors in WordPress.

27. How to Fix Secure Connection Error in WordPress

WordPress includes an update management system that checks for available updates on the WordPress.org website on a regular basis. 

Due to a misconfiguration on your hosting server, your website may fail to connect with WordPress.org, resulting in a secure connection error.

WordPress security and speed are heavily reliant on updates. This is why, in order to resume WordPress updates, you must repair the problem. How to Fix a WordPress Secure Connection Error.

28. How to Fix Destination Folder Already Exists Error in WordPress

WordPress can’t find the file specified in the upload field when attempting to install a plugin or theme. 

This error typically occurs during the extraction of the plugin or theme’s zip file to a folder named after the file itself. 

To fix this error, upload the file to the folder you specified in the install field, then try installing the plugin or theme again. 

If this doesn’t work, try uploading the file to the root folder of your WordPress install, then install the plugin or theme from the admin panel.

To fix this, simply delete the existing folder before continuing with the installation. Learn how to fix the WordPress folder problem.

29. How to Fix Password Reset Key Error in WordPress

If you are receiving this page, the site is most likely up and running. The reason for this error is probably that your password reset key was not created correctly. 

However, if it was created correctly, the error may be caused by another error, like bad credentials. We apologize for the inconvenience.

The simple solution is to remove a few superfluous files from your website. Learn how to fix the WordPress password reset key problem.

30. How to Fix “Missing a Temporary Folder” Error in WordPress

When you install WordPress, it creates the folder /wp-content/uploads in your WordPress installation directory. 

This folder is where WordPress stores all of the files that users upload to your website using the Media Uploader plugin or the WordPress uploader bar. 

Because WordPress needs access to this folder, it is common for the Installer plugin to warn you about the “Missing a Temporary Folder” error when you try to install a new plugin or edit an existing one. 

This error occurs when the PHP files that WordPress uses to store temporary files can’t be found on your server.

Learn how to Fix missing a temporary folder error in WordPress.

31. How to Fix Common SSL Issues in WordPress

SSL / HTTPS stands for Secure Sockets Layer and Transport Layer Security. It’s the second level of encryption used in web browsing. 

The big difference between SSL and regular web browsing is that when you visit an HTTPS-enabled site, the server uses a unique SSL certificate for identification purposes. 

If a server is pretending to be on HTTPS, and its certificate doesn’t match, your browser will show you a “Certificate Error” message.

See this tutorial on how to fix common SSL difficulties in WordPress for further information and other errors caused by SSL misconfiguration.

32. How to Fix File and Folder Permissions Error in WordPress

When you install WordPress onto a new web hosting account, the hosting company usually sets up WordPress so that it can access the files and folders on your website’s hosting account. 

However, sometimes WordPress can encounter errors when it isn’t able to access the files and folders on your website’s hosting account. 

This is especially common when you’re using a shared hosting account with another website. 

The main reason for this is that shared hosting companies don’t typically grant WordPress access to the files and folders on your website’s hosting account unless you tell the hosting company that you’re using WordPress and that you need WordPress to be able to access the files and folders on your website’s hosting account.

See our article on how to fix file and folder permissions in WordPress for more information.

33. How to Fix the HTTP Image Upload Error in WordPress

WordPress websites rely on the user to upload images and other media to the website. 

When you upload media to your WordPress website using a plugin or a theme, it is actually stored on the server’s file system. 

This means that if you are having problems with media uploading, the issue is most likely being caused by a plugin or a theme. You should disable the plugin or theme and then re-enable it to see if the issue goes away.

See our entire guide to resolving the HTTP image upload problem in WordPress for step-by-step steps.

34. How to Fix Your Connection is Not Private Error

When you visit a website that uses the SSL / HTTPS protocol, your web browser uses an SSL certificate to prove to the website that you’re actually allowed to be there. 

It’s a way for the website to prove to your browser that it’s the legitimate website you think it is. 

Unfortunately, sometimes websites issue invalid or fake SSL certificates, which means your browser won’t be able to validate the certificate. This results in the Your connection is not a private error.

35. How To Fix “The Link You Followed Has Expired” Error in WordPress

When you’re trying to upload a WordPress theme or a plugin from the WordPress admin area, you may see an error message stating that the link you followed has expired

This error usually occurs when you are trying to upload a WordPress theme or a plugin to your website from the WordPress admin area. 

In order to solve this problem, follow the instructions given below: —/ In the WordPress admin area, go to the “Plugins” menu and click the “Upload” option. —/ Click the “Choose File” button and browse to the location of the theme or plugin that you want to upload. —/

36. How To Fix “Failed To Load Resource” Error In WordPress

When a page is first loaded, all of the resources are loaded. The first of these is the “homepage.php” file, which is responsible for loading the core set of WordPress functions, along with the WordPress theme files. 

If you have a custom WordPress theme and you have added custom style sheets, JavaScript, or any code or assets, those will be loaded as well.

See our tutorial on how to fix the “Failed to load resource” error in WordPress for more information.

37. How to Fix “Missing a Temporary Folder” Error in WordPress

When you are trying to upload media, upgrade plugins, or update themes in WordPress, you might see a message saying that WordPress “can’t find the temporary folder where it stores files while processing your request”. 

This message means that WordPress is trying to store the files that it’s about to work on in a temporary folder, but there isn’t one

Here’s how to fix the “missing a temporary folder” error in WordPress. 

38. How to Fix “Googlebot cannot access CSS and JS files” Error in WordPress

Googlebot is a machine that scans the web for violations of its policies. Googlebot crawls pages on the web in search of violations and alerts the webmaster about the violation. 

If Googlebot encounters a page that violates a webmaster’s policies, Googlebot returns an error message to the webmaster. 

When a webmaster is able to fix the page, Googlebot will crawl the page again.

Follow the steps in our post on how to fix the Googlebot cannot access CSS and JS files problem in WordPress for more information.


If a request for a URL is handled by more than one location on your site, and a request for the same URL is handled by the same number of locations, then your site may be suffering from a redirect loop. 

The symptoms of a redirect loop can range from subtle behavior changes to major slowdowns depending on the nature of the site and the nature of the misconfiguration. 

Most redirect loops are the result of a misconfiguration of redirects. In this article, we’ll cover what redirects are and why they’re important, along with some best practices for creating and handling redirects.


40. Changes Aren’t Visible on Your Live Site

You may be irritated if you’ve put in a lot of effort to make updates to your site only to find that none of them are displayed on the frontend. The good news is that this is usually a relatively straightforward problem to resolve.

Most of the time, it’s due to a caching issue. You could start by deleting your browser’s cache. If your updates aren’t showing up and you’re using a caching plugin, read the documentation to discover how to clear the cache of that plugin as well.

Read our guide on how to clear cache in WordPress.

Frequently Ask Questions

  1. Why am I getting a WordPress error?

    WordPress is a free CMS platform, there are many fields lost in it, which gives you errors. Because of plugins, themes, CSS and JavaScript. Sometimes plugins and themes in WordPress are not intuitive to each other.

  2. How do I clear the cache in WordPress?

    To clear cache in WordPress you can use plugins like WP-Rocket, WP-super cache etc. Using this plugin you can easily clear cache every time.

  3. How to fix WordPress critical error

    1. Check the site's error logs.
    2. Use the WordPress debug mode.
    3. Solve potential theme or plugin conflicts.
    4. Restore the site using backup files.
    5. Upgrade the site's PHP version.


For novices, we’ve put up a comprehensive step-by-step tutorial on troubleshooting WordPress errors.

Please subscribe to our blog and share this article with your friends if you enjoyed it. You can also find us on social media sites such as Twitter and Facebook.

Rishabh Kolhe
Rishabh Kolhe

I am the founder of WealthyWork, I started my digital marketing journey in 2017. First, I started my career with SEO in Culturelligence, then after some time, I learned more about Digital Marketing. I worked as a Digital Marketer with Agile PeopleOps, a US-based HR organization. Now I am working in WealthyWork, We all specializing in Digital Marketing Services.

Articles: 101