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);