Blog, Web Development

7 Common WordPress Errors | How to Fix WordPress Errors

7 Common WordPress Errors and How to Fix Them

There are various reasons why our WordPress site may have various problems. Never file corruption, blank page coming, login page not coming, PHP error or site hacking, etc. we given 7 Common WordPress Errors | How to Fix WordPress Errors.

Whatever the problem, there is a solution to 7 Common WordPress Errors | How to Fix WordPress Errors.

Those who are new, many do not want to work on the site for fear of the site having problems. But how to learn to fix the site if not ruined?

When I got a new computer, I used to install different software, change different functions, and see what works. And so slowly learning computers. If there was a problem, then after going to that step, I would go there again and change the settings to fix the problem.

And if I couldn’t do it right, there was a solution. I would uninstall the software and install it again .

It’s the same with WordPress, if you don’t do it you won’t know much. There will be problems, solve problems. And if you can’t, there’s a solution. The site can be reinstalled even if the whole site is stable.

Today I will share with you some common problems of WordPress and its easy solutions.

1. Briefly unavailable for scheduled maintenance. Check back in a minute

This is not a problem. This maintenance mode is automatically moved to the site when WordPress is updated or any WordPress plugin is updated. Once the update is complete, it goes away automatically again.

However, in some cases, if the update is incomplete due to various reasons, this message will not go. If you visit the site then this message shows or you can not enter the dashboard.

Solution: You must have access to your Cpanel for this. Login to cPanel and go to File Manager. From where open the public_html directory (or open the root directory of WordPress)

From here you will get a file named .maintenance.

7 Common WordPress Errors and How to Fix Them
7 Common WordPress Errors | How to Fix WordPress Errors

Simply delete it. The work is done.

Many times you can not get this file. This is a dot file that is normally hidden. In this case, click on Settings at the top right corner of the file manager and save it by ticking Show Hidden Files (dotfiles).

Then you will get the dot files.

2. Many times the running site may be shut down on the go. Such as sites, dashboard not open, black pages come.

There may be several reasons for this. If any plugin conflicts after complete auto-update or auto-update of WordPress, due to cache plugin.

Solution: Whatever the problem on the site, first you will check the error_log file from cPanel. Many times the cause of your problem can come out from this file. The error_log file will be found in the directory where your WordPress site is set up. If set up in the main domain of cPanel, you can find it in the public_html folder.

7 Common WordPress Errors and How to Fix Them
7 Common WordPress Errors | How to Fix WordPress Errors

Here the errors are given in the serial according to the date. If there is too much code in the file, start looking at the bottom.

Simply delete the plugin or theme that is causing the problem from cPanel. Then if the dashboard is open, login to the dashboard and install that plugin again.

If the error_log file is too large and you do not get the option to edit in cPanel, download it to PC and edit with Notepad or Notepad ++.

3. The site is experiencing technical issues

This can also be an update issue like No. 1. There may be problems with the plugin or theme PHP error. This has been a complication since WordPress 5.2. Which is actually a confusing thing. First, apply method number 1. If it doesn’t work or if there is no problem with the update, then you should understand that this is a problem of the previous fatal error type.

In this case, the whole site may not be or you can see this kind of message if you go to a specific place on the site or just on the page or just in the post.

In this case, apply method number 2. This means that you will try to understand by looking at error_log whether it is due to a plugin or a theme problem. If there is a problem with the plugin, then the site will be fine if you delete the folder of that specific plugin from the wp-content> plugins folder.

4. Many times the problem is not understood from the error_log file. It can be

seen that an error is showing from one of the files in the wp-includes folder. But this is the core file of WordPress. This is because an error is coming from a plugin or function code that conflicts with the code in wp-includes.

Finding that particular plugin is quite complicated for this type of problem.

Solution: In this case, you have to find the Kalprit plugin, go to content> plugins, zip all the plugins and delete the plugin’s folders. If the site loads in this state, if the site comes (the site can come in a broken state, but no problem) then the problem is from one of the plugins. If the site does not come, then the problem of the theme. Similarly, you have to zip the theme and delete the theme. Deleting the theme will no longer load the front page of the site, but will load the login page of WordPress. Then login and install or activate another theme, the site will come.

If there is a problem with the plugin, you need to look for that plugin. In this case, you need to unzip the zip file and remove all the plugins as before and remove all the plugins one by one and load the site. After deleting the plugin the site will come, you have to assume that there is a problem with the plugin.

5. Problems with Cash Plugins. (7 Common WordPress Errors | How to Fix WordPress Errors)

Due to this problem, the site may come to a blank page or the site may not load at all. The server may not respond after a long time loading. Especially those who use the w3 total cache plugin face this problem more. This may be due to some misconfiguration and plugin updates.

Solution: Remove the cache folder from inside the wp-content folder. If this does not work, remove all files and folders of this plugin for now. In the wp-content folder you will find files with some PHP files, in the root directory of the site you will find the .htaccess file.

6. The page isn’t redirecting properly. (7 Common WordPress Errors | How to Fix WordPress Errors)

This type of message will show in the browser when you load the site. May or may not load the site. This message will show after loading for a long time.

The problem is that multiple redirecting loops are created. Just a few days ago, I checked his site in the wake of a client’s complaint. He redirects his site to https, then redirects it to http, then https, then from there to https.

This may be due to the setup of different plugins. This means that the plugins that edit and redirect the htaccess file, then install another plugin of the same type, also put its code in htaccess.

Solution: First of all, remove the plugins via cPanel. To remove plugins, go to Public_HTML> WP-Content> Plugins from CPanel’s File Manager. Then remove the plugins. Examples of some of these types of plugins are really simple SSL, all one WP security and firewall, etc. These make rules by editing htaccess.

Then go back to the public_html directory, edit the .htaccess file and delete all the code, and set the default htaccess code for WordPress. WordPress default htaccess code.

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Hopefully, then the home page and login page or dashboard will open on the site. Other pages on the site may not be open or 404 pages may appear. In that case, you have to change the permalink from the permalink of the dashboard.

Now re-install the plugins that you deleted from the dashboard and configure them again.

7. PHP Update Required. (7 Common WordPress Errors | How to Fix WordPress Errors)

7 Common WordPress Errors and How to Fix Them
7 Common WordPress Errors | How to Fix WordPress Errors

Many people can see this kind of error message on the dashboard. This error occurs because your cPanel account has an older PHP version.

Solution: This error message will go away as soon as you change the PHP version by logging into Cpanel Login to Cpanel for this. Then find MultiPHP Manager or Select PHP version from cPanel. Now change the PHP version from here and select 7.1 or 7.2.

Related Posts

2 thoughts on “7 Common WordPress Errors | How to Fix WordPress Errors

  1. Mahide says:

    Good article…I love this website

Leave a Reply

Your email address will not be published. Required fields are marked *