How to fix common WordPress hosting errors

How to fix common WordPress hosting errors

WordPress is a relatively stable platform, which is probably one of the reasons why it dominates more than 76% of the CMS market. However, no platform is perfect. It is almost inevitable that one day you will run into a problem. Therefore, it is very important to know common WordPress hosting errors and how to fix them.

Related posts

  • How to install WordPress
  • WordPress vulnerabilities tripled in 2018
  • How to edit posts in WordPress
  • Discussion settings in WordPress
  • How to edit comments, comments in WordPress

All Internet indexed websites are hosted on dedicated servers and WordPress is probably the most popular blogging platform in the world. Hosting services play a very important role in the success of the website. A host of important ranking factors like page speed and security are closely related to your hosting service.

How to fix wordpress hosting often meet

Guide to fix common WordPress Hosting errors

Problems related to hosting also appear frequently and the following article will show you the most common WordPress hosting errors and how to fix them so you can promptly know how to resolve in case the problem occurs.

1. White screen of death error
2. Internal Server Error
3. Error establishing database connection
4. Your site is stuck in maintenance mode
5. Missed schedule error

Common WordPress hosting errors and how to fix them

1. White screen of death error

Among WordPress errors, White Screen of Death (WSoD) or white screen error of death dominates the most. The bug got its name because when it appeared, all you see is a black screen that doesn’t include any error messages.

WSoD error comes with many disasters. It can affect the look of your website, your admin area, or both. If the error is only present in the front-end, then most likely it’s caused by an issue with one of your plugins or themes.

To resolve the problem go to your WordPress dashboard and browse for active plugins. Disable one plugin at a time and check if the error is fixed.

How to fix wordpress hosting types is common

Your goal in this process is to isolate a plugin that could “play bad”. If this doesn’t fix the error, try switching to one of the default WordPress themes. On the other hand, if you don’t have access to the dashboard you’ll need to manually disable and theme it. You can do this using a File Transfer Protocol (FTP) client like FileZilla such as.

Connect your website via FTP and navigate to the directory public_html / wp-content / plugins. Inside you will find multiple folders, one for each of your website’s plugins.

How to fix common wordpress hosting types 2

Renaming the plugin folder to anything other than the default name will automatically disable the plugin in WordPress. To do this, right-click on the folder you want and choose the option Rename.

After you rename each directory, check to see if WSoD is gone. Once you’ve found the troublesome plugin, make sure to move the folders back to their original names when you’re done. Otherwise, WordPress will not be able to recognize them.

The process is similar to deactivate your current WordPress theme – as long as you go wp-content / theme via FTP. When you change the folder name of the active theme, WordPress will switch to one of the default options.

2. Internal Server Error

Unlike WSoD, the Internal Server Error in WordPress gives you a little bit of information. Basically, you know there’s a problem with your server and that’s a good start.

Internal Server Error is usually caused by 3 main reasons:

– Problems with plugins and themes.
Low PHP memory limit, prevent your site from executing major scripts.
– The .htaccess file is corrupt.

* With the first reason: You take the same fix as correcting WSoD errors.

* With the second cause: There are many ways you can increase your WordPress PHP memory limit. The simplest approach is to access directories root site via FTP and find the file wp-config.php. Open it with Text Editor and add the following lines of code:

define (‘WP_MEMORY_LIMIT’, ‘128M’);

ini_set (‘post_max_size’, ‘128M’);
ini_set (‘upload_max_filesize’, ‘128M’);

Save changes in wp-config.php and check to see if the error is gone.

* With the 3rd cause: Please take the time to review the file .htaccess Web’s. This file contains instructions on how your website will interact with the server. You can find it inside the same folder as wp-config.php.

How to fix common wordpress hosting types 3

When it comes to editing files .htaccessYou need to be extremely careful. A misconfiguration can also destroy your website. Don’t change anything if you are unsure.

In this case, the safest fix is ​​to reset the file .htaccess to its default configuration. Once done, save your changes and close the file.

Finally, double check to see if the Internal Server Error is gone. If not, it’s best to contact your hosting provider to determine if the problem is on the server side.

3. Error establishing database connection

Every WordPress website uses a single database to store all of its information. When someone tries to access your website, it will connect to the database to push any information it needs. If, for any reason, it fails to establish a connection to the database, you will get this error.

In most cases, you will get an error Error Establishing a Database Connection for one of the following reasons:

WordPress is trying to use incorrect information for your database.
There is a problem with your database server.
– The database is corrupted.

The first cause is quite rare unless you make a file change wp-config.phpwhere your database information is stored. Likewise, problems with your database server are uncommon unless you are using an untrusted web server.

So, only the third cause remains. Although not atypical, it can happen without your fault. In fact, simply updating your website can result in a corrupted database.

The good news is that WordPress includes functionality that allows you to fix broken database tables. To use it, you will need to enable the pass function wp-config.php.

– You access the file wp-config.php on the server using FTP.

– Add the following line of code: define (‘WP_ALLOW_REPAIR’, true);

– Then save your changes, enter your domain name in the browser and add /wp-admin/maint/repair.php at the end (Example:

Here, WordPress will ask if you want to fix your database. Click Repair Database To confirm. This process doesn’t take long, but it will depend on the size of your database.

Once the repair is complete, try to access your site again. Don’t forget to remove the lines of code you added wp-config.php. That way, others will not be able to perform the database repair function without your permission.

4. Your site is stuck in maintenance mode

When you update your website, WordPress will automatically put it in maintenance mode while the process is in progress. Usually, you won’t even notice this because it only takes a few seconds for WordPress to complete the update process.

However, if something goes wrong during the update, your site might be stuck in maintenance mode. To fix this, you will need to look at your WordPress root directory and look for a file named .maintenance.

How to fix common wordpress hosting types 4

WordPress automatically creates this file every time it goes into maintenance mode. To get your site back to normal, all you have to do is delete the file .maintenance.

5. Missed schedule error

As you probably know, WordPress allows you to schedule article publishing for any day you want. This feature allows you to schedule your content in advance and not have to worry about publishing articles manually.

To do this, WordPress relies on the so-called cron jobsThese are scheduled tasks. The platform uses cron jobs to be simulated for publishing scheduled posts. In short, sometimes it will miss the publication date. You will get this error when examining the tab Posts mine .

How to fix common wordpress hosting types 5

If you are the type of person who likes to schedule in advance, then this error can be considered serious. The best way to avoid it altogether is to use a plugin, such as Scheduled Post Trigger. This plugin checks for posts that WordPress may have not published and then completes that task. This is a handy plugin, so all you do is activate it and let it do the job in the background.

If you’re looking for a 100% error-free CMS experience then you’ll be disappointed. Managing and developing the website means you will get errors no matter what platform you use. Luckily, WordPress is usually stable and secure when properly maintained.
In addition, for your reference How to fix WordPress displaying the IP address of Localhost here.


Related Posts