Showing posts with label wordpress error log. Show all posts
Showing posts with label wordpress error log. Show all posts

Common WordPress issues and careful steps to perform while fixing them


There's little uncertainty that WordPress is probably the best stage to construct your site on. In any case, even the most prepared clients run into some regular WordPress issues that leave them scratching their heads. In case you're a new user, confronting these issues can be entirely alarming. WordPress mistakes can appear to be convoluted, excessively specialized, and you probably won't realize where to begin in settling them. Some common WordPress Error 404, parse error, internal server error, memory issue, white screen of death, etc. In this post, we are gonna discuss major WordPress issues with your WordPress.

Ten Common WordPress Issues

● WordPress White Screen of Death
● Memory limit exceeds
● Connection timeout and connection establish error
● Internal server error
● WordPress Error 404
● Process stocks during the maintenance
● Issue while uploading an image on WordPress
● Redirect loop in WordPress
● WordPress Admin Login error
● 403 forbidden error

Now the question comes to mind, how to fix such a bundle of errors. Here is a list of a few tasks you can perform to overcome these complexities.

Important:
Before starting error fixing work, just create a backup of your website. Yes! It is a necessary step every WordPress developer should follow before working on error fixes. Backup is made to fight the situation unconditionally while trying several fixes, the original data or some previous files may be lost. In such a case, you can restart your previous website from the backup. You have backup options from plenty of plugins. Truly that's too easy. If you are an experienced developer, you can also select the manual backup option for WordPress.

Once the backup is done, follow a simple iteration while fixing any of the following error:

● First, find the symptom of error whether it is an error message, a specific code, unexpected screen, or a failed issue.
● Try to identify the reason why that particular error occurs. For example, WordPress Error 404 occurs when there is an issue in customization of permalink, or .htaccess file is removed by mistake.
● Once the root cause is found, it takes no time to know the possible way to resolve it, and perform the same.

Handling multiple issues along with WordPress admin login concerns is not hard to process if it is dealt with a preplanned sequence. Hope you find the post useful enough to tackle issues.

Fix the problem related to the WordPress Admin Login issues


Having an error while using WordPress is quite common as it happens most of the time and also gets resolved within a few minutes. One such a common problem is the WordPress Admin Login that most of the people reports. If you’re unable to reach the admin dashboard then it could be of any reason. There’s no need to be stressed or panic as this error can be resolved quickly with just a few simple steps.



Some common cause of this issue

There could be many reasons for the occurrence of this problem but some of the most frequently occurring reasons are:

·         If your WordPress password reset is not working properly
·         Sometimes cookies also cause this problem to happen
·         Whenever you get a PHP error message
·         If there is URL related problem

No matter what sort of root cause is there, you need to follow some troubleshooting steps to get it fixed. Here’s a list of some simple solutions that you can follow and resolve this admin login error.

Enable Cookies and then clear the Cache

One of the common reasons for this error is the cookies so it needs to be rectified carefully. In the WordPress login, there’s a need for cookies to function properly. If anyhow they are disabled then there are chances of getting issues in logging in to your WordPress admin dashboard. First of all, make sure to check that cookies are enabled in your web browser. If not, first of all, enable it.

Once the enabling of cookies is done, you’ll have to go to your web browser and then start clearing the cache.

Disable the plugins

One sort of WordPress Admin Login is seeing a PHP error message and getting a blank page while accessing the admin. Any recently installed plugin can cause this error while login into WordPress. The best way of eliminating this error is by deactivating the faulty plugin. If there is a login problem then you can get rid of this by deactivating the plugin. To do this, all that you need to do is to access the WordPress files via FTP.

In WordPress, you will find many errors that can interrupt your work. These errors include WordPress Error 404, server error 500, and many more. The best solution to all these problems is temporarily disabling the plugins.

Resetting the password by editing your database

If you’re facing this problem than in your admin login page, you must try resetting the password. For this, click on the option of ‘lost your password’. On tapping on this, you'll be redirected to a new page where you enter your username and email address to proceed.

In some of the cases, you can modify your login credentials to get back to your WordPress account. For this, you will need to manually modify the database and then change your password. Just access to your PhpMyAdmin in your WebHost and then start resetting it.

What is WordPress error log and way to Setting Up WordPress Error Logs in WP-Config

Working in WordPress is easy, but sometimes it causes unwanted errors that can create a problematic situation. Some of these errors are WordPress error 500, error 404, error 503 services unavailable, and many others. For these errors, the error log is the best way to recognize the errors. In this blog, we will discuss the WordPress error log and how to set up the WordPress error logs in WP-Config.




What is the WordPress error log?

The personalized document that helps in listing all the errors and also listing the ways of correcting them. You can set them in the wp-config file. The wp-config helps monitor the WP settings. It is useful for debugging as well.

Need for wp-config for setting WordPress error log

As we stated earlier, the wp-config file monitors the activities of WordPress. It helps in knowing the ways of connecting to the database of WP. Moreover, it also determines the relevant database table prefixes and helps in providing authentication to your site. Wp-config is responsible for enabling the debugging mode. By doing so, WP error logs get saved. If they are saved, it would be easy to discover WordPress errors. 

Setting up WordPress Error Logs in WP-Config File
Follow these steps to set WP error log
a)     Open the cPanel account.
b)    Then open the file manager.

c)    When you click on the file manager, the following screen opens
   



d)  There you need to click on public_html
e)  After that, you can see the wp-config.php file.

f)     You need to edit that by right-clicking on that file.
g)     There you have to add the line “define(‘WP_DEBUG’, true); and this line should be added before “That’s all, stop editing, Happy blogging.”
 Note:- When your code is false in the wp-config file, you need to change it to true.
a)     It will help in turning on the debug mode.
b)    After that save your changes
c)     Now upload your wp-config.php file again to your site.

Look over Your WordPress Error Logs for review
a)     Open the WordPress website.
b)    Then access those pages which cause the errors and warnings.
c)  Open cPanel->File manager-->public_html file-->wp-content folder. There you find a file named debug.log.

d)     You can either do downloading of this file or you can view, or edit this file.
e)    It will depict all WordPress errors, warnings, etc.


Final Thoughts

This blog is all about the WordPress error log set in the Wp-config file. We hope this blog works for you. If still, you are facing any difficulty, kindly ask us in the comment section.

Troubleshoot the 500 Internal Server Error on Your WordPress Website with Ease


Over the years, WordPress has been in high demand and popularity because of its multiple features. But, sometimes, it shows different errors that are challenging and complicated to fix. One of the most common errors of WordPress is WordPress Error 500 that usually occurs in the root directory of the WordPress files. Apart from this, this error is also caused if there’s an issue on the host’s server. This sort of error can happen with any website that is working on a web server.




There are specific solutions following which users can quickly troubleshoot this problem. Let’s have a look at these solutions concisely:


Check for the Corrupt .htaccess File


If there are corrupted .htaccess file, the encountering error 500 is common. While troubleshooting this error, you must check for the corrupted .htaccess file. How to do this? If you want to check the corrupted file, you must rename the main .htaccess file. Just change it to .htaccess_old or anything like this.


Firstly, you need to login to the website with the use of the file manager app. This will be present in your account’s cPanel dashboard. Once you reach there, you can find .htaccess located in the directory where you can see others.


Check the PHP Memory Limit


If you have exhausted your PHP memory limit, then you will get to see this error on your screen. WordPress and your set the memory limit of PHP memory. You can increase the memory, but still, there will certain limitations on it. You can only exceed the limit as high as the server has placed it. To troubleshoot the error 500, you must increase the PHP memory limit in WordPress and refresh your website. After doing this, check whether your error resolved or not.


Make sure to re-upload the WordPress Core Files


If the increase in the memory limit didn’t troubleshoot the internal server 500 error, try to re-uploading the core files, which are wp-includes folder and wp-admin. The corrupted file issue will get fixed with the help of this troubleshooting step.


While using WordPress, you can get varied errors such as WordPress Admin Login, server error 500, white screen death, and many more. Some consultation from the experts can help in troubleshooting these errors and getting proper solutions.

How to install a WordPress theme?


Making the site look beautiful would be a fundamental strategy to attract consumers to the site or otherwise in no time, you may lose a consumer. To guide you with the installation of themes for Wordpress is the concern. WordPress themes can either be installed from the free directory that offers you thousands of themes. If you aren't satisfied with the themes, then hesitate not to download from the other sites.


If you haven't installed a theme from the directory yet, then hover your cursor to the WordPress theme directory. You don't need to pay a penny as they are free to download and give varied options. You may find plenty of options with the paid themes as well. Once you are here, in the theme search bar, look for the themes if you already know or otherwise browse for all the themes to check if they deliver the features you are looking for.

Installing themes for WordPress

To have the themes on your site, one must install and activate the same on WordPress admin. To do so, follow me here.

  1. Before you start, you must log in to the page of the WordPress admin.
  1. Click on the Appearance tab and tap on the Themes.
  1. Want to add a new theme? Go to Add New. If you aren't sure of the theme, go to Feature filter and describe your criteria and hit on Apply filter. It provides you a list of themes that meets your criteria to select upon. Otherwise, if you already know the name of the theme you want, then search for the same.
  1. Select on any themes and look for a demo by clicking on Preview or directly install it by the Install button once you have the theme clicks on the Activate link.
  1. Now a glance at your site to see how the activated themes look.

Some of the themes might require you to follow additional steps to install them, which would be mentioned on the screen to go through.

WordPress themes download

If you wish to use a theme apart from the ones from the directory, then it calls for downloading themes. Let's see how to download them.

  1. Download the zip file of the theme from the site you are looking for.
  1. In the WordPress admin section, head over to Appearance and go to Themes.
  1. Now here, click on Add new. With this option selected, one can view Upload Theme on the screen. 
  1. After selecting the option now is to choose the file and upload the zip file from the computer.
  1. Click on Install Now. It's successfully installed now. All we have to do is Activate it in the next step.
  1. To activate, go to the Appearance tab from the admin section and open the Themes directory.
  1. Once you are there, look for the theme you installed and Activate it.
  1. Now you are ready to view your website with the theme.

How to Troubleshoot Locked out of WordPress Admin issue?

What would you do if you have been Locked out of WordPress Admin because of unknown reasons? Well, there could numerous possible cause why locked out admin issues hit on the website. Perhaps you have edited the WordPress code recently, there might be a Plugin or theme behind this error, or you have just received this error casually with no signs of cause.

If you know where you have edited recently, then you can start correcting the issue in the right way instantly. Whatever the reasons are, this post gives different solutions that help you to eliminate the problem. The solutions are categorized according to the source of error. Let’s have a glance.

In case, if you have forgotten Your Custom Login URL.

Every WordPress user gets a general security practice, and that is to change the default WordPress, Admin Login URL. Change the default login URL (site.com/wp-admin) to a customized one. This will help you to protect from cyber bots continuously trying to break your login URL and hackers.
However, often you may forget login URL and get the error message such as “This has been disabled” while trying to access the site. Maybe it was in your WordPress history, and cache has been removed, or you had bookmarked that has been deleted as well.

Whatever the cause behind this, in case you are using a plugin such as Perfmatters or any other, then you need to deactivate that plugin for a short time. You can get the Plugin to activate when you restore the default login URL. The disabling of a plugin can sort out the Locked out of WordPress Admin issue.

When Password recovery method fails

Generally, if you are trying to perform WordPress Admin Login to navigate the dashboard and you see “incorrect password” notification. In such cases the easiest way to retrieve the password to click the “Lost your password” option.

But in a few conditions, you might have tried this method but didn’t get any password retrieval mail. It is because your site is having email issues. If this is your problem, you can fix it by resetting the password straight in the line on the database.

Reset your password using phpMyAdmin

Login to your C-Panel with correct credentials and find the phpMyAdmin link beneath the“Databases” segment. If you don’t have the detail of the Cpanel, you can ask from your web host.

Inside the phpMyAdmin, there is a list of databases on the left side. Hit on your WordPress database and open it.
Search your wp_users table and hit “Browse.” (The prefix might not always be wp_. If your prefix is separate then use it accordingly)

Now search your admin user and press Edit.

The phpMyAdmin showcase all the details of the user. To change your password, search the user_pass input area, delete the current value and write your new password( remember to note it down, so that you can keep it in your mind)

Under function, choose MD5 to verify your new password is hashed. Finally, press the button “Go” bottom of the PHPMyAdmin screen

Now you are able to access the WordPress admin dashboard with a new password.

Final thought

There might be some other reasons for Locked out of WordPress Admin issue, but for the present, we have described only two ways of rectifying this error. We anticipate that this guide will help you in that situation when you would actually go through with the related issue.

Solving WP-Admin not Working issue on WordPress

Approximately every WordPress user has encountered WordPress Admin, not working problems on their website. This issue is related to the WP-admin area when users get the error in accessing their website. They are not able to perform a WordPress Admin Login to access the admin dashboard. The WP login can arrive due to a variety of errors, such as internal server error and error establishing database connection error.



If you are aware, then it is mandatory to have a backup of your whole website. Most of the people make changes on their website without having backup and lost everything in the end. Never make such a silly mistake. Always consider having a backup of your website.

Below are the tips that help you in troubleshooting the WP admin, not working issue.

Activate WordPress error log and Debugging tool to the site 
  
Implementing the WordPress Error Log and the Debugging tool won’t help you to fix the error directly. But applying the error log makes you notify about the list of errors and their possible location on the site. The error log as the name suggests maintaining a log that contains different error have come across to your site. However, this code will not be able to detect previous errors that happened to take place on the website. It will show results just after it gets enabled on the website. Now learn how to place an error log in WordPress. Locate the wp-config.php file on the root directory of the website via FTP login. Edit the file and search the line “Happy blogging.”
 Place the below-mentioned codes before this line 

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

Now save the wp-config.php file and update the file with the server. From that time onwards, you will be able to see the error log of the website anytime. 

Install the fresh version of WordPress

The old files of the website bring issues; hence it is a wise decision to upload the fresh copy of the WordPress files. Go to the server account via FTP login and install the default WordPress file. This method will troubleshoot the WP admin and several other files and folders that have damaged. After that, you can successfully access WP-Admin by visiting the WordPress Login URL and submitting the right credentials.

Clear site cookies and cache to fix login problem 

The browser often displays a cached version of the website. Moreover, the cookies saved in the browser can bring error to the login process. Clear cookies and browser cache and then try login after some time. Not to forget to restart your browser PC so that you can easily access WP admin. This could fix the issue for lots of users.

Update your website URL

In a few contexts, the website URL has the issue that brings error in performing Admin login. In such a situation, you can try to update your website URL. You need FTP or CPanel admin login details to perform this task. Search the most important wp-config.php file in the root directory. Edit the wp-config.php file and add two code lines written below


[php]

define( ‘WP_HOME’ , ‘http://demosite.com’ );

define( ‘WP_SITEURL’ , ‘http://demosite.com’ );

[/php]

Replace your website domain in the place “http://demosite.com’ as this is an example only  
Now save changes, and it will surely fix the WP admin not working issue.

How to Enable WordPress Error Log in the Website?


You must be annoyed by the errors coming to your Website. However, every error has a solution. But if you know how error has arrived on the site and why it is occurring, then we can plan troubleshooting steps for it. Have you heard of the WordPress error log? Now we will talk about the error log and learn how to enable it on the Website.


A WordPress Error Log is a saved record of the error faced by a website or blog. The core configuration file in WordPress is wp-config.php. Visit your WordPress file with the help of CPanel admin or FTP credentials. Now find the wp-config.php inside the root folder once you locate the file, not edit it with a text editor. Now find the sentence that contains "Happy blogging.'

Place the following after this sentence.

define ('WP_DEBUG', true );

After placing the above code, we now also need to add another code below the upper system. 

define( 'WP_DEBUG_LOG', true );

Both these codes will maintain an error log as well as act as a debugging tool. Hence, if you ever want to see the errors of the Website, you should inspect the wp-config.php file whenever you need it. Whether it WordPress Parse Error, white screen of death error, internal server error WordPress error 404, or more, you can be able to see such errors stored in the log.

Simple ways to eliminate 403 Forbidden WordPress Error

During accessing a web page, if you get 403 Forbidden WordPress Error, it indicates you are not allowed access to the page. To fix this error, you should know the real reason for the error. Implement all the steps to solve the Forbidden WordPress Error.



What are the main causes of WordPress forbidden error?

Wrong file and folder permissions
Wrong code in .htaccess file

Reconfigure folder and file permissions

The incorrect file and folder permission can cause 403 Forbidden WordPress Error on your WordPress website. Usually, when they are created, they have a default value in permission. The permission allows users to indicate how to read, write, and use the file. Access website folder and file by login to FTP client. Go to the root directory of the server.

Kindly perform a right-click on the file and select the file attribute option. You need to choose the option “Apply to the directory only.” Enter the value 755 in the give box and press ok. Once you complete, then save changes and upload them on the server. Repeat this process and now select “Apply to files only” option and enter 644 in the Value box. Check your website as it will fix the error.

Flush out plugins that create conflict

Generally, third party plugins are responsible for WordPress error 404, 500 Internal Server Error, white screen of death, and similar errors in WordPress website. Just remove all the plugins from the website one after one. Always reload your website after each plugins deletion. By doing this, you can find the responsible plugins that were resulting in the error. It will possibly eliminate forbidden errors from your website.

Create a fresh copy of .htaccess file

Every individual that is aware of some technical knowledge knows the importance of .htaccess file. Locate .htaccess via connecting FTP and CPanel admin login. Rename your .htaccess file with another name. After that, refresh your website and see if the forbidden error has gone. If the error has been disappeared, then create a fresh copy of the .htaccess file and then upload it to the server. Make sure that while doing any changes on your site, you have taken a backup of the website. Sometimes making changes can break your website. So you need to be careful while making any changes to the website.

Numerous Ways to fix Http error 500 WordPress


fix Http error 500 WordPress
 In case your website encounters Http error 500 WordPress -what would be your next step? You obviously search for solutions. If you can fix the 500 WordPress error on your own, then it would be good. But what would happen if you don't know how to tackle such situation. No worries, here are some magnificent solutions. 


Check out the plugins and delete if found corrupted 

Sometimes we have observed that third party plugins are the offender. But you don't know which one is causing the internal server error. In such a case, you should go to the Plugin section through the WordPress admin area or FTP login. Delete all plugins, but make sure to remove them one after one. Refresh and load the website after every Plugin removal process. You will detect the problematic Plugin and then remove it permanently. Check the website after you remove the faulty Plugin and see if the error has gone or not. If the error is still there, then try another step  

Upload default core files 

If WordPress files are damaged and due to that website is getting the error, then you should reinstall the file. It is very easy to re-upload the default files that come with the new installation of WordPress. Upload fresh wp-includes and wp-content in the site root directory. This would absolutely eliminate the error from your site. Before uploadi1ng a new file to the site, make sure to tak1e the backup of old files for security purposes.    

Prepare a new .htaccess file.

Developers are aware of the .htaccess file, and they know that this file used to rewrite URLs or to put redirection command. Sometimes when .htaccess file gets defected, then it causes internal server error 500 so, you need to prepare the new file Trace the .htaccess file in the site root directory and rename it. You can rename it as .htaccess.old. When you have renamed the file, it automatically removes the .htaccess file from the server. Now prepare a new .htaccess file. Navigate to WordPress Admin Dashboard, select the permalink section, and click on the save changes button. Now refresh the file, and you will see that error has gone. If it doesn't then try below method 

Elevate PHP Memory Limit

Normally web host providers increase the PHP memory, but you can also set the limit. Boost your PHP memory by going to the root folder location via FTP login or CPanel login. Find the wp-config.php file and edit the file via text editor. Look for the line "define ('WP-MEMORY-LIMIT,'' 64M. Increase the PHP limit from 64M to 128M or 256M as per your requirement. Save your file and upload it to the root folder.PHP memory also need to be increased when you find WordPress HTTP error when uploading images on your website.

Concluding thoughts  
We expect that these troubleshooting tips help you to eliminate the internal server error 500 from your WordPress. These are authenticated methods recommended by many WordPress experts. However, in case you are not able to perform these steps, you can get the assistance of WordPress developers or engineers.  

How to Setup Firewall configuration for QuickBooks Point of Sale 2022?

  A firewall is a piece of network security hardware or security software that was created specifically to prevent unwanted access based on ...