Remove WP_DEBUG from wp-config (and rather use it in local-config.php) and require local-config.php