From: Chuck Scott Date: Thu, 12 Apr 2018 13:42:35 +0000 (-0400) Subject: Setting errors to E_ALL when front debug is on. X-Git-Tag: v2.10.30^2~10 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=aaf4636326cababe916eed1bbdcf9aa9e4c4dd7b;p=WP-Plugins%2Fglm-member-db.git Setting errors to E_ALL when front debug is on. --- diff --git a/controllers/front.php b/controllers/front.php index 92a37a3c..3969d745 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -288,7 +288,10 @@ class glmMembersFront extends GlmPluginSupport // Save current error reporting level and add E_NOTICE $oldErrorLogSetting = error_reporting(); - error_reporting($oldErrorLogSetting | E_NOTICE); + error_reporting(E_ALL); + + ini_set("error_reporting", 1); + // Report current memory trigger_error(glmAssociateMemoryUsage(),E_USER_NOTICE);