WP_DEBUG on WordPress MultiSite – not a good idea

Earlier today I thought it would be an idea to define( 'WP_DEBUG', true ); on this website. I have a zero tolerance policy on Notify messages so I would be putting my money where my mouth is. I was a bit concerned though, since it’s part of a WordPress Multisite installation. That means WP_DEBUG would be true for every site in the installation. Sure enough, my fears were well founded…

WP_DEBUG true on WPMS – a recipe for disaster

I’ve done two things to resolve this issue.

  1. Reset WP_DEBUG to false
  2. Deactivated the offending plugin: Membership from WPMUDEV.

Perhaps I should have actually tried using


define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
ini_set( 'display_errors', 0 );
 

Oh bugger! Something else wrong.