From 37270e8e652a5fbaa53f985349fd19fd025774b3 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 13 Dec 2023 19:23:24 +0800 Subject: [PATCH] eee --- function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.php b/function.php index da2b9202..748675a9 100644 --- a/function.php +++ b/function.php @@ -942,7 +942,7 @@ if (!function_exists('throwable')) { $line = $throwable->getLine(); $trance = $throwable->getTrace(); - $current = array_pop($trance); + $current = array_shift($trance); $message .= ' Trance: ' . $current['file'] . ' -> ' . (isset($current['class']) ? $current['class'] . '::' : '') . ($current['function'] ?? 'Closure') . ' line ' . $line . PHP_EOL; foreach ($trance as $value) {