From aaf4636326cababe916eed1bbdcf9aa9e4c4dd7b Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 12 Apr 2018 09:42:35 -0400 Subject: [PATCH] Setting errors to E_ALL when front debug is on. --- controllers/front.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.17.1