Making a WordPress website is remarkably easy and can be done without any advanced tech skills. However, there are some WordPress errors that can give you cold feet. While some may cause minor disruptions, others can result in major problems. These errors not only hurt your overall website credibility but potentially affect your income.
Therefore, understanding some of the most commonly occurring WordPress errors can help you prepare and troubleshoot through these issues.
This blog post covers oftentimes occurring WordPress errors and sheds light on their solutions, so you can get your website back and run in no time!
Note: Before trying to fix WordPress website design errors make sure you have a complete backup and are able to contact your WordPress hosting in case you are unable to resolve it.
In order to cover the most common WordPress errors, we’ve organized each of them according to category. Below you’ll find a general description of each error and its feasible solutions.
WordPress 400 Errors
- How to Fix 400 Bad Requests
- How to Fix 403 Forbidden
- How to Fix 404 Not Found
- How to Fix 405 Method Not Allowed
- How to Fix 413 Request Entity Too Large
- How to Fix 429 Too Many Requests
WordPress 500 Errors
- How to Fix 500 Internal Server Errors
- How to Fix 501 Not Implemented
- How to Fix 502 Bad Gateway
- How to Fix 503 Service Unavailable Error
- How to Fix 504 Gateway Timeout Error
- How to fix internal server error
WordPress Database Errors
- How to fix WordPress white screen of death
- How to fix sidebar below content error WordPress
- How to fix white text and missing buttons in WordPress visual editor
- How to fix common image issues in WordPress
- How to turn off PHP errors in WordPress
- How to fix Pluggable.php file errors in WordPress
- How to fix WordPress memory exhaustive error
- How to fix “Missing a Temporary Folder” Error
- How to fix Cloudflare error 521
- How to fix “Sorry, you are not allowed to access this page” Error
- How to fix incorrect file permissions error
WordPress File Errors
- How to fix “Destination Folder Already Exists” Error
- How to fix WordPress Files are corrupt error
- How to fix the “Missing a Temporary Folder” Error in WordPress
Troubleshooting Miscellaneous Errors
- How to fix technical difficulties
- How to fix syntax error
- How to fix fatal error
- How to fix WordPress keeps logging out error
- How to fix SSL issues in WordPress
- How to fix your connection is not a private error in WordPress
- How to fix the “The link you followed has expired” error
- How to fix the “Failed to load resource” error
How to Fix 400 Bad Requests
The 400 Bad Request responses is a comprehensive client error that doesn’t fall into a specific category. This means this form of error has several possible causes.
- An incorrect-typed URL
- Trying to upload a large file
- Corrupted browser caches or cookies
- The disparity between DNS data and your local DNS cache
Some of the best solutions include checking your URL for typos, clearing your browser cache, clearing out your DNS cache, and deactivating your browser extensions. This could potentially help you resolve this error in no time.
How to Fix 403 Forbidden
In WordPress keeping your site safe through varying levels of permissions is a must. While this can help you keep your website secure from unauthorized access, it can sometimes cause problems if not done right.
To fix the 403 Forbidden errors, you’ll need to readjust the .htaccess file or generate a new one.
How to Fix 404 Not Found
This form of error only pops up when a user attempts to access a web page that doesn’t exist. However, the problem is relatively harmless but can be frustrating for any user. To avoid it, it’s essential you fix broken links on your site and implement redirects if you delete a page. Use URLs redirect plugin to remove bad URLs, & broken pages. The redirection plugin is the most popular WordPress plugin for 404 redirects.
How to Fix 405 Method Not Allowed
The 405 method not allowed is your server’s way of telling you that it received a request from your browser but could not answer it for some reason.
There are a number of ways to resolve this error, including checking your server’s configuration and error logs, and debugging your application code.
How to Fix 413 Request Entity Too Large
If you encounter this error in your browser, it means that the server of the site you’re trying to access can’t process the HTTP request because it’s too large.
This error occurs in an attempt to upload a large file. To resolve it, you can increase the maximum HTTP request size. There are multiple methods of fixing this issue. through .htaccess files, php.ini files & wp-config.php file.
Method 1) Increase file upload Using .htaccess File
max_execution_time = 300
upload_max_filesize = 128M
post_max_size = 256M
Method 2) Using function.php Files
To fix this just goto your WordPress directory and then find the function.php file and past the blow code in that file.
@ini_set( ‘upload_max_size’ , ’64M’ );
@ini_set( ‘post_max_size’, ’64M’);
@ini_set( ‘max_execution_time’, ‘300’ );
How to Fix 429 Too Many Requests
If a user attempts to access a certain resource a number of times over a short span, they may receive this error. This is your server’s way of blocking out suspicious behavior. If you are using some pirated WordPress plugin or nulled plugin then delete them these plugins contain malicious code.
To help prevent cyberattacks on your login page that may lead to 429 errors, you can change your default URL. Moreover, you can include testing for themes and plug-in conflicts. There are many reasons for occurring this error. This error show in a different way like these.
- 429 Too many requests
- 429 Error
- HTTP 429 Error
- Website send too many requests
How to Fix 500 Internal Server Errors
Any error visible on your site labeled as 500 and 599 errors is a sign that your server is incapable of performing a given request. However, the 500 error has many possible reasons, which can make resolving this slightly tricky. You can start by clearing your browser cache memory and reloading the page. If that doesn’t work out, the next option is more technical debugging methods.
How to Fix 501 Not Implemented
This error means your server doesn’t have the functionality needed to complete the request made by the user’s browser. It means your server doesn’t recognize the request method.
To troubleshoot the 501 error, you can try reloading the page, clearing the browser cache, and disable any proxy settings. In most cases, you may need to contact your hosting company.
How to Fix 502 Bad Gateway
In situations when one server is acting as a gateway for another, there’s a chance that you may encounter this error. The reason for this error is when a proxy receives an invalid response from an inbound server.
Moreover, the 502 error may impact your SEO, so it’s best to get it cleared up fast. Therefore, resolving it through reloading your page and clearing your browser cache is a good start. If these methods don’t work, check for issues with your DNS, or contact your web hosting assistance.
How to Fix 503 Service Unavailable Error
When you see the 503 error, it means your server can’t be reached for some reason. Although your website is up, it won’t be accessible. The reason for this error may be routine maintenance, high traffic, or a server problem.
To fix it, you can try deactivating your plug-ins, switching to a default theme, disabling your CDN, and increasing your server’s resources.
How to Fix 504 Gateway Timeout Errors
The 504 gateway time-out error is the result of a communications problem between an inbound server and a proxy. Essentially, it means that the latter server timed out while waiting for the former to respond to a request.
Possible solutions are, reloading your page, disable any active proxy settings, checking your DNS for issues, and temporarily disabling your CDN. Use WordPress CDN enabler plugin.
How to fix internal server Error
This form of error is probably the most common type of error that we can come across in WordPress. This error usually appears when there is something wrong but the server is unable to identify.
To fix it, you can start with checking for any corrupt .htaccess file, increasing your PHP limit, and deactivating all plug-ins to find out which one is causing an error.
How to fix error establishing a database connection in WordPress
Your WordPress website is composed of mainly two parts, files, and databases. While you’re more likely to interact with the former, your database is an essential part of your website functionality.
In case, you find your website connection in a situation where establishing a connection with your MySQL database is failed, you won’t be able to retrieve your data.
The most common cause of this error is wrong database credentials and can block you from accessing your dashboard. To resolve it, you can edit your credentials in your wp-config.php file.
How to fix a corrupt database
The database is corrupt is a general term used when files become unusable. Therefore, to counteract any such error you’d want to make sure you have a back of your database. Other than that you can also fix this error by adding the define function define(‘WP_ALLOW_REPAIR’, true); to your wp-config.php file. Use WP database backup plugin
How to fix WordPress white screen of death
This error usually looks like a plain white screen taking over your browser with no error message. This error can get confusing in terms of fixing as one may have no clue what to do.
However, there can be several reasons like a script on your website has exhausted the memory or poorly coded plug-ins on your website. Therefore, to fix this, you need to increase the PHP memory available to WordPress. If that doesn’t work disabling all plug-ins and then enabling each one at a time to pinpoint which one causes an error can help you get to the bottom of the problem. Sometimes clearing up your WordPress cache can solve the problem.
How to fix sidebar below content error WordPress
Another common error beginner’s face with WordPress is when the sidebar appears below the content. This issue is usually a result of WordPress custom theme errors. To be specific, this error happens if you have an extra </div> or <div> tag open. Another cause can be disproportionate widths in CSS.
Therefore, adding proportionate widths and fixing code snippets can help you resolve this error in no time.
How to fix white text and missing buttons in WordPress visual editor
Upon our experience to fix this error, we found clearing the browser cache, replacing the TinyMCE with a fresh copy, and adding the following PHP opening tag did the job.
- define(‘CONCATENATE_SCRIPTS’, false);
How to fix common image issues in WordPress
Uploading images to WordPress can be slightly tricky for someone new to it. To upload images in WordPress posts and pages, you need to add an image block to the content editor. The better way to align your photos is by creating image galleries with rows and columns.
How to turn off PHP errors in WordPress
When your website runs into a PHP problem, you’ll see a message or warning at the top of your WordPress dashboard, stating what the problem is.
These messages are intended for developers to check their site’s code and resolve the issue. Ideally, you’ll want to contact the developer of any related plug-ins to debug the issue. But in case you want to give it a try, you’ll need to edit the wp-config.php file.
Inside your wp-config.php file, look for the following line:
|1 Use this code||define(‘WP_DEBUG’, true);|
It is also possible the code is already set to False instead of true. In that case, you need to replace the line with the following code:
ini_set(‘error_reporting’, E_ALL );
How to fix Pluggable.php file errors in WordPress
The pluggable.php file contains basic WordPress functions that users and developers can override. However, if a WordPress plug-in is unable to handle these functions, you may encounter an error like this.
To fix it, always look carefully at the error you receive and the location it is coming from. Just look at the location mentioned in the error and edit or remove the code causing it.
How to fix WordPress memory exhaustive error by increasing PHP limit
This error occurs when a WordPress script or plug-in drains the default memory size limit. Therefore, you can easily fix it by increasing the memory limit in your WordPress.
You do this by editing the wp-config.php file on your WordPress site located in the root folder. The following code tells WordPress to increase the memory limit by 256MB. You need to paste this code in the wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’
|1 Memory Limit error||define( ‘WP_MEMORY_LIMIT’, ‘256M’ );|
How to fix “Missing a Temporary Folder” Error
This error occurs when WordPress does not have access to the folder PHP uses to store its temporary files. If you fall into this error, your WordPress media may get disrupted.
Therefore, to fix it you’ll need to edit the wp-config.php file in WordPress. You need to paste this code to the file just before the line that says ‘That’s all, stop editing! Happy blogging’.
|Missing a Temporary Folder||define(‘WP_TEMP_DIR’, dirname(__FILE__) . ‘/wp-content/temp/’);|
Hit save to these changes and upload the wp-config.php file back to your website. Next, you need to create a new folder in /wp-content / and name it temp.
How to fix Cloudflare error 521
Witnessing a 521 error on your screen means that Cloudflare can’t connect to your server. Either it’s because the server is down or blocking connectivity for some reason. Therefore, one can make sure your server is up and running and its firewall has all of Cloudflare’s IP ranges are explicitly allowed. In that case, you can take steps with your host and fix the problem.
How to fix “Sorry, you are not allowed to access this page” Error
For security reasons, WordPress has a list of default file types given access. This prevents malicious parties from adding executable files to your site that could lead to security breaches and compromise security.
You can enable uploads of file types by changing WordPress’s default settings by editing your wp-config.php file.
How to fix incorrect file permissions error
In addition to denying you access to some files, you may also encounter this error. However, this prevents you from updating/installing plug-ins, uploading images, and publishing posts.
In this case, you run the risk of hackers gaining access to vulnerable files. So, if you’re running into something like this it’s always good to verify your file permissions via SFTP.
How to fix “Destination Folder Already Exists” Error
When you install a new theme or plug-in in WordPress, a folder is automatically created to store its files. Next time when you attempt a plug-in/theme with the same name, you’ll see an error like this.
Your primary step to resolve this error is to check whether this theme has been installed before. If not, you should access your server via FTP and navigate through your wp-content folder. Then, look through the list of folders and delete if a similar folder exists. You’re good to go!
How to fix WordPress Files are corrupt error
Just as we looked at corrupt databases, so too can WordPress files. These corrupt files may be the result of server failure, incorrect file permissions, or a PHP version error.
A simple and reliable fix to get back your corrupt files is through a complete restore site backup. This is a matter of just a few clicks in MyKinsta.
How to fix the “Missing a Temporary Folder” Error in WordPress
This error comes into existence when WordPress does not have access to the folder PHP uses to store files. This leads to complete file disruption in WordPress and theme installations.
To fix this error, either you can define a temporary folder for WordPress to use or contact your hosting provider to fix it.
How to fix technical difficulties
WordPress 5.2 displays an error message like this stating there is a technical difficulty. This fatal error can be triggered by a theme or plug-in and can be fixed through your admin panel. WordPress will notify you through your admin email and is the easiest way to resolve it.
How to fix syntax error
This error usually occurs when you are attempting to add code snippets into WordPress and by accident missing some code. The error message you will see identifies the location of the script where the error occurred.
To fix this issue you need to go back to your code and will have to correct the syntax.
How to fix fatal error
WordPress is coded in mainly PHP programming. Therefore, to protect web servers from exploitation, there is a limit set for how long a PHP script can run. When a script reaches the maximum execution time limit, it results in maximum execution time exceeding the error.
To fix this, you may follow the email that will tell you which plug-in triggered the error. The email will allow you to log into WordPress with “Recovery Mode” and resolve the issue.
How to fix WordPress keeps logging out error
Generally, WordPress sets a cookie in your browser to authenticate the login session. This problem occurs when you are accessing a URL that does not match the one in your WordPress settings. Therefore, WordPress will not be able to authenticate your session.
A simple fix for this error is to ensure you are using the same URL in your Site Address and WordPress address fields.
How to fix SSL issues in WordPress
SSL/HTTPS enabled sites to have unique SSL certificates for identification purposes. However, in some cases, your certificate doesn’t match the modern browsers and will warn the user from connecting to the website.
The best way to fix this issue is to ask your WordPress hosting provider to properly install your SSL/HTTPS certificates.
How to fix your connection is not a private error in WordPress
Just like before, this error appears when your website using the SSL/HTTPS is not validated by your browser. This may result in a sudden drop in your website traffic and must be fixed as soon as possible. The reason for this error can be an expired SSL certificate or out-of-sync clock time.
To fix this, you can start by restarting your browser, clear your browser cache or check on a different browser. Normally, you can check your computer’s date and time settings and adjust them. If that doesn’t help then checking your SSL certification expiration can help.
How to fix the “The link you followed has expired” error
This error usually appears when you are trying to upload a WordPress theme or a plug-in to your website from the WordPress admin area. As WordPress hosting companies put a limit on file size, a file too big can lead to this error. Or if your file is taking longer than usual to upload, you may encounter this error.
The quickest way to fix this error is by increasing the file upload size, PHP memory, and execution time limits for your website.
How to fix the “Failed to load resource” error
Your WordPress website is composed of several files, images, scripts, and more. However, if one of these files goes missing, you’ll encounter this error.
The easiest solution is to make sure that the file actually exists on your website or you’ll need to check your WordPress URLs to make sure they are correct.