How to disable error logging in WordPress
Started 2 years ago by Raja Ram Nepal in Gurkha.Host, WordPress
How to disable error logging in WordPress
Body
How to disable error logging in WordPress
Introduction
This article describes how to disable error logging in WordPress. This can be used to prevent your users from seeing any errors on your WordPress sites.
ย
Procedure
Add these lines to the site'sย wp-config.phpย file:
ini_set('display_errors', 'Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
Tags: wordpress, disable debugging
-
No one is replied to this thread yet. Be first to reply!