79092370

Date: 2024-10-16 03:33:21
Score: 0.5
Natty:
Report link

lol same get error ErrorException

Undefined array key 1

at vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:368 364▕ $line = str_replace(' ', ' ', $line); 365▕ 366▕ preg_match($regex, $line, $matches); 367▕ ➜ 368▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]); 369▕ } 370▕ 371▕ /** 372▕ * Get the request port from the given PHP server output.

1 vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:368 Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap{closure}("Undefined array key 1", "D:\Intern\discussion-app\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php")

2 vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:297 Illuminate\Foundation\Console\ServeCommand::getDateFromLine("[Wed Oct 16 09:29:44 2024] 127.0.0.1:51714 Accepted")

Whoops\Exception\ErrorException

Undefined array key 0

at vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:320 316▕ microtime(true), 317▕ ]; 318▕ } 319▕ ➜ 320▕ [$startDate, $file, $startMicrotime] = $this->requestsPool[$requestPort]; 321▕ 322▕ $formattedStartedAt = $startDate->format('Y-m-d H:i:s'); 323▕ 324▕ unset($this->requestsPool[$requestPort]);

1 vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:320 Whoops\Run::handleError("Undefined array key 0", "D:\Intern\discussion-app\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php")

2 vendor\laravel\framework\src\Illuminate\Collections\Traits\EnumeratesValues.php:257 Illuminate\Foundation\Console\ServeCommand::Illuminate\Foundation\Console{closure}("[Wed Oct 16 09:29:44 2024] 127.0.0.1:51719 Closing")

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Farig Muhammad Taqy