Some Common and Handpick WordPress Errors & Their Solutions, Hostripples Web Hosting

Some Common and Handpick WordPress Errors & Their Solutions

Error 1:

1) Internal Server Error

The internal server error is the most common problem for WordPress website users and it is also called “500 Internal Server Error” which means there is an issue or temporary glitch in the website’s programming.

But the question is, why are we facing this problem?

Here is the reason

            An Internal Server displays this kind of error when your requested server is unable to display the requested page. There are some common reasons for this error, which includes already installed plugins or themes issue. It could be also due to a corrupted “.htaccess” file or a problem with the PHP memory limit.

Solution:

An internal server error has several different reasons and thus several ways to solve it.

  1. Check .htaccess

The .htaccess file contains important directives for the server. If the .htaccess file is corrupted then you will face this type of error.

To identify the error, you can access your server via FTP and search the file in your root directory.

Point to Remembered: .htaccess files are hidden to view those files you have to Click on enable option > “Show Hidden Files”

After identifying the .htaccess file > right click and rename the file to the name .htaccess_new and try to reload the site.

  • Increase the PHP memory limit

Internal server errors can also be caused by insufficient memory space. In that case, you have to increase the limit of the available memory, which is inside wp-config.php.

To perform this > open the file (via FTP) and add the following line:

Define (‘WP_MEMORY_LIMIT’, ’64M’)

This will increase the memory limit to 64MB. (You can set it to 128MB or 256MB if required).

By following these above-mentioned steps you can sort this issue easily. You can your web hosting provider to increase the limit if you’re not able to do it from your end.

Error 2

2) Error Establishing a Database Connection

Some Common and Handpick WordPress Errors & Their Solutions, Hostripples Web Hosting

Whenever you see the above message that means “WordPress cannot connect to the site’s database.

This indicates that you’re not aware of the location of the WordPress saved databases like content,  post, pages, and other information.

Solution:

1. Check wp-config.php

This wp-config.php file holds all the login details for the database that you entered at the time of installation i.e (database name, username, password, and server).

You’ll get this in the root directory of your WordPress installation.

Using this code you can solve this error.

2. Access wp-admin

Sometimes thing goes wrong with the database which you need to fix it for the active working of WordPress

In that case, when you go to <Yoursitename>/wp-admin you will see a different kind of error message.

Add the following line to wp-config.php to enable this feature:

define(‘WP_ALLOW_REPAIR’, true);

After that, access http://www.yoursite.com/wp-admin/maint/repair.php to start the process.

Error No 3

3) WordPress White Screen of Death

When you see a white screen of death on your WordPress website, it means that a script on your website has exhausted its memory limit.

The WordPress White Screen of death can affect your entire WordPress website but in some cases, it’s presented on a few parts of the website. Check below the list of solutions to sort this error on your WordPress website.

Solution:

1. Increase the Memory limit

Internal server errors can also be caused by insufficient memory space. In that case, you have to increase the limit of the available memory in wp-config.php.

To perform this, you have to Open the file (via FTP) and add the following line:

Define (‘WP_MEMORY_LIMIT’, ’64M’)

This will increase the memory limit to 64MB. (You can set it to 128MB or 256MB if required).

If an error is related to insufficient memory then your problem will get sorted.

By following these above-mentioned steps you can sort this issue easily. You can your web hosting provider to increase the limit if you’re not able to do it from your end.

2. Disable all plugins

Plugins also play an important role in the proper function of the WordPress website. You may face issues related to plugins also. Then, you can uninstall all the plugins and check them one by one to identify the error of each plugin.                     

3. Use a default theme

A new theme might give an error and you can test it one by one by using a WordPress default theme setting.

If you don’t have access to the WordPress backend, you can also do it via FTP.

Go to your theme folder which you want to set and rename the theme’s folder. This will make WordPress fall back to a default theme (which needs to be presented in the same folder.

Error No 4

WordPress Images Are Not Uploading

The problem with image upload in WordPress can appear in many ways:-

01. Images on your website are no longer displaying

02. You can’t upload media files on your site

Solution

Image uploading issues occur due to faulty file and folder permissions.

Changes to permission levels can happen due to a mistake on the web hosting provider’s site, faulty plugins, or when your site gets hacked. 

Open the Filezilla and find the upload folder inside wp-content with the help of Right-click it > set File permission.

In the directory, you can upload by yourself. Further, you need to change the permission of all folders to 744.

Enter this permission 755 in the “Numeric Value” section >> Then Tick the “Recurse into subdirectories” >> select “Apply to directories only” >> OK and the FTP Client will set the permission for your directories.

Some Common and Handpick WordPress Errors &amp; Their Solutions, Hostripples Web Hosting

The next step is…

You’ve to follow the same steps for the file as well. But, this time you have to set the permission 644 in the “Numeric Value” section >> Then Tick the “Recurse into subdirectories” >> select “Apply to files only” >> Ok and wait until the process is done.

Some Common and Handpick WordPress Errors &amp; Their Solutions, Hostripples Web Hosting

Final Words

WordPress is a very popular website that has n numbers of users worldwide. You will face many errors but solutions are also available online. Similarly, this article will also help you to solve these above-mentioned errors with solutions.                    


Some Common and Handpick WordPress Errors &amp; Their Solutions, Hostripples Web Hosting
Pooja Kanerkar
I am working as Technical Sale Executive with Hostripples. I love to learn new things and implement the same to boost the sales of the company. I am motivated to write technical articles to boost my knowledge and implement it through the writing of the article.