ErrorException: Undefined array key "hotel" in file /var/www/vhosts/ersholidays.com/admin.ersholidays.com/app/Http/Controllers/HotelWebsiteController.php on line 342 #0 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/app/Http/Controllers/HotelWebsiteController.php(342): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() #1 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\HotelWebsiteController->getRooms() #2 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction() #3 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher->dispatch() #4 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController() #5 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\Routing\Route->run() #6 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}() #7 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/app/Http/Middleware/Cors.php(31): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #8 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Cors->handle() #9 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/app/Http/Middleware/SubscriptionCheck.php(31): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #10 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SubscriptionCheck->handle() #11 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #12 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle() #13 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #14 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle() #15 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #16 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle() #17 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #18 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest() #19 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle() #20 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #21 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() #22 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #23 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle() #24 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #25 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\Pipeline\Pipeline->then() #26 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\Routing\Router->runRouteWithinStack() #27 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\Routing\Router->runRoute() #28 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\Routing\Router->dispatchToRoute() #29 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\Routing\Router->dispatch() #30 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() #31 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #32 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #33 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() #34 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #35 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #36 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle() #37 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #38 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() #39 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #40 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() #41 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #42 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors->handle() #43 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #44 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle() #45 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #46 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then() #47 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() #48 /var/www/vhosts/ersholidays.com/admin.ersholidays.com/public/index.php(18): Illuminate\Foundation\Http\Kernel->handle() #49 {main}