This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Peak Performance.

Limitless Scalability.

  • 0

    Days

  • 0

    Hours

  • 0

    Mins

  • 0

    Sec

Off For 4 months
+40 free Migrations

Secure Any CMS With Ease with Our Malware Protection Add-On! LEARN MORE→

A Detailed Guide on Troubleshooting Common WordPress Errors

Updated on July 10, 2023

37 Min Read
wordpress errors

WordPress is widely known for its user-friendly interface, but encountering errors can cause panic and inconvenience. From downtime and failed updates to missing resources, these issues can hinder your website’s accessibility and damage your reputation.

However, the good news is that most common WordPress website hosting errors have been encountered and resolved by others before you.

This article will explore common WordPress errors and provide effective solutions to help you fix them.

Before delving into the solutions, it is essential to emphasize the importance of taking a complete backup of your website. This crucial step ensures that your site can be restored seamlessly, even in the face of a disaster.

Now that we’ve got that out of the way, let’s get started.

No time for the details? Get All Common Error Fixes Here (FREE!)

Our experts have put together a WP Rescue Kit: Ultimate Error-Fixing Checklist for you. Skip the endless searches and find quick fixes to all common WordPress errors.

Thank You

Your list is on it’s Way to Your Inbox.

Basic Steps for Troubleshooting WordPress Errors

Finding and Troubleshooting exact WordPress errors can be challenging, but there are some effective strategies you can try to figure out what might be causing your unnecessary headaches.

First, clearing your cache can help eliminate outdated content that may be causing issues.

Additionally, keeping your themes, plugins, and WordPress core up to date is important to avoid compatibility problems. If you recently installed a new plugin or theme and encountered an error, try deactivating it to see if that resolves the issue.

Lastly, it’s always a good idea to regularly back up your site to easily restore it in case of a major error.

Cloudways offers features that can assist you in these troubleshooting steps. Cloudways provides a free WordPress cache plugin called Breeze.

When combined with Varnish Cache, available on our servers, Breeze boosts page-loading speed by optimizing databases and enabling internal and static caching.

Cloudways also provides one-click updates for your WordPress components, simplifying the process of keeping your site up to date.

Cloudways also provides automated and on-demand backups, enabling you to quickly restore your site if necessary.

By leveraging the features of Cloudways, you can streamline your troubleshooting process and effectively address WordPress errors while enjoying the benefits of a reliable hosting platform.

1. WordPress White Screen of Death

Imagine a beautiful morning where you wake up, grab a cup of coffee, and settle down at your workstation. Excited to start your day, you open your laptop, launch the browser, and eagerly type in your website’s URL.

However, to your surprise and disappointment, all you see is a blank page staring back at you. No matter how many times you hit the refresh button, the site remains inaccessible.

White screen of death

For those of you who have never encountered the WordPress white screen of death, then you’re one of the lucky ones. In this section, I will show you how to fix the WordPress white screen of death.

Increasing the Memory Limit

Both the web host and WordPress itself set limits on PHP memory. However, when the available memory reaches a low point, it can often result in the dreaded White Screen of Death. Fortunately, this issue can be resolved by expanding the memory limit to ensure sufficient resources are allocated.

There are various ways of increasing the PHP memory limit.

  • Through Functions.php
  • Through .htaccess File
  • Through wp-Config.php

Functions.php

  • You need to go to the root directory and then to the current theme’s folder. For example, check the image below:

/public_html/wp-content/themes/twentysixteen/function.php

Function file

  • Download the function.php file on your local server and add the following code at the top of the file.
@ini_set(‘upload_max_size', ’64M');
@ini_set(‘post_max_size', ’64M');
@ini_set(‘max_execution_time', ‘300');

.htaccess File

  • The second step is to edit the .htaccess file located in the primary WP folders, such as the wp-content and wp-admin folders.

Htaccess file

  • Download the .htaccess file on your local server, add the following code, and re-upload it.

Here’s the code below:

php_value upload_max_filesize 64M
php_value post_max_size 64M

wp-Config.php

  • The third step is to edit the wp-Config.php file that is located in the root directory. Download wp-config.php and include the following code in it.

Here’s the code below:

define(‘WP_MEMORY_LIMIT’, ’64M’);
ini_set(‘post_max_size’, ’64M’);
ini_set(‘upload_max_filesize’, ’64M’);

WP Config File

Directly From the Platform

If you are a Cloudways user, you don’t need to work hard. Cloudways have a built-in feature to change the file size limit. Here is how you can do it directly from the platform.

  • Login to your account, go to Servers from the bar on the top, and get into your desired server. Navigate to Settings & Packages from the left side panel to see Upload Size under the essential settings tab. Change it in accordance with your requirement. For our situation, we are going to utilize 25MB.

increase-filesize-limit-in-wordpress-on-cloudways

Deactivate All Plugins

If the memory limit troubleshooting doesn’t fix the issue, you must try deactivating all your plugins. There is a probability that a conflict between your currently active theme and the module you just installed arises.

In such a case, you could disable that particular plugin, and everything should work fine.

  • Get to the admin dashboard of the WordPress website and go to Plugins >> Installed Plugins.

Plugins

  • Deactivate the plugins one by one and refresh your site after each deactivation. If the site starts working correctly, then the error is in the plugin. Now, activate each plugin one by one and refresh your website again after each plugin activation. The plugin causing problems will soon be identified this way.

Deactivate all plugins

Replace Theme With a Default Theme

If troubleshooting the plugin does not resolve the issue, there is no need to worry. You can proceed to the next step, which involves replacing your current theme with a default theme, like twenty-sixteen. To do this, it is recommended to first back up your theme folder and then delete the current theme.

By taking these steps, WordPress will automatically switch to the default theme, effectively resolving any theme-related errors.

Other Fixes

If none of the above fixes are worthwhile, you must reinstall a fresh WordPress version. Also, you can use the debugging function if you want to see what type of errors are being displayed as output.

To do that, add the below code to your wp-config.php file.

error_reporting(E_ALL); ini_set('display_errors', 1);
define( 'WP_DEBUG', true);
define( 'WP_DEBUG', true);

WP Config File

Debugging specific errors can help you quickly fix the WordPress white screen of death error. You can also use a plugin to debug WordPress like WordPress Query Monitor.

2. 500 Internal Server Error

500 Internal Server Error

The “500 error” is a common issue that website operators, including WordPress users, may encounter. Fortunately, the cause of this error can often be identified relatively quickly. In the case of WordPress, server errors are often attributed to problems with plugins and/or themes.

Additionally, corrupted .htaccess files or insufficient PHP memory can also contribute to internal server errors. It is worth noting that while the rest of the website may function properly, internal server errors can affect the WordPress admin page.

Fix 1: Corrupt .htaccess File

The most common cause of error 500 is from the corrupted .htaccess file. This is the reason why you should check this file first as soon as this kind of message is displayed.

To do that:

  • Connect to your server via FTP access.
  • Navigate to the root directory of WordPress and locate the .htaccess file.
  • Give another temporary name to this file.
  • Refresh your website again.

Does it work? Congratulations!

  • Now create a new .htaccess file by simply navigating to Permalink Settings in your WordPress Admin Panel and saving the settings again.

Fix 2: Insufficient PHP Memory

Sometimes, the limit of PHP memory causes the error 500. To determine if it is the cause, you must check the error log of your website.

To do that, enable the wp_debug mode and check the error protocols.

Open the wp-config.php file and look for the following line of code.

Define ('WP_DEBUG', false);
And modify it as follows:
Define ('WP_DEBUG', true);

It is recommended to disable plugins and themes one after the other since an internal server error can also be caused by a plugin or theme. An increase in memory limit capacity can also solve the problem.

Fix 3: The Core Is Damaged

This is not common, but occasionally, the WordPress kernel may be corrupted and cause an internal server error. In such a situation, you must download a new set of kernel files to eliminate the source of the error.

Log into your website via FTP access and create a new wp-admin and wp-include folder. Changes in these folders should not affect your WordPress customizations unless you have saved modified files in these folders, but this is usually not the case.

The files in the wp-content folder contain your theme, plugins, and other changes. You do not have to renew this folder. Otherwise, the content of your site will be deleted.

If all else fails, you must download a new copy of WordPress from the official website and reinstall it completely.

3. Error Establishing Database Connection

Taskbar Appears Under the Main Content

If you are an experienced WordPress user, then common this WordPress error will probably be corrected quickly. However, for beginners, the message “Error Establishing Database Connection” can be confusing.

The error occurs, for example, when you install WordPress manually or when you try to download your own website. Of course, a good WordPress web host needs to configure everything for you and ensure this error never happens. However, if you manage WordPress completely alone, this error can occur quickly.

Of all the WordPress-PHP files, the most important is wp-config.php. Without this file, no connection to the database is possible, and your site will not work anymore.

In this file, you specify your login information, such as the database name, username, password, and host. This file is not editable for paying guests. It is, therefore, unlikely that the following scenario will be relevant to you if you are using a managed WordPress hosting service.

Fix 1: Incorrect Connection Settings

If a WordPress error occurs while establishing a connection to a database; it is usually due to incorrect connection settings in wp-config.php. If you are moving a website from a former hosting company, you must make a change. Update the name and password of the database in your wp-config.php so your database works properly.

// ** MySQL settings - You can get this info from your web host ** //

/** The name of the database for WordPress */

define( 'DB_NAME', 'database_name_here' );

/** MySQL database username */

define( 'DB_USER', 'username_here' );

/** MySQL database password */

define( 'DB_PASSWORD', 'password_here' );

/** MySQL hostname */

define( 'DB_HOST', 'localhost' );

Fix 2: Wrong Wp-config.PHP File

You forgot to update your wp-config.php file when you changed the password for the database.

You should update your password more frequently to secure your database. Remember, however, that you must change the password in your hosting control panel and in the wp-config.php file. Upload your wp-config.php file, open a text editor, and edit the following line:

Define ('DB_PASSWORD', 'enter the password here');

Enter your new password, save the file wp-config.php and download it via FTP. Reload the browser and make sure your site is loaded.

Fix 3: Problems With DB_HOST

Once you have updated your wp.config.php to access your database from your new host, you may need to change the DB_HOST value (the database host).

This WordPress error is less common, but it can occur. Some hosting provider uses their own values when setting the database host parameter in wp-config. This is not always the case. However, other hosts define a URL to the MySQL database server, which must be used as the value for the database host.

Sometimes this also works if you insert the IP hosting address instead of a MySQL URL.

Fix 4: Error When Moving Your WordPress Site

Another common source of error is the transfer of your WordPress files to a new host. The website is always displayed at the beginning when you access the URL. However, once your former host has terminated your contract, if you have not transferred your database to your new provider’s server, your site will no longer be displayed. You receive the error message WordPress “Error Establishing Database Connection”.

The best way to avoid this failure is to immediately transfer the entire database to your new host. Update your wp-config.php file to access the new database. In this way, it is possible to safely cancel your old hosting account without losing any data and being confronted with the dreaded WordPress error message “Error Establishing Database Connection”.

Before troubleshooting, ensure you have a backup copy in your database by exporting your MySQL file.

4. Failed Auto-Upgrade

If the WordPress auto-update feature fails, you may experience the following symptoms:

  • A blank white screen with no information.
  • A warning indicating that the update has failed.
  • A PHP error message.

The failure of the WordPress automatic upgrade can occur for various reasons, such as a glitch in connection with the main WordPress files, issues with your Internet connection during the upgrade process, or incorrect file permissions.

To address this, you can perform a manual update of your WordPress site by following these steps:

1. Replace WordPress Files:

  • Download the latest WordPress zip (or tar.gz) file.
  • Extract the downloaded file.
  • Deactivate all plugins.
  • Delete the old wp-includes and wp-admin directories from your web host.
  • Upload the new wp-includes and wp-admin directories to your web host, replacing the deleted directories.
  • Overwrite the existing files in your wp-content folder by uploading the new files from the wp-content folder in the downloaded package. Do not delete your wp-content folder or any files within it.
  • Upload the new loose files from the root directory of the new version to your existing WordPress root directory.
  • Ensure not to overwrite any customized themes or plugins unless necessary.

2. Remove .maintenance File:

  • If you manually update after a failed auto-upgrade, delete the .maintenance file from your WordPress directory using FTP.

3. Update Your Installation:

  • Visit your WordPress admin page at /wp-admin and log in if prompted.
  • If a database upgrade is required, WordPress will detect it and provide a link to upgrade.php. Follow the link and instructions to update your database.
  • Reactivate your plugins.

4. Clear Caching (if applicable):

  • If caching is enabled, clear the cache to ensure immediate visibility of the changes. Otherwise, cached versions may continue to be displayed.

5. Final Steps:

  • Enable your plugins again.
  • If you encounter login issues, try clearing your browser cookies.

By following these steps, you can successfully perform a manual update of your WordPress installation, ensuring you have the latest version with all the necessary improvements and bug fixes.

5. Fixing the Sidebar Below Content Error

The issue of the sidebar appearing below the content in WordPress can disrupt the layout and cause frustration. This problem commonly occurs in templates using a two-column layout. It is often caused by HTML or CSS errors that affect the positioning of the sidebar.

Troubleshooting Steps:

To resolve the sidebar below content error, follow these steps:

  • Undo Recent Changes: If you have recently made changes to your WordPress theme, revert those changes to see if the issue is resolved.
  • Rule Out Plugin Conflicts: Deactivate all plugins temporarily and check if the problem persists. If the error disappears, reactivate the plugins individually to identify the conflicting plugin.

Deactivate all plugins

  • Find HTML Errors: Look for unclosed or orphaned <div> tags in the template responsible for displaying the affected content. Tools like the W3C Validator or code editors can help identify and fix HTML errors.

code editors can help identify and fix HTML errors

  • Check CSS Settings: Inspect the CSS code and ensure the width allocation for the content and sidebar areas is correct. Incorrect width settings can cause the sidebar to shift below the content. Adjust the CSS accordingly.
  • Clear WordPress Cache: Clear the cache to ensure that any cached versions of your pages are updated. This helps to avoid displaying outdated content and resolves potential caching issues.

Resolving the issue of the sidebar appearing below the content in WordPress and restoring the correct layout significantly enhances the user experience on your website.

6. Fixing White Text and Missing Buttons in WordPress Visual Editor

If you’re using the classic WordPress editor and encountering issues where buttons in the visual editor disappear or display blank white spaces, it’s important to understand the potential causes behind this problem.

Fixing White Text and Missing Buttons in WordPress Visual Editor

This issue may occur due to the following reasons:

  • Concatenated JavaScript: The problem can arise when the concatenated JavaScript is not functioning properly. It could be caused by conflicts with other plugins or themes that modify or extend the default TinyMCE editor included with WordPress.
  • Missing or Corrupt TinyMCE Files: Another possible cause is the absence or corruption of essential TinyMCE files. When these files are missing or damaged, it can lead to the malfunctioning of buttons and the visual editor’s interface.
  • Plugin Conflict: Conflict with another plugin that modifies or extends the functionality of TinyMCE can also cause this issue. Some plugins may interfere with the proper functioning of the visual editor, resulting in the disappearance or incorrect display of buttons.

To troubleshoot and resolve this problem, you can follow these steps:

  • Clear the Browser Cache: Start by clearing the cache of your browser or try using a different browser. This can help resolve the issue as it may be related to a caching problem on your computer.
  • Replace TinyMCE Scripts: If the problem persists, you can try replacing the /wp-includes/js/tinymce/ folder with a fresh copy. This ensures that the necessary TinyMCE files are intact and can potentially fix the issue.
  • Update wp-config.php: If the above steps do not resolve the problem, you can edit your wp-config.php file. Add the following line at the very top, just after the opening PHP tag:
define('CONCATENATE_SCRIPTS', false);

This configuration change can help address the issue related to concatenated JavaScript not working.

By following these troubleshooting steps, you can effectively resolve the issue of missing buttons or blank spaces in the visual editor of the classic WordPress editor.

White Text and Missing Buttons error fixed

7. Fixing the WordPress Memory Exhausted Error – Increasing PHP Memory

The WordPress Memory Exhausted Error can manifest as a white screen of death or an error message indicating that the allowed memory size has been exhausted. The error occurs when a WordPress script or plugin surpasses the default allocated memory limit.

WordPress Memory Exhausted Error

By default, WordPress attempts to increase the PHP memory limit if it is below 64MB. However, this limit is often insufficient. To address this issue and avoid the memory exhausted error, follow these steps:

Edit the wp-config.php File: Locate the wp-config.php file in your WordPress site’s root folder using an FTP client or file manager in your hosting control panel.

Insert Memory Limit Code: Add the following code snippet just before the line that reads ‘That’s all, stop editing! Happy blogging.’

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

This code instructs WordPress to increase the PHP memory limit to 256MB. Adjust the value as needed for your website’s requirements.

Save and Upload: Save the changes to the wp-config.php file and upload it back to your server.

Upon completing these steps, visit your WordPress site, and the memory exhausted error should no longer appear.

Note: If this solution does not work, it may indicate that your web hosting service provider does not permit WordPress to increase the PHP memory limit, which is common with shared hosting. In such cases, contact your hosting provider to inquire about manual adjustment of the memory limit for your WordPress site.

Additionally, Cloudways users can conveniently adjust the memory limit from within the application settings on the Cloudways Platform, eliminating the need to edit the php.ini or wp-config file.

Cloudways - adjust the memory limit to Fix the WordPress Memory Exhausted Error

By increasing the PHP memory limit, you can ensure that your website has sufficient memory to execute processes and avoid encountering the memory exhausted error.

8. Locked Out of WordPress Admin (wp-admin)

There are various situations in which you might encounter a lockout from the WordPress admin area. For instance, forgetting your password and lacking access to the password recovery email can result in such a situation.

Similarly, installing a plugin or using code that inadvertently attempts to modify the admin section can also lead to a lockout. Additionally, if your WordPress site has been compromised by a hacker, you may lose access to the admin area.

WordPress admin access issues can be a nightmare for administrators, as they can stem from a variety of factors.

Let’s investigate the potential reasons for getting locked out of the WordPress admin area and suggest solutions to help you regain access. We’ll organize these issues into different sections for convenient reference.

Troubles with Database Connection

A prevalent error message you may encounter is the ‘Error establishing database connection’. This could indicate a compromised database or issues with your web hosting server. If this error surfaces when attempting to log in, consider referencing our detailed guide on remedying database connection issues in WordPress.

Error establishing database connection

Internal Server Error – 500

As a WordPress beginner, you might stumble upon the “Internal Server Error” or “500 Internal Server Error”. This vague error arises when an unidentified problem exists. Should you come across this error message during login attempts, our comprehensive guide on resolving the 500 internal server error in WordPress might be useful.

Internal Server Error

‘Not Found’ Error – 404

Misconfiguration of WordPress Address and Site Address settings often lead to the 404 error message appearing when you try to access your admin area. If you’re facing this problem, modifying your WordPress site URLs could help.

There are multiple methods available to change the WordPress site URLs, but we will focus on one approach for this guide:

Changing WordPress Site URLs Using the functions.php File:

If you find yourself unable to access the WordPress admin panel, you can regain control by connecting to your WordPress site through an FTP client.

  • Locate the WordPress theme folder, typically located at /wp-content/themes/your-theme-folder/.

Locate the WordPress theme folder

  • Open the functions.php file within your theme folder using a text editor like Notepad or TextEdit.
  • Add the following code snippet at the end of the functions.php file:
update_option('siteurl', 'https://example.com');
update_option('home', 'https://example.com');
  • Make sure to replace ‘https://example.com’ with your actual site’s URL.
  • Save the changes and upload the modified functions.php file back to the server using the FTP client.
  • Visit your website to verify if everything is functioning correctly.

The advantage of this method is that it updates the site URLs directly in the database. WordPress automatically updates the database with the new URLs every time the functions.php file is loaded.

Once your website is working properly, you can remove the two lines of code from the functions.php file in your WordPress theme.

Forbidden Error – 403

The “HTTP Error 403 – Forbidden” message may crop up when you attempt to access wp-admin. Causes for this error could range from incorrect file permissions and poorly-constructed security plugins, to server configurations. Should you encounter this error, our guide on mitigating the 403 Forbidden Error in WordPress might be able to assist.

Forbidden Error - 403

Unauthorized Error – 401

The 401 error message, sometimes accompanied by ‘Access denied due to invalid credentials’ or ‘Authorization required’, could be seen if your WordPress admin folder is password-protected.

It can also occur due to a WordPress security plugin or actions taken by your hosting company.

Here are some solutions to troubleshoot and resolve a 401 error in WordPress:

1. Refresh the Firewall Cache

401 errors can occur if a cloud-based WordPress firewall service, such as Sucuri or Cloudflare, fails to connect with your website. Clearing the firewall cache might resolve this. Here’s how:

For Sucuri Users:
  • Log into your Sucuri dashboard, navigate to the ‘Firewall (WAF)’ page, and switch to the ‘Clear Cache’ tab.
  • Click on the ‘Clear cache’ button.
For Cloudflare Users:
  • Log into your Cloudflare dashboard, go to the ‘Caching’ section, and click on the ‘Purge everything’ button.
  • After you’ve cleared the firewall cache, clear your browser cache or WordPress cache as well.

2. Temporarily Deactivate Password Protection for WordPress Admin

At times, password protection for your WordPress admin directory could lead to a 401 error, particularly if you’ve forgotten the password or your server configuration has changed. To resolve this, you’ll have to temporarily disable the password protection by:

  • Logging into your WordPress hosting control panel and accessing the ‘Directory Privacy’ or ‘Password Protected Directories’ option.
  • Browsing to your wp-admin directory and deselecting it by clicking on the name.
  • Navigating to password protection settings and unchecking the ‘Password protect this directory’ option. Save the changes.
  • Deleting the username for your password-protected directory.
  • Try logging into your WordPress site. If it’s successful, you can re-enable password protection with a new username and password.

3. Disable All WordPress Plugins

A problematic or improperly configured WordPress plugin can cause a 401 error. Try temporarily deactivating all your WordPress plugins. This can be done from the Plugins page in the admin area or via FTP if you can’t access the admin area. Here’s the process for the latter:

  • Connect to your WordPress site using an FTP client.
  • Navigate to the /wp-content/ folder and rename the plugins folder to ‘plugins.deactivated’. This will deactivate all WordPress plugins.
  • After checking if the issue has been resolved, rename the plugin’s folder back to ‘plugins’ and reactivate plugins one at a time to identify the faulty one.

Deactivate all plugins

4. Reset WordPress Password

Repeated failed attempts to log in to your WordPress account can lead to temporary blockage of access to wp-admin and login pages, resulting in a 401 error. If you’ve forgotten your password, opt for password recovery instead of repeated attempts. If WordPress fails to send a password reset email, you can reset your password using phpMyAdmin.

Reset WordPress Password

5. Use a Default WordPress Theme

A function within your WordPress theme can trigger a 401 error. To determine if this is the case, switch to a default WordPress theme, such as Twenty Twenty-Two or Twenty Nineteen. If the issue is resolved after the switch, your theme was causing the 401 error.

Limited Login Attempts

By default, WordPress allows users to attempt password entry an unlimited number of times. This can be exploited by hackers using scripts to attempt various combinations until access is gained.

wordpress Limited Login Attempts

Hence, it’s recommended to limit the number of failed login attempts per user. However, should you lock yourself out due to too many incorrect attempts, here’s what you can do:

A beginner-friendly solution involves removing the folder named “Limit Login Attempts Reloaded” and later reinstalling the plugin after regaining access to your WordPress site. To implement this method, you can utilize either an FTP client or the file manager feature provided in your WordPress hosting control panel.

If you’re unfamiliar with FTP, we recommend referring to our comprehensive guide on utilizing FTP for uploading files to WordPress.

To proceed, you must access your site through your FTP client or file manager and navigate to the /wp-content/plugins/ directory. Once you’ve reached this location, you can proceed to delete the folder named “limit-login-attempts-reloaded” associated with the plugin.

access your site through your FTP client or file manager

By completing this step, you should now be able to successfully log in to your WordPress admin area.

The White Screen of Death

A white screen appearing on your WordPress admin, commonly known as the WordPress white screen of death, usually signals a depleted memory limit. This could be due to a poorly coded plugin or theme or unreliable web hosting. Our guide on rectifying the WordPress white screen of death provides step-by-step instructions.

Incorrect Password

Entering the wrong password and being unable to reset it can be frustrating. Should this happen, don’t worry! Our guide on how to reset your WordPress password could assist.

Plugin-Related Problems

Sometimes, faulty plugins or themes lock you out of your WordPress site. If you can’t log in after installing a new plugin or the error message mentions ‘wp-content/plugins/’, deactivating your plugins might solve the problem.

You have two commonly employed methods to deactivate plugins when you cannot access the admin area of your WordPress website. You can opt for the method that seems more convenient to you.

  • Method 1: Deactivating All WordPress Plugins Using FTP
  • Method 2: Deactivating All Plugins Using phpMyAdmin

Let’s focus on the first method. To execute this approach, you must utilize either an FTP client or the file manager feature provided in your WordPress hosting control panel.

  • Start by connecting to your website using your preferred FTP client or accessing the file manager in cPanel.
  • Once connected, navigate to the /wp-content/ folder.
  • Inside the wp-content folder, you will find a folder named “plugins.” This particular folder is where WordPress stores all the plugins installed on your website.

wp-content folder

  • To proceed, right-click on the plugins folder and select the “Rename” option. Then, modify the name of the plugins folder to any desired name. For demonstration purposes, let’s refer to it as “plugins.deactivate.”

As a result, all your plugins will be deactivated. This happens because WordPress searches for a folder called “plugins” to load the plugin files. When the folder is not found, WordPress automatically disables the active plugins stored in the database.

Usually, this method is employed when you cannot access the admin area. If the issue was caused by your plugins, you should now be able to log in to your WordPress admin area.

Upon visiting the “Plugins » Installed Plugins” page within the WordPress admin area, you will observe notifications indicating that all the plugins have been deactivated.

You may also notice that all your plugins have disappeared. Do not worry, as they are all safe and can be easily restored.

  • Simply switch back to your FTP client and navigate to the /wp-content/ folder. From here, rename the “plugins.deactivate” folder back to “plugins.”
  • At this point, you can return to the “Plugins » Installed Plugins” page within the WordPress admin area and activate one plugin at a time until your site reencounters issues.

Following this process, you can identify the specific plugin that caused the problem. You can then remove that plugin’s folder from your site using FTP or seek support from the plugin author.

Lost Admin Rights

In some cases, you might be able to log into your WordPress admin but lack the usual admin functionality. This could indicate modified user permissions or a potential hack. In such a scenario, adding an admin user to the WordPress database might be helpful.

WordPress has six main user roles with distinct capabilities:

  1. Super Admin: Full access to the entire website, including network administration.
  2. Administrator: All administrative privileges, such as user management, plugin/theme installation, and site settings modification.
  3. Editor: Can create, edit, and publish their own posts and manage others’ posts.
  4. Author: Can create, edit, and publish their own posts but not posts from other users.
  5. Contributor: Can create and edit their own posts but require review from an editor or administrator for publishing.
  6. Subscriber: Limited access, focused on managing profiles and leaving comments on posts.

You can learn more about how to create and manage user roles in WordPress in our separate guide.

Compromised WordPress Site

If your site has been hacked, it may display different content or exhibit other suspicious behavior. This could pose a threat to your visitors. Our beginner’s guide on how to remedy your hacked WordPress site provides actionable steps to identify the hack, restore your site from a backup, and remove any malware.

Experiencing Technical Issues

In some cases, you might see a white screen or a message saying, ‘The site is experiencing technical difficulties.’ In such instances, you should log into your admin email account and check your inbox for an automated email from WordPress providing details on the problematic theme or plugin.

automated email from WordPress providing details on the problematic theme or plugin

However, if you don’t receive this email, you can access recovery mode without any email link by following the steps below.

  • Replace “example.com” with your own website’s domain name in the following URL: example.com/wp-login.php?action=entered_recovery_mode
  • Copy the modified URL and paste it into your browser’s address bar.
  • The URL will take you to the WordPress admin area, where you’ll be prompted to log in.
  • On the login page, you will see a notification indicating that you are logging into Recovery Mode.
  • Once logged in, you can address any errors on your site.

It’s important to note that using this method won’t automatically identify the plugin or theme causing the error. You will need to manually troubleshoot the issue.

To begin, you can change your theme to a default WordPress theme or deactivate all plugins. This should resolve the error and allow you to access your WordPress website.

From there, you can reactivate plugins one by one to identify the problematic ones. Alternatively, you may consider reverting to an earlier version of your theme or WordPress if compatibility issues arise.

Please note that there are numerous other factors that can result in being locked out of the WordPress admin area. However, we have addressed the most prevalent issues and provided their respective solutions.

9. Fixing WordPress Login Page Refreshing and Redirecting Issue

The WordPress login page refreshing and then redirecting issue is mysterious, but it’s an easy fix. It will take a short troubleshooting on your part; however, we’ll try to break things down and make them as simple as possible.

Login Page Refreshing and Redirecting Issue

Clear Cookies to Resolve Login Issues

WordPress scripts utilize cookies from your program for security purposes. It confirms your login data, but these cookies can cause multiple issues at times, including redirecting you back to the login page.

In order to fix it, clear your browser cookies and cache.

Cookies and Cache

After doing that, restart your program and then try to log into your account. This should fix the problem for most of you.

Deactivate All Plugins

Already mentioned earlier.

Check Your Theme

Already mentioned earlier.

Delete .htaccess File Code

If clearing the browsing data to Resolve Login Issues doesn’t fix the problem, then you need to try the Delete .htaccess File Code. In some cases, the .htaccess file can get corrupted, which can result in internal server errors or login page refreshing errors. You just need to access your website through FTP.

Go to FileZilla and then add the following details.

  • Host
  • Username
  • Password
  • Port

FileZilla

Then go to your application and then delete the code in the .htaccess file from your website root directory. Now you might need to log back in again. If you succeed, then this means your .htaccess file was stopping you from logging into WordPress. When you are signed in, just go to Settings » Permalinks and click Save. This will generate a new .htaccess file.

Permalinks

Update Site URL

If the delete .htaccess File Code solution doesn’t fix the issue, then you need to try Updating your Site URL. Sometimes, the issue may occur because of a broken site URL. To dispose of this issue, you should update the URL of your site.

To do that, include just two lines of code in your “wp-config.php” file and keep in mind to replace the “example.com” with your own particular URL. Hopefully, the WordPress login redirect issue will get fixed afterward.

The code that you need to put in is:

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

Once it is done, you should be able to resolve WordPress Login Page Refreshing and Redirecting Issue to WordPress without any problem!

10. Fixing Image Upload Issue in WordPress

If you find broken images in your WordPress Media Library and you can’t upload images, then there could be an issue with the file permissions of your Uploads directory.

Image Upload Issues

How to Manually Set Your File Permissions

Just go to your website’s directory using an FTP client like FileZilla. You’ll need to go to the /wp-content/ directory. There you will see /uploads/ folder. Simply right-click on the uploads directory and select file permissions.

image13

After clicking the file permission, a new dialog box for file permissions will open up.

image06

Change the permission 744 to 755 if it didn’t work for you before. Then press the OK button.

Also, you should check the box next to “Recurse into subdirectories” and select the “Apply to directories only” radio button. Then press the OK button.

image12

Once it is done, you should be able to upload images to WordPress without any problem!

Directly From The Platform

If you are a Cloudways user, you can easily set the permission just by 1-click. See the link below to read a complete guide on how to reset permissions.

How to reset the permissions of your application

11. Fixing WordPress Keeps Logging Out Problem

If you utilize WordPress for an extended period of time, you probably have encountered the logging out the issue for at least one time. To be honest, this can be seen as one of the most frustrating issues, particularly when you are saving a vital setting. It is also known as the session timeout issue, and this issue happens for various reasons. A few reasons are listed below,

Incorrect Setting

You need to see the below image; the WordPress URL and the Site Address are two different URLs (see one has www. whereas, the other doesn’t).

Incorrect Setting

Correct Setting

If you want to fix this login issue, you need to make sure that you have the same URL as your site address and WordPress field as in the WordPress settings option.

Correct Setting

FTP Configuration

If you can’t access the admin area, then the second option that you can do is to add a snippet code to the wp-config.php file. Connect your website through FTP and locate the wp-config.php file in your site’s root directory. You need to download this file on your local server and open it in a text editor like Dreamweaver or Notepad. Copy the below code in your wp-config file.

define('WP_HOME','http://www.example.com');
define('WP_SITEURL','http://www.example.com');

Make sure to replace example.com with your own domain name.

Once done, you can save the file and re-upload it to your website’s root directory.

12. Taskbar Appears Under the Main Content

If this common WordPress error occurs, your sidebar will no longer be left or right of the main content but under your text. This is not only unattractive but can also affect the use of the website. Even though your layout may seem unnecessary because of this error, it does not mean that you cannot use your theme anymore. The error of the sidebar can often be corrected quickly.

A common cause of this error is too many open tags or too many closed div tags in your HTML. The div tags look like this in the code of your WordPress page:

<div> </ div>

This marking opens or closes HTML elements of your website. If a div tag is used too little in the code, it will not be implemented correctly. This mainly concerns the layout. When the problem appears only on a passage or a page, it is then very likely that the div tags are the cause. The easiest way to check for div tag errors in your code is to use an online HTML validator.

It is also possible that an error has crept into your CSS style sheet. You should consider this possibility if you have recently made any changes to this file. If you’ve assigned size specifications to the main content and sidebar that do not match each other, CSS cannot build your layout properly. Incorrect indications or too much padding can also lead to a misrepresentation of your website.

Another possibility is to disable the float property of your sidebar so that it is no longer aligned to the left or right through the CSS. Also, check the float definition to exclude this source of error.

13. Syntax Error

Syntax Error

A small typo error in the wrong place can lead to the shutdown of your entire WordPress page. However, the “Syntax Error” message is not an unsolvable problem.

A syntax error is typically caused by a critical error in the code’s syntax, such as a missing comma or parenthesis. For example, let’s say you have a line of code that should be written as:

echo "Hello, World!";

However, due to a syntax error, you accidentally write it as:

echo "Hello, World!

Notice that the closing quotation mark is missing. This small mistake can result in a syntax error that interrupts the script execution.

If you recently installed a snippet or updated a plugin, it’s essential to check those first.

To resolve WordPress syntax errors, you need to work on the part of the code that caused the error. You can either delete it entirely or correct the syntax. As a beginner, it’s common to feel frustrated when a single mistake makes the entire site inaccessible.

If you added the code to your WordPress dashboard using the editor area, you can no longer directly access your WordPress code. In such cases, the only way to fix the syntax error is to replace the faulty code via FTP.

To do this, log in to your FTP program and navigate to the directory where the theme file that needs to be fixed is located. The error code will indicate the specific file and line that are affected.

You can either remove the newly added code completely or correct the syntax. Once you have deleted or fixed the code, save the file and upload it to your server. Then, access your website without using cached data, and it should function properly again.

Other Common WordPress Errors

Now, we’ll look at some other common WordPress Errors you can encounter.

Fixing the “Are You Sure You Want to Do This” Error in WordPress

The “Are you sure you want to do this?” error in WordPress can occur due to issues with nonce verification, which is a security feature that protects your website from unauthorized access. This error is commonly caused by plugins or themes that do not use nonce properly.

Are You Sure You Want to Do This Error in WordPress

To fix this error, you can follow these steps:

  • Investigate Plugins: Deactivate all plugins on your WordPress site by renaming the “plugins” folder via FTP or the File Manager. Then, reactivate each plugin one by one to identify the one causing the error.
  • Investigate Themes: If the error persists, your theme may be the culprit. Download a backup of your current active theme and delete it from your web server. WordPress will revert to the default theme. If the error disappears, the theme was causing the issue.
  • Unable to Find the Source: If neither plugins nor themes are causing the error, you can replace all core WordPress files with fresh copies. Make a complete backup of your website, delete all WordPress files except the “wp-content” folder, download a fresh copy of WordPress, and upload the files to your server. Edit the wp-config.php file with your database information.

Fixing the Briefly Unavailable for Scheduled Maintenance Error in WordPress

The ‘Briefly unavailable for scheduled maintenance‘ error in WordPress occurs when your website gets stuck in maintenance mode during an update. This error message is displayed to visitors while the update process is taking place.

To fix the error, you need to delete the ‘.maintenance’ file from your website’s root folder using FTP or the file manager in your hosting control panel. This will take your site out of maintenance mode and resolve the error.

Briefly Unavailable for Scheduled Maintenance Error in WordPress

In summary, to fix the ‘Briefly unavailable for scheduled maintenance‘ error in WordPress:

  • Access your website’s files through FTP or the file manager.
  • Locate the ‘.maintenance’ file in the root folder.
  • Delete the ‘.maintenance’ file.
  • Refresh your website, and the error should be resolved.

Fixing WordPress Not Sending Email Issue

The WordPress not sending email issue is a common problem users face. It occurs when the WordPress hosting server is not properly configured to use the PHP mail() function, and email service providers may mark WordPress emails as spam.

To fix this issue, it is recommended to use SMTP (Simple Mail Transfer Protocol) for sending emails from your WordPress site. You can install the WP Mail SMTP plugin, which allows you to configure WordPress to use SMTP instead of the PHP mail() function.

Here are the general steps to fix the WordPress not sending email issue:

  • Install and activate the WP Mail SMTP plugin on your WordPress site (Here’s a guide on setting up WordPress SMTP).
  • Configure the plugin settings by entering the name and email address from which you want emails sent.
  • Choose an SMTP mailing service provider like Sendinblue, Gmail (G Suite), Office365, or others.
  • Follow the specific instructions provided by your chosen SMTP service provider to set up an account and obtain the required credentials.
  • Connect your WordPress site with the SMTP service provider by entering the necessary details in the WP Mail SMTP plugin settings.
  • Test the email functionality by sending a test email through the WP Mail SMTP plugin.

By using SMTP to send emails from your WordPress site, you can ensure better deliverability and bypass potential spam folder issues.

Please note that the specific steps and instructions may vary depending on the SMTP service provider you choose.

Fixing WordPress RSS Feed Errors

If you’re experiencing RSS feed errors on your WordPress site, it can prevent users from subscribing to your blog and cause issues with other apps that rely on your feed. These errors are typically caused by poor formatting in the XML markup language used for RSS feeds.

To fix RSS feed errors in WordPress:

  • Manually Fix Formatting: Check for poor formatting in your theme’s functions.php file or any added code snippets. Remove any extra spaces or line breaks after the closing PHP tag. Consider using a plugin like WPCode for adding code snippets in the future.
  • Disable RSS Feed Plugins: If you have any plugins that modify or create RSS feeds, temporarily disable them to see if the error persists. Reactivate the plugins one by one to identify the problematic one. Contact the plugin’s support for an update or find an alternative plugin.
  • Switch to a Default Theme: Switch to a default WordPress theme like Twenty Twenty-Three to see if the error is related to your current theme. If the error disappears, contact the theme author for support or consider switching to a different theme.

Fixing 403 Forbidden Error in WordPress

The 403 Forbidden error is an HTTP status code that occurs when you try to access a resource for which you don’t have permission. This error can be caused by issues like improper configuration, a corrupt .htaccess file, poorly coded plugins, or incorrect file permissions.

Forbidden Error - 403

To fix the 403 Forbidden error in WordPress, you can try the following solutions:

  • Clear your browser cache and cookies.
  • Roll back to a previous working version of your website using a backup.
  • Check and fix your .htaccess file by removing any extra spaces or line breaks.
  • Verify and correct file permissions to ensure they are set correctly.
  • Temporarily deactivate all plugins and reactivate them one by one to identify the problematic plugin.
  • Review and adjust hotlink protection settings if enabled.
  • Contact your hosting provider for assistance if the error persists.

For detailed instructions and further troubleshooting, you can refer to the full blog post on how to fix the 403 Forbidden error in WordPress.

Fixing Error Too Many Redirects Issue in WordPress

The “Error too many redirects” issue in WordPress is typically caused by a misconfigured redirection or plugin conflict. This error can lock users out of their websites and disrupt site functionality.

Too Many Redirects Issue in WordPress

To fix the “Error too many redirects” issue in WordPress, you can try the following solutions:

  • Clear browser cookies and cache.
  • Deactivate all WordPress plugins by renaming the plugins folder via FTP.
  • Fix WordPress URLs by ensuring consistency between the WordPress Address and Site Address settings.
  • Reset the WordPress .htaccess file by downloading a backup, deleting the existing file, and refreshing permalinks.
  • Contact your WordPress hosting provider for assistance if the issue persists.

Fixing “Upload: Failed to Write File to Disk” Error in WordPress

The “Upload: Failed to write file to disk” error in WordPress occurs when there are incorrect folder permissions, preventing the web server from writing or creating files in the designated folder. This error typically occurs during file uploads and can be frustrating for users.

Upload Failed to Write File to Disk Error in WordPress

To resolve the “Upload: Failed to write file to disk” error, follow these steps:

  • Connect to your WordPress site using an FTP client.
  • Right-click on the wp-content folder and choose “File Permissions.”
  • Set the numeric value to 755 and enable the “Recurse into subdirectories” option. Click “OK” to apply the changes to folders.
  • Right-click on the wp-content folder again and select “File Permissions.”
  • Set the numeric value to 644 and enable the “Recurse into subdirectories” option. Click “OK” to apply the changes to files.
  • Attempt to upload files again in your WordPress admin area.
  • If the error persists, you may need to contact your WordPress hosting provider and ask them to empty the temporary files directory.

Fixing “This site ahead contains harmful programs” Error in WordPress

If you encounter the “This site contains harmful programs” error on your website, it indicates that your website has been hacked and Google has marked it as insecure. This warning is displayed to protect users from potential malware or trojan distribution. Ads from low-quality advertising networks can also trigger this error.

This site ahead contains harmful programs Error in WordPress

To fix this issue, follow these steps:

  • Confirm that your website is hacked and remove the malware. Use scanning tools or services to detect and remove any malicious code. Ensure you have a backup of your website before proceeding.
  • Search for and eliminate any backdoors that may have been placed on your site. Backdoors allow unauthorized access and can reinfect your website even after cleaning it. Find and close any security vulnerabilities, such as compromised passwords or unsafe file permissions.
  • Thoroughly check all your files and database for any remaining malicious code. Pay close attention to disguised or hidden files that may have been injected into your site.
  • Consider using a website monitoring and security service like Sucuri. It provides continuous monitoring, protection against hacking attempts, and malware cleanup for WordPress sites.
  • Once you have ensured your website is clean, request a review from Google through Google Webmaster Tools. Provide details about the steps you’ve taken to fix the issue and ask them to remove the warning from search results.

Fixing the Missed Schedule Post Error in WordPress

If you’re experiencing the “missed schedule post” error in WordPress, where your scheduled posts don’t get published on time, there are a few possible causes. It could be due to issues with your web hosting environment or conflicts with plugins.

Missed Schedule Post Error in WordPress

To fix this error, you can follow these steps:

  • Install and activate the “Missed Scheduled Post Publisher” plugin. This plugin checks your website every 15 minutes to detect any missed scheduled posts and automatically changes their status to “published.”
  • Check your WordPress timezone settings to ensure they match your desired timezone for publishing and managing your website. Go to Settings » General and select the appropriate timezone.
  • Clear the WordPress cache if you’re using a caching plugin. Poorly configured caching plugins can sometimes cause issues with scheduled posts. Make sure your caching plugin is set to automatically clear the cache at regular intervals.
  • Increase the WordPress memory limit by editing the wp-config.php file. Add the following code before the line that says ‘That’s all, stop editing! Happy publishing.’: define(‘WP_MEMORY_LIMIT’, ‘500M’). This allows WordPress to use more server memory and can help prevent issues with scheduled posts.
  • Disable the default WordPress cron (wp-cron) and set up a new cron job on your web hosting provider’s operating system. This ensures that scheduled tasks, including publishing scheduled posts, are properly executed. Refer to our guide on how to disable wp-cron and set up cron jobs in WordPress for detailed instructions.

Fixing Fatal Error: Maximum Execution Time Exceeded in WordPress

If you’re encountering the “Fatal error: Maximum execution time of 30 seconds exceeded” error in WordPress when trying to update a plugin or theme, it means that the PHP script in WordPress is taking too long to run and exceeds the maximum time limit set by your hosting server. This time limit is in place to prevent server resource abuse.

Fatal Error Maximum Execution Time Exceeded in WordPress

To fix this error, you can follow these steps:

  • Use WordPress Recovery Mode: If you’re using WordPress version 5.2 or higher, you may see the “This site is experiencing technical difficulties” error message. In this case, you can log in to WordPress using the provided Recovery Mode link and deactivate or delete the plugin causing the error.
  • Edit Your .htaccess File: Connect to your website using an FTP client or File Manager app and locate the .htaccess file in the root folder. Edit the file and add the following line at the bottom: php_value max_execution_time 300 (or increase the value if needed). Save the file and check if the error is resolved.
  • Modify the php.ini File: If you don’t see a php.ini file in your root folder, you can create one and add the following line: max_execution_time = 60 (or increase the value if needed). Save the file and upload it to the server.

After applying these methods, check your website to see if the error persists. In most cases, increasing the maximum execution time using these techniques will resolve the issue. However, if the error persists, it’s recommended to contact your hosting provider for further assistance.

Fixing Facebook Incorrect Thumbnail Issue in WordPress

If you’re experiencing the issue of incorrect post thumbnails when sharing articles on Facebook, there are several possible reasons for this problem. It could be due to multiple images set in the og:image tag, where the featured image is smaller than the other images. Caching plugins, CDN conflicts, or a missing open graph meta tag for the thumbnail image can also cause the issue.

Facebook Incorrect Thumbnail Issue in WordPress

To fix the incorrect Facebook thumbnail issue in WordPress, you can follow these steps:

  • Choosing Your Facebook Thumbnail with AIOSEO: Install and activate the AIOSEO plugin, and then go to the AIOSEO Settings meta box below the post editor. In the ‘Social’ tab, select the thumbnail image you want to use for Facebook, such as the featured image or a custom image.
  • Choosing Your Facebook Thumbnail with Yoast SEO Plugin: Install and activate the Yoast SEO plugin. When writing a post, scroll down to the Yoast SEO meta box and click on the ‘Social’ tab. Upload a thumbnail image for Facebook.
  • Using Facebook Debug Tool to Clear the Cache: Clear the page cache in WordPress, and then use the Facebook debug tool. Paste the URL of your WordPress post into the tool and click on the ‘Scrape Again’ button to update the thumbnail for your post.

Fixing the Mixed Content Error in WordPress

The mixed content error in WordPress occurs when your website is using HTTPS/SSL, but some content is still being served through non-HTTPS URLs. This can impact your website’s SEO and user experience.

Mixed Content Error in WordPress

To fix this error, you can follow these steps:

  • Install and activate the SSL Insecure Content Fixer plugin.
  • Go to the plugin’s settings page and choose the appropriate fix level based on your needs (Simple, Content, Widgets, Capture, or Capture All).
  • Configure the HTTPS detection method based on your website setup.
  • Save the changes and clear your WordPress cache.
  • Check your website to see if the mixed content error has been resolved.

The SSL Insecure Content Fixer plugin will automatically fix the mixed content error by ensuring that all scripts, stylesheets, and media library images are served through HTTPS. It offers different fix levels depending on the complexity of your website. Make sure to select the appropriate level and test your website after making the changes.

Fixing Add Media Button Not Working in WordPress

Add Media Button Not Working in WordPress

The “Add Media” button not working in WordPress is commonly caused by conflicting scripts or stylesheets loaded by plugins or themes installed on your site.

To troubleshoot and fix this issue, you can follow these steps:

  • Add the following code to your wp-config.php file:
define('CONCATENATE_SCRIPTS', false );
  • This code instructs WordPress to load each script separately, helping to avoid conflicts between scripts and the core WordPress features.
  • Check if the “Add Media” button is now working as expected. If not, proceed to the next step.
  • Use the inspect tool in your browser to identify any console errors that may indicate the source of the conflict.
  • Create a staging site to perform further troubleshooting. Deactivate all plugins and check if the issue is resolved. If it is, reactivate plugins one by one until you find the one causing the conflict.
  • If deactivating plugins doesn’t solve the issue, temporarily switch to a default WordPress theme like Twenty Seventeen. If the issue is resolved with the default theme, your current theme may be causing the conflict.
  • Once you have identified the plugin or theme causing the issue, replace it with an alternative or contact the plugin/theme author for support.

Note: It is recommended to perform these troubleshooting steps on a staging site rather than your live site. Once you have found the solution, apply it to your live WordPress site.

PHP Errors and How to Turn Off PHP Errors in WordPress

PHP errors, notices, and warnings in WordPress are intended for developers to debug their code. However, they should be hidden from the front end of your website as they can make your site look unprofessional.

Edit the wp-config.php file in your WordPress installation to turn off PHP errors, notices, and warnings. Look for the line that says define(‘WP_DEBUG’, true);

Replace that line with the following code:

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Save the changes and upload the modified wp-config.php file to your server.

Visit your website to confirm that the PHP errors, notices, and warnings have disappeared.

If you are working on a local server or staging area and need to see the errors for debugging purposes, you can turn on error reporting again by editing the wp-config.php file and replacing the code with:

define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);

Remember to save the changes and upload the file to your server.

Final Words

Thank you for reading this tutorial on fixing common WordPress errors. We hope that one of the solutions provided here has helped resolve the issue you were facing with your website. If you have any questions or suggestions regarding this tutorial, please feel free to leave a comment below. We appreciate your feedback and are here to assist you further.

Q1. How do I fix corrupted WordPress?

To fix a corrupted WordPress installation, you can try restoring your website from a backup, reinstalling WordPress core files, deactivating plugins and switching to a default theme, or repairing the WordPress database.

Q2.What are managed IT service providers?

An IT service provider who oversees and takes responsibility for its clients’ delivery of a certain business technology service is a managed IT service provider.

Q2. What is the biggest error in WordPress?

The “White Screen of Death” (WSOD) is a common and significant error in WordPress. It occurs when your website displays a blank page due to a critical error that prevents it from loading.

Q3. How do I diagnose a WordPress error?

To diagnose a WordPress error, you can enable WP_DEBUG in your wp-config.php file, check error logs on your server, deactivate plugins and switch to a default theme, disable caching, and use browser developer tools to check for JavaScript errors.

Q4. Is it easy to fix common WP errors?

Fixing common WordPress errors can be relatively easy with the right approach. By following online tutorials, using relevant plugins, and seeking assistance from the WordPress community, you can often resolve common errors quickly. However, the ease of fixing the issue may depend on its complexity and your technical proficiency.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Abdul Rehman

Abdul is a tech-savvy, coffee-fueled, and creatively driven marketer who loves keeping up with the latest software updates and tech gadgets. He's also a skilled technical writer who can explain complex concepts simply for a broad audience. Abdul enjoys sharing his knowledge of the Cloud industry through user manuals, documentation, and blog posts.

×

Webinar: How to Get 100% Scores on Core Web Vitals

Join Joe Williams & Aleksandar Savkovic on 29th of March, 2021.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Want to Experience the Cloudways Platform in Its Full Glory?

Take a FREE guided tour of Cloudways and see for yourself how easily you can manage your server & apps on the leading cloud-hosting platform.

Start my tour

Peak Performance.

Limitless Scalability.

  • 0

    Days

  • 0

    Hours

  • 0

    Mins

  • 0

    Sec

Off For 4 months
+40 free Migrations

Claim Now