From 31ea9bf7879d3acad35f5f730ee7c1d5ca324ff6 Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Tue, 23 Nov 2021 16:30:30 -0600 Subject: [PATCH] CI: Try to fix intermittent failures on `e_parse::toImage()` Perhaps the first argument to `debug_backtrace()` should be `0` instead of the default? --- e107_handlers/e_parse_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index c6ddcbe99..d1727275c 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -4333,7 +4333,7 @@ class e_parse else { $log = e107::getLog(); - $log->addDebug('Broken Image Path: ' . $legacyPath . "\n" . print_r(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2), true), false)->save('IMALAN_00'); + $log->addDebug('Broken Image Path: ' . $legacyPath . "\n" . print_r(debug_backtrace(0, 2), true), false)->save('IMALAN_00'); e107::getDebug()->log('Broken Image Path: ' . $legacyPath); }