• Techblog369, India
  • December 1, 2022

Create a simple password strength indicator with JavaScript

You’ve probably seen many examples of password strength indicators around the web. They let users know the password they’re using is weak and indicate how the strength changes when it’s modified. …

How to create PHP QR code and Save it to Database?

Hi In this Article I am going to show how to create QR code and save it to database also fetch QR Code in a Table Create a Page addqrcode.php in …

Disable PHP Errors

PHP warnings and notices help builders debug troubles with their code. but it seems extremely unprofessional while they may be seen to all of your website visitors. In this articlewe are able to show you how to without difficulty flip off PHP mistakes in WordPress.


Why Should Turn off PHP Errors in WordPress?

occasionally the WordPress errors log file will create huge headache for a few users since it creates huge file in a few instancesit’s going to once in a while have an effect on the hosting too when you have most effective less area for your server. in order to avoid logging of blunders


Turning off PHP Errors in WordPress


For this part, you will need to edit the wp-config.php file.

Go to public_html directory and find wp-config.php file.

define('WP_DEBUG', true);

It is also possible, that this line is already set to false. In that case, you’ll see the following code:

define('WP_DEBUG', false);



In either case, you need to replace this line with the following code:

ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);


Save the changes.

Turning on PHP Errors in WordPress

If you are working on a local server or staging area, then you should turn on error reporting.

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

This code will allow WordPress to start displaying PHP errors, warnings, and notices again.

Thanks for reading….






Leave a Reply

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