From 059239be7037aadb0a5fe02d7e3835cae9c18aea Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 27 Feb 2022 23:45:08 -0500 Subject: [PATCH] Drop argument formatting in ISSO::format_debug_trace(). It is causing problems. --- framework/kernel.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/framework/kernel.php b/framework/kernel.php index c4d7c2f..3d51a4b 100644 --- a/framework/kernel.php +++ b/framework/kernel.php @@ -627,24 +627,9 @@ class ISSO $trace = array(); foreach ($backtrace AS $i => $step) { - $args = ''; $file = $step['file'] . ':' . $step['line']; $funct = (isset($step['class']) ? $step['class'] . '::' . $step['function'] : $step['function']); - - if (isset($step['args']) AND is_array($step['args'])) - { - // we need to do this so we don't get "Array to string conversion" notices - foreach ($step['args'] AS $id => $arg) - { - if (is_array($arg)) - { - $step['args']["$id"] = 'Array'; - } - } - $args = implode(', ', $step['args']); - } - - $trace[] = "#$i $funct($args) called at [$file]"; + $trace[] = "#$i $funct() $file"; } return $trace; -- 2.22.5