Setting errors to E_ALL when front debug is on.
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 12 Apr 2018 13:42:35 +0000 (09:42 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 12 Apr 2018 13:42:35 +0000 (09:42 -0400)
controllers/front.php

index 92a37a3..3969d74 100644 (file)
@@ -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);