From ccabb1d6ef5b3f3f11a104197b8458c29b8afa2e Mon Sep 17 00:00:00 2001 From: cdhassell Date: Sat, 19 Aug 2023 08:49:47 -0400 Subject: [PATCH] Update index.php.txt to remove 5th argument Prevents PHP error: Uncaught ArgumentCountError: Too few arguments to function standaloneErrorHandler() --- setup/res/index.php.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/res/index.php.txt b/setup/res/index.php.txt index 66c7cf885b20..4007d898a363 100644 --- a/setup/res/index.php.txt +++ b/setup/res/index.php.txt @@ -68,8 +68,7 @@ function standaloneErrorHandler( int $errno, string $errstr, ?string $errfile, - ?int $errline, - ?array $errcontext) { + ?int $errline) { static $handlingError = FALSE; if ($handlingError) { throw new \RuntimeException("Died: error was thrown during error handling");