Undefined variable $homePageData
Illuminate\Foundation\Bootstrap\HandleExceptions->{closure:Illuminate\Foundation\Bootstrap\HandleExceptions::forwardsTo():261}()165 <header-section 166 :general_page="{{json_encode($generalPage,true)}}"167 ></header-section>168 169 <!-- <listing-search-banner-section170 :home_data="{{json_encode($homePageData,true)}}"171 :categories="{{json_encode($categories,true)}}"172 :more_categories="{{json_encode($more_categories,true)}}"173 ></listing-search-banner-section> -->174 <new-search-banner-section>175 </new-search-banner-section>176 {{-- <slider-recommended-section :shops="{{json_encode($shop,true)}}">177 </slider-recommended-section> --}}178 <sticky-header-section179 :shops="{{json_encode($shops,true)}}"180 :general_page="{{json_encode($generalPage,true)}}"181 :home_data="{{json_encode($homePage,true)}}"182require(string)Illuminate\Filesystem\Filesystem::{closure:Illuminate\Filesystem\Filesystem::getRequire():120}()Illuminate\Filesystem\Filesystem->getRequire()Illuminate\View\Engines\PhpEngine->evaluatePath()Illuminate\View\Engines\CompilerEngine->get()Illuminate\View\View->getContents()Illuminate\View\View->renderContents()Illuminate\View\View->render()Illuminate\Http\Response->setContent()Illuminate\Http\Response->__construct()Illuminate\Routing\Router::toResponse()Illuminate\Routing\Router->prepareResponse()Illuminate\Routing\Router->{closure:Illuminate\Routing\Router::runRouteWithinStack():821}()Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}()13 * @param \Closure $next14 * @return mixed15 */16 public function handle($request, Closure $next)17 {18 $response = $next($request);1920 // Do not rewrite headers on PDF downloads — corrupted Cache-Control21 // values can make Chrome's PDF viewer show a blank page.22 if ($request->is('download_recipt_file/*', 'print_recipt_file/*', 'call-center/reports/pdf')) {23 return $response;24 }2526 $contentType = (string) $response->headers->get('Content-Type');27 if (stripos($contentType, 'pdf') !== false) {28 return $response;29 }30App\Http\Middleware\PreventBackHistory->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()44 $this->session->forget('lastActivityTime');45 $this->session->forget(['admin_authenticated', 'admin_user_id']);46 auth()->logout();47 }48 $isLoggedIn ? $this->session->put('lastActivityTime', time()) : $this->session->forget('lastActivityTime');49 return $next($request);50 }51}52App\Http\Middleware\SessionExpired->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()90 ]);9192 DB::purge('mysql');93 $this->forgetPermissionCache();9495 return $next($request);96 }9798 /**99 * Detect the country URL prefix from index.php or the raw request path.100 */101 protected function detectUrlPrefix(Request $request): string102 {103 $fromServer = $_SERVER['RESERVIM_REGION_PREFIX'] ?? null;104 if (is_string($fromServer) && $fromServer !== '') {105 return trim($fromServer, '/');106 }107App\Http\Middleware\SetDatabaseConnection->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Routing\Middleware\SubstituteBindings->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\View\Middleware\ShareErrorsFromSession->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Session\Middleware\StartSession->handleStatefulRequest()Illuminate\Session\Middleware\StartSession->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Cookie\Middleware\EncryptCookies->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Pipeline\Pipeline->then()Illuminate\Routing\Router->runRouteWithinStack()Illuminate\Routing\Router->runRoute()Illuminate\Routing\Router->dispatchToRoute()Illuminate\Routing\Router->dispatch()Illuminate\Foundation\Http\Kernel->{closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197}()Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}()Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()Illuminate\Foundation\Http\Middleware\TrimStrings->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\ValidatePostSize->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\HandleCors->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Http\Middleware\TrustProxies->handle()Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()Illuminate\Pipeline\Pipeline->then()Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()Illuminate\Foundation\Http\Kernel->handle()Illuminate\Foundation\Application->handleRequest()119 $_SERVER['RESERVIM_REGION_PREFIX'] = '';120 $_SERVER['RESERVIM_ORIGINAL_PATH'] = $requestPath;121}122123(require_once __DIR__.'/../bootstrap/app.php')124 ->handleRequest(Request::capture());125select * from `default_categories` where `slug` = 'day-spa' limit 1select `average_price_range` from `shop_services` where `category_id` = 8 and `price` > 0 limit 1select `id`, `name`, `slug` from `cities` where `name` = 'lahore' limit 1select `id`, `name`, `slug` from `areas` where `slug` = 'township' limit 1select * from `default_categories` where `id` = 8 limit 1select * from `roles` where `name` = 'shop' and `guard_name` = 'web' limit 1select count(*) as aggregate from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\Models\User' and `roles`.`id` in (4)) and (`status` = 1 or `g_import` = 1) and (`flag_status` = 0 and `main_category_id` = 8 and `city` = 1 and `area` = 59) and `users`.`deleted_at` is nullselect `id`, `owner_id`, `salon_name`, `shop_logo`, `slug`, `main_category_id`, `opening_closing_hours`, `complete_address`, `city`, `status`, `feature_status`, (select count(*) from `reviews` where `users`.`id` = `reviews`.`shop_id`) as `review_count`, (select avg(`reviews`.`rating`) from `reviews` where `users`.`id` = `reviews`.`shop_id`) as `review_avg_rating` from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\Models\User' and `roles`.`id` in (4)) and (`status` = 1 or `g_import` = 1) and (`flag_status` = 0 and `main_category_id` = 8 and `city` = 1 and `area` = 59) and `users`.`deleted_at` is null order by status DESC, feature_status DESC,review_avg_rating DESC limit 10 offset 0select `id`, `name`, `slug` from `default_categories` where `default_categories`.`id` in (8)select * from `cities` where `cities`.`id` in ('1')select * from (select *, row_number() over (partition by `shop_services`.`shop_id`) as `laravel_row` from `shop_services` where `price` != 0 and `shop_services`.`shop_id` in (2827)) as `laravel_table` where `laravel_row` <= 3 order by `laravel_row`select * from `default_services` where `default_services`.`id` in (75, 76, 77)select * from (select *, row_number() over (partition by `shop_services`.`shop_id`) as `laravel_row` from `shop_services` where `price` != 0 and `shop_services`.`shop_id` in (2879)) as `laravel_table` where `laravel_row` <= 3 order by `laravel_row`select * from `default_services` where `default_services`.`id` in (75, 76, 77)select * from `roles` where `name` = 'shop' and `guard_name` = 'web' limit 1select * from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\Models\User' and `roles`.`id` in (4)) and `id` = 2827 and (`status` = 1 or `g_import` = 1) and `users`.`deleted_at` is null limit 1select * from `default_categories` where `default_categories`.`id` in (8)select * from `reviews` where `reviews`.`shop_id` in (2827)select * from `reviews` where `reviews`.`shop_id` in (2827)select `service_id` from `shop_services` where `shop_id` = 2827select `name` from `default_services` where `id` in (75, 76, 77, 4, 14, 182)select * from `roles` where `name` = 'staff' and `guard_name` = 'web' limit 1select `name` from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\Models\User' and `roles`.`id` in (2)) and `owner_id` = 2827 and `id` != 2827 and `users`.`deleted_at` is nullselect * from `roles` where `name` = 'shop' and `guard_name` = 'web' limit 1select * from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\Models\User' and `roles`.`id` in (4)) and `id` = 2879 and (`status` = 1 or `g_import` = 1) and `users`.`deleted_at` is null limit 1select * from `default_categories` where `default_categories`.`id` in (8)select * from `reviews` where `reviews`.`shop_id` in (2879)select * from `reviews` where `reviews`.`shop_id` in (2879)select `service_id` from `shop_services` where `shop_id` = 2879select `name` from `default_services` where `id` in (75, 76, 77, 4)select * from `roles` where `name` = 'staff' and `guard_name` = 'web' limit 1select `name` from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\Models\User' and `roles`.`id` in (2)) and `owner_id` = 2879 and `id` != 2879 and `users`.`deleted_at` is null{
"cat_name": "day-spa",
"region": "pakistan",
"city": "lahore",
"area": "township"
}