in

15 Most Common WordPress Issues (Ways to Resolve Them)

WordPress – A PHP written free open-source platform that requires MySQL or Maria database, it powers almost 30 percent of the website present on the Internet. WordPress was originally designed for blogging, it’s initial release was May 27, 2003. 

Facebook.com Founded on February 2004

Twitter.com Founded on March 21, 2006

WordPress is older than Facebook and Twitter. 

Without any doubt, WordPress is one of the most powerful, easy to use platforms to build any website. It can be either a blog, eCommerce website, social communication, forums, etc. The best part of running a website on WordPress cms is that you don’t require any technical or coding skills to fully install and run your website. But sometimes most expert users face common problems and issues that leave them to scratch their heads.

If you are a beginner to WordPress and fall into any WordPress issues then it will be pretty much scary. It will be a very frustrating and daunting task to resolve these issues but believe me, you will resolve this even if you’re a newbie to WordPress. We need to keep one thing in mind that somewhere we need to start it. 

Let us see the common WordPress issues below and ways to resolve them without getting help from experts. Hiring an expert on an hourly basis or a problem basis will be expensive, it will be better to follow below simple and easy guides to resolve any of the issues you are facing while running your website on a self-hosted WordPress platform.

We get to learn about fixing the WordPress issues so that the next time we face can be resolved quickly and efficiently. This will save your time, money, and website traffic loss due to the problem.

Backup Your Website is Important Before Fixing WordPress Issues

Before we proceed to resolve our WordPress errors, we need to take full website backup. It is also true to take full website backup on a regular or a weekly backup. This is because if any problem occurs on the website, you can restore the previous backup to run a healthy website. When you are making some changes on the website to resolve WordPress errors and fail to do so, you can restore the previous backup. 

For taking backup below are a few suggestions which you can prefer according to your convenience:

  • Choose a Hosting website that offers daily backup of your WordPress website.
  • Add a WordPress backup plugin to take backup and restore the website.
  • You can also create manual WordPress backups.

Accessing the WP files

Accessing WP files on a root folder is sometimes a daunting task. If you have all the login details like CPanel, FTP, and admin then you can easily locate the root folder. But, there are several situations when you have 1 of the below login credentials:

  • You only have Cpanel
  • You have FTP access
  • You have Admin Access

Accessing via Cpanel:

If you have only Cpanel access then it is very easy to locate the file manager on the dashboard. In the Public_html folder, you will get all the files.

Accessing via FTP:

FTP requires file accessing software like “Filezilla”, after login with the FTP credential you can easily access the Public_html folder.

Accessing Via Admin Area:

if you have admin login then you add wp file manager plugin to access the root folder. 

Error Establishing a Database Connection in WordPress

As WordPress requires a MySQL or Maria database to connect and run the website, whenever there is any problem in connecting with the database this WordPress issue occurs. 

Error Establishing a Database Connection occurs when you modified or edited incorrectly:

  • Database hostname
  • Database username
  • Database Password

Sometimes, your database host may not be responsive or it is corrupted but in most cases, the incorrect credentials are the main reason behind this WordPress error.

How to Fix Error Establishing a Database Connection in WordPress?

Before resolving this issue we first need to check if the same issue occurs on the frontend as well as on the backend.

Check for the Credentials: This can be easily checked all you need is cpanel access of the website. Look for the below line in the wp-config.php file:

// ** 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’ );

Now go to Cpanel, search for the MySQL databases on the dashboard click on it, and find the database name. Check the details on it to match with your wp-config.php file. 

If you find the correct database username and password but the same problem occurs then you must contact your hosting provider to know about the database host. Some shared hosting companies use different database hosts in that case localhost will not work.

Database Repair: If you are getting some different errors like “one more table is unavailable” then it is time to repair the table. 

Add below the line of code in wp-config.php file

define(‘WP_ALLOW_REPAIR’, true);

Run your repair URL and click on the run repair:

READ  Clever Goal Tracker Apps that will Help You Accelerate Your Growth

http://www.yoursite.com/wp-admin/maint/repair.php

After finishing the repair WordPress automatically deletes the line of code from wp-config.php file.

Alternatively, you can login to Cpanel and run the repair wizard of the WordPress database. 

WordPress Memory Exhausted

This is a common WordPress issue that occurs when WordPress memory or script exhaust the default memory limit. You will see below error message: 

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

How to Resolve the WordPress Memory Exhausted Error?

This error can be easily resolved by increasing the WordPress PHP limit. Locate the wp-config.php file in the root folder of the website, add below line of code in it:

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

WordPress White Screen of Death

WordPress white screen of death occurs when you enter the website URL then there’s an only white screen with no error message on it. This makes it very difficult to understand as there is no error message displayed.

How to Fix the WordPress White Screen of Death?

You will likely see this WordPress issue due to the PHP memory limit or any configuration problem. This can be easily resolved by accessing your theme and plugin folder.

Inside the plugin and theme folder just rename all the like XYZ theme1, XYZ theme 2, and so on..repeat the same process with plugins also.

Once done refreshing the URL you will see the website will open with the default WP theme. Now rename the themes and plugins one by one and hard refresh the website (ctrl+r) with each step. By this, you will easily find the problematic theme or plugin. After finding it just remove it from the directory. 

WordPress Internal Server Error

It is the most common and most confusing WordPress issue. When the server does not know what is the exact problem then this WordPress Internal Server Error occurs. Most errors will give you an idea about the issue and where to look for it, but this issue is confusing and does not point where to look for. 

How to Fix the Internal Server Error in WordPress?

Whenever the Internal server error in WordPress occurs, the first thing you need to check if the .htaccess file is corrupt or not. You can easily locate the .htaccess file in the WordPress folder. After locating the file, rename it something like .htaccess-old. On the admin area navigate to Settings » Permalinks.

Without making any changes click on the save button as it will create a new .htaccess file in the root folder. If the same Internal server error occurs you can check for the other possible solution.

WordPress 404 Error

Accidental removal of .htaccess file or misconfiguration of permalink causes this WordPress 404 error. Not only removal, sometimes error occurs due to rewriting rules.

How to Resolve the WordPress 404 Error?

This can be very easily resolved in the admin dashboard, all you need here is navigate to Settings » Permalinks. Choose and save the URL structure according to your need. 

WordPress not Uploading images

\With this issue you will not be able to upload the image file on the media library. This is a very common issue that we encounter with the WordPress website. 

You will see below error message:

‘Unable to create directory wp-content/uploads/2019/04. Is its parent directory writable by the server?’

 You can also detect this by checking your WordPress media library if the image is disappearing. 

How to fix Image Upload Issues in WordPress?

The change is permission is due to the website shared hosting, if they run an upgrade the change in permission occurs. For fixing this issue you need to login on the FTP, locate the upload folder 

Public_html » wp content » upload 

Step 1. File permission for your media uploads. 

Right-click on the upload folder to see the file permission option. Set directories and subdirectory permission numeric box to 744, then check the box next to Recurse into subdirectories option. After setting the radio button to “Apply to directories only” and then save it. The FTP client will now apply permission to the directories.

Note: if setting the numeric value to 744 does not solve your problem you can change it to 755.

Step 2. File permission for files in the upload directory

Follow the same process above add numeric value to 644, then check the box next to Recurse into subdirectories option. After setting the radio button to “Apply to files only” and then save it. The FTP client will now apply permission to the files.

WordPress Login Redirect Loop

It is very frustrating when you login to the WordPress and it keeps redirecting and refreshing due to the WordPress login redirect loop.

How to Solve the WordPress Login Redirect Loop? 

This can be very easily resolved by simply clearing the browsing and caching. Because WordPress uses the cookies to login and that creates a redirection loop on the login page. If this is not resolved by clearing browser, cache, and cookies, then you can either add a new .htaccess file or deactivate the theme/plugin folder.

403 Forbidden Error in WordPress

The 430 forbidden WordPress error occurs when your WordPress website does not allow you to access a certain file on the server. You will see below error message:

403 Forbidden – You don’t have permission to access ‘/’ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

How to fix the 403 Forbidden Error in WordPress?

This occurs due to poorly coded plugins or incorrect file permission. This can be resolved by renaming the plugin folder and then reactivating the plugins one by one. This will surely resolve the 403 forbidden error in WordPress. 

READ  Top 2 Most Powerful Smartphone Processors of 2020

“Are you Sure you Want to Do This” WordPress Issue

This is the most common error that occurs in the admin area. These types of error are helpful as it displays the problem unlike the “blue screen of death” that we have discussed above. 

How to Fix the “Are you Sure you Want to Do This” WordPress Issue?

For this problem, you need to find which is causing this problem “Theme or plugin”. When the Nonce key is incorrectly used by the theme or plugin this error occurs. This WordPress issue can also be resolved by renaming the themes and plugins. 

If a problem does not occur due to the theme or plugin then you can replace the core file of the WordPress directory to resolve this problem. 

WordPress Stuck in Maintenance Mode

When you are updating the plugins or themes at once then you may encounter the message that shows “scheduled maintenance”.

Like any other CMS, WordPress also has a built-in maintenance mode. 

How to Solve WordPress Stuck in Maintenance Mode?

While going into the maintenance mode WordPress created a .maintenance file in the root folder. To resolve this error you need to delete the file to get the website back to normal working. To prevent this problem to further occur you need to check the compatibility of plugins or themes before installing. 

WordPress Parse or Syntax Error

As the name suggests this WordPress issue occurs when a wrong syntax is added in the code of the website. You will likely to see the below error message: 

Parse error- syntax error, unexpected $end in /public_html/site1/wp-content/themes/my-theme/functions.php on line 549

How to Fix a WordPress Parse or Syntax Error? 

To overcome this frustrating WordPress error, you need to exactly find the faulty code in your WordPress file, luckily this error message shows where the code is wrong. You can easily locate the syntax, you can either remove the line of code or edit it with the correct one. 

WordPress Connection Timed Out

When you have shared web hosting and your website is doing more things than the expected then this “ERR_CONNECTION_TIMED_OUT” error shows. It is caused by PHP memory exhaustion, network change causing security plugins to block the IP, etc.

How to Solve the Connection Timed out Error in WordPress? 

To solve this issue, deactivate all the plugins. One by one activates it to see if it works, upon activating you will find the exact plugin that causes this problem. Even you can increase the memory limit to resolve this WordPress issue. If nothing seems to work you can immediately contact your hosting provider to resolve this issue. 

This Site is Experiencing Technical Difficulties Error

WordPress 5.2 came with a fatal error protection feature. This feature simply displays an error message “This Site is Experiencing Technical Difficulties Error”. An email from the backend is sent to the admin email that contains the link to fix it. 

How to Solve Technical Difficulties Error in WordPress?

To resolve this just open the link on the admin mail sent to fix the issue. We would suggest you have access to the email that you add in the WordPress during the WP configuration. If you do not have access to email id then you have to resolve it by first putting the WordPress in debug mode and find the root cause of.

WordPress Not Sending Email Issue

Most beginners face this problem, stating that their contact plugin is not sending the email, or WordPress is not sending the updates. This problem is caused due to some shared hosting not configured properly using the PHP mail() function. 

How to Solve WordPress Not Sending Email Issue?

It is strongly advisable not to use the shared hosting website. As it has cost advantages but we cannot ignore the fact that it also offers more disadvantages to the advantages. If you are using shared web hosting and this WordPress issue occurs, then we would suggest you use a simple SMTP plugin. SMTP plugin will send the mail or notification directly to the inbox, not like the PHP mail() function on a shared hosting sends the mail or notification to the spam folder.

WordPress RSS Feed Error

WordPress RSS feed is used as a marketing tool. It helps in indexing the content very quickly. The RSS feed error occurs due to the changes made in the theme or plugin. Below is the error message when this issue occurs: 

XML Parsing Error: XML or text declaration not at start of entity Location: http://example.com/feed Line Number 2, Column 1:

How to Solve WordPress RSS Feed Error?

Depending on the reason causing this error to happen, there are several ways to resolve this WordPress issue. A missing tag or space in the code can cause the RSS feed error. You can resolve this by finding the cause of the error or you can go for the easy way to install a plugin to solve this issue. 

Conclusion

WordPress no doubt is the best platform to run your website without any hassle. The market is filled with special WordPress hosting plans at an affordable rate. Where you can install this awesome CMS in just a few clicks, if you will have the best WordPress hosting for your website then the above issues will be rare. In case it occurs the WordPress hosting provider will resolve your problem very quickly without asking for extra money for it. 

What do you think?

Written by James

Leave a Reply

The Right Food to Eat After a Workout

3 Best Investment Options For Salaried Employees in India