Closed akagane99 closed 5 months ago
通常運用では影響ないかと思います。 パスワード付ページを表示した後、URLの末尾ページIDを手で消して開くと、500エラーになります。
URL例) http://localhost/password/input
OS: windows11 ブラウザ: 新Edge Connect-CMS: 2024/6/5 git pull php version: 7.3.x
[2024-06-05 10:53:20] production.ERROR: Too few arguments to function App\Http\Controllers\Core\PasswordController::invoke(), 2 passed in C:\projects\connect-cms\connect-cms\htdocs\connect-cms\vendor\laravel\framework\src\Illuminate\Routing\Controller.php on line 54 and exactly 3 expected {"userId":1,"exception":"[object] (ArgumentCountError(code: 0): Too few arguments to function App\\Http\\Controllers\\Core\\PasswordController::invoke(), 2 passed in C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php on line 54 and exactly 3 expected at C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\app\\Http\\Controllers\\Core\\PasswordController.php:39) [stacktrace] #0 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\Core\\PasswordController->invoke(Object(Illuminate\\Http\\Request), 'input') #1 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('invoke', Array) #2 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Core\\PasswordController), 'invoke') #3 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #4 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #5 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #6 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\app\\Http\\Middleware\\ConnectPage.php(170): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #7 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): App\\Http\\Middleware\\ConnectPage->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #8 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\app\\Http\\Middleware\\ConnectLog.php(262): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #9 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): App\\Http\\Middleware\\ConnectLog->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #10 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\app\\Http\\Middleware\\ConnectInit.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #11 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): App\\Http\\Middleware\\ConnectInit->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #12 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #13 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #14 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #15 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #16 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #20 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #27 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #28 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #29 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #30 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #31 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #32 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\barryvdh\\laravel-debugbar\\src\\Middleware\\InjectDebugbar.php(66): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\app\\Http\\Middleware\\ResponseHeader.php(20): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): App\\Http\\Middleware\\ResponseHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\fideloper\\proxy\\src\\TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #50 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #51 C:\\projects\\connect-cms\\connect-cms\\htdocs\\connect-cms\\public\\index.php(59): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #52 {main} "}
対応済み
概要
通常運用では影響ないかと思います。 パスワード付ページを表示した後、URLの末尾ページIDを手で消して開くと、500エラーになります。
URL例) http://localhost/password/input
実行環境
OS: windows11 ブラウザ: 新Edge Connect-CMS: 2024/6/5 git pull php version: 7.3.x
エラー