Undefined array key 1
at D:\App-PHP\xampp_php_8\htdocs\test-project\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:289
285▕ protected function getDateFromLine($line)
286▕ {
287▕ preg_match('/^\[([^\]]+)\]/', $line, $matches);
288▕
➜ 289▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]);
290▕ }
291▕
292▕ /**
293▕ * Get the request port from the given PHP server output.
1 D:\App-PHP\xampp_php_8\htdocs\test-project\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:289
Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap\{closure}("Undefined array key 1", "D:\App-PHP\xampp_php_8\htdocs\test-project\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php")
2 D:\App-PHP\xampp_php_8\htdocs\test-project\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:239
Illuminate\Foundation\Console\ServeCommand::getDateFromLine("27.0.0.1:65342 Accepted")
D:\App-PHP\xampp_php_8\htdocs\test-project>
i m running laravel 9 locally alongside xampp-windows-x64-8.1.6-0-VS16-installer, using php artisan serve, and then it works normal. But when i m running on windows server alongside xampp as same as my local with same laravel app, the first reload runs normal, but the second reload it show error Undefined array key 1 on the cmd console, and the app stop working. I never face this kind of error on my previous laravel app running on windows server, btw my prev app running is version 8, this my first laravel 9 app, on windows server. thx before