From 020d309dc37e9400d27ef3cad381e6f1b04f67fd Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 8 Jun 2017 11:31:28 +0200 Subject: [PATCH] 0003876: Notice: Trying to get property of non-object in C:\Apache24\htdocs\frontaccounting\includes\errors.inc on line 74 --- includes/errors.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/errors.inc b/includes/errors.inc index 2a1aedd9..c5414d60 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -71,7 +71,7 @@ function error_handler($errno, $errstr, $file, $line) { } } - $bt = $SysPrefs->go_debug>1 ? get_backtrace(true, 1) : array(); + $bt = isset($SysPrefs) && $SysPrefs->go_debug>1 ? get_backtrace(true, 1) : array(); // error_reporting==0 when messages are set off with @ if ($errno & error_reporting()) { -- 2.30.2