Skip to content

Instantly share code, notes, and snippets.

@UeldoTheme
Created April 23, 2018 18:37
Show Gist options
  • Save UeldoTheme/638a1b1bf606fd9bdf856c96852caa29 to your computer and use it in GitHub Desktop.
Save UeldoTheme/638a1b1bf606fd9bdf856c96852caa29 to your computer and use it in GitHub Desktop.
Add this code to your "wp-config.php" WordPress file to disable PHP error reporting.
// turn debugging off
define( 'WP_DEBUG', false );
// turn off the display of error messages on your site
define( 'WP_DEBUG_DISPLAY', false );
// hide errors from being displayed on-screen
@ini_set( 'display_errors', 0 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment