Skip to content

Commit

Permalink
Update index.php.txt to remove 5th argument
Browse files Browse the repository at this point in the history
Prevents PHP error: Uncaught ArgumentCountError: Too few arguments to function standaloneErrorHandler()
  • Loading branch information
cdhassell authored Aug 19, 2023
1 parent c568d6e commit ccabb1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup/res/index.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ccabb1d

Please sign in to comment.