ArgumentCountError: Too few arguments to function App\Http\Controllers\MenuDetailController::index(), 0 passed in /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Controller.php on line 54 and exactly 1 expected in file /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/app/Http/Controllers/MenuDetailController.php on line 23 #0 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\MenuDetailController->index() #1 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction() #2 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Route.php(254): Illuminate\Routing\ControllerDispatcher->dispatch() #3 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Route.php(197): Illuminate\Routing\Route->runController() #4 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Router.php(693): Illuminate\Routing\Route->run() #5 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}() #6 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #7 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle() #8 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #9 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle() #10 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #11 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle() #12 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #13 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\Session\Middleware\StartSession->handleStatefulRequest() #14 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle() #15 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #16 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() #17 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #18 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle() #19 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #20 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\Pipeline\Pipeline->then() #21 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Router.php(670): Illuminate\Routing\Router->runRouteWithinStack() #22 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\Routing\Router->runRoute() #23 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\Routing\Router->dispatchToRoute() #24 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\Routing\Router->dispatch() #25 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() #26 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #27 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #28 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #29 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #30 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #31 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() #32 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #33 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() #34 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/fruitcake/laravel-cors/src/HandleCors.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #35 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors->handle() #36 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #37 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle() #38 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #39 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\Pipeline\Pipeline->then() #40 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() #41 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle() #42 /var/www/vhosts/sealect.co.th/SEALECTXAFTERYUM.sealect.co.th/server.php(21): require_once('/var/www/vhosts...') #43 {main}