Do you want to enable debug mode on your WordPress site?
You may encounter various wordpress plugin development services errors when working with WordPress themes, plugins, or custom code. wordpress plugin development services Using the WordPress debug mode, you can easily fix the problem.
In this article, we will show you how to easily enable WordPress to debug mode to fix site errors.
Why Promote WordPress Debug Mode?
Now, you can disable and uninstall multiple plugins to see which one is causing the error. custom wordpress website development services, In addition, you can also switch to a different WordPress theme or remove the custom code to find the cause of the error.
However, all this takes a lot of time. You have to remove each plugin individually, change various themes, and modify custom code.
An easier way to fix website errors is by enabling WordPress to debug mode. wordpress plugin development services It shows a log of all errors and warnings on your website. This way, you can identify problems on your WordPress site and fix them quickly. It even reveals errors that may not be visible.
That said, let’s take a look at how to enable WordPress to debug mode. We will show you 2 ways. You can use a WordPress plugin or view the debug mode manually.
Boost WordPress Debug Mode Using Plugins
An easy way to enable debug mode is to use the WP Debugging plugin. This method is recommended for beginners and those who do not like working with website files.
Free WordPress plugin is a WP Debugging, that operates out of the box. By using this plugin, you don’t have to edit your website files manually.
First, you need to install and activate the WP Debugging plugin. wordpress development services For more details, read our guide on how to install WordPress plugins.
After activation, you can go to Tools » WP Debugging from your WordPress dashboard. Next, make sure the ‘Set WP_DEBUG to true’ option is enabled. After that, you will see the ‘Debug Quick View’ option added to the admin bar at the top.
Go ahead, hover over it, and click on the ‘View File’ option. This will open a log file with all errors on your website. wordpress plugin development services You can then find out what is causing the problem on your site and fix it quickly.
Enable WordPress Debug Mode manually
Another method you can use to enable WordPress to debug mode is to edit the wp-config.php file. custom wordpress web design This method is more advanced and suitable for users who like to edit website files.
We recommend backing up your website before editing files. This way, you can easily restore your website if something goes wrong.
To access website files, you need a file transfer protocol (FTP) client for Mac or Windows.
For this tutorial, we will use the FileZilla FTP service. If you need help, you can see our guide on what FTP is and how to use it.
Once you’re logged in, go to the public_html folder. Here, you will find the ‘wp-config.php’ file. wordpress service provider Alternatively, many WordPress hosting services also allow you to manage your site files using cPanel.
For example, on Bluehost, you can visit the ‘Advanced’ tab and then go to File Manager. From here, just access the public_html folder from the panel on the left.
After that, scroll down to the ‘wp-config.php’ file. Next, you can right-click the file and download it to your computer. wordpress plugin development services it’s smart to make a copy of the file as a backup, just in case something goes wrong.
After that, open the file using software or a tool like a Notepad or Sublime Text. Next, you need to upload the wp-config.php file back to your website server using an FTP client.
To view your website error log, you need to view your website file and navigate to the path public_html/wp-content/debug.log. Just download the file and view it in notepad software to see the problem on your site. Once you have finished debugging your site, you can turn off debug mode.
To do that, repeat these steps and remove the code added to the wp-config.php file or edit the code below to have a false value: define(‘WP_DEBUG’, false);
We hope you enjoy this blog. wordpress plugin development services These are all about how to Boost WordPress Debug Mode to fix the site errors in wordpress bussiness sites. If you looking for web application development services and want to boost your sites then contact 8therate.