4 Món ăn Nên Thử Khi đi Du Lịch Đan Mạch - Babar Travel

Application frames (2) All frames (39) 38 ReflectionException …/vendor/laravel/framework/src/Illuminate/Container/Container.php851 37 ParseError …/app/Services/PostService.php43 36 Composer\Autoload\includeFile …/vendor/composer/ClassLoader.php322 35 Composer\Autoload\ClassLoader loadClass [internal]0 34 spl_autoload_call [internal]0 33 ReflectionParameter getClass …/vendor/laravel/framework/src/Illuminate/Container/Container.php851 32 Illuminate\Container\Container resolveDependencies …/vendor/laravel/framework/src/Illuminate/Container/Container.php818 31 Illuminate\Container\Container build …/vendor/laravel/framework/src/Illuminate/Container/Container.php667 30 Illuminate\Container\Container resolve …/vendor/laravel/framework/src/Illuminate/Container/Container.php615 29 Illuminate\Container\Container make …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php757 28 Illuminate\Foundation\Application make …/vendor/laravel/framework/src/Illuminate/Routing/Route.php233 27 Illuminate\Routing\Route getController …/vendor/laravel/framework/src/Illuminate/Routing/Route.php833 26 Illuminate\Routing\Route controllerMiddleware …/vendor/laravel/framework/src/Illuminate/Routing/Route.php794 25 Illuminate\Routing\Route gatherMiddleware …/vendor/laravel/framework/src/Illuminate/Routing/Router.php693 24 Illuminate\Routing\Router gatherRouteMiddleware …/vendor/laravel/framework/src/Illuminate/Routing/Router.php673 23 Illuminate\Routing\Router runRouteWithinStack …/vendor/laravel/framework/src/Illuminate/Routing/Router.php657 22 Illuminate\Routing\Router runRoute …/vendor/laravel/framework/src/Illuminate/Routing/Router.php623 21 Illuminate\Routing\Router dispatchToRoute …/vendor/laravel/framework/src/Illuminate/Routing/Router.php612 20 Illuminate\Routing\Router dispatch …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php176 19 Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php30 18 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/fideloper/proxy/src/TrustProxies.php57 17 Fideloper\Proxy\TrustProxies handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 16 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 15 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21 14 Illuminate\Foundation\Http\Middleware\TransformsRequest handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 13 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 12 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21 11 Illuminate\Foundation\Http\Middleware\TransformsRequest handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 10 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 9 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27 8 Illuminate\Foundation\Http\Middleware\ValidatePostSize handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 7 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 6 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php62 5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 4 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 3 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php104 2 Illuminate\Pipeline\Pipeline then …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php151 1 Illuminate\Foundation\Http\Kernel sendRequestThroughRouter …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116 0 Illuminate\Foundation\Http\Kernel handle …/public/index.php54 /home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php * @throws \Illuminate\Contracts\Container\BindingResolutionException */ protected function resolveDependencies(array $dependencies) { $results = []; foreach ($dependencies as $dependency) { // If this dependency has a override for this particular build we will use // that instead as the value. Otherwise, we will continue with this run // of resolutions and let reflection attempt to determine the result. if ($this->hasParameterOverride($dependency)) { $results[] = $this->getParameterOverride($dependency); continue; } // If the class is null, it means the dependency is a string or some other // primitive type which we can not resolve since it is not a class and // we will just bomb out with an error since we have no-where to go. $results[] = is_null($dependency->getClass()) ? $this->resolvePrimitive($dependency) : $this->resolveClass($dependency); } return $results; } /** * Determine if the given dependency has a parameter override. * * @param \ReflectionParameter $dependency * @return bool */ protected function hasParameterOverride($dependency) { return array_key_exists( $dependency->name, $this->getLastParameterOverride() ); } Arguments
  1. "Class App\Services\PostService does not exist"
/home/babartravel.com/public_html/app/Services/PostService.php public function getBlogs($perPage) { return Post::latest()->paginate($perPage); } public function getPost($id) { return Post::findOrFail($id); } public function getPostBySlug($slug,$id) { return Post::select('slug')->where('slug','=',$slug)->where('id','!=',$id)->count(); } public function getPostByAlias($slug) { return Post::where('slug','=',$slug)->first(); } public function getProductRelate($did) { // dd($did); $data_id = [10000]; if(isset($did){ foreach ($did as $item) { if(isset($item->id)) { $data_id[] = $item->id; } } } return Product::where('status','=',1)->whereIn('id',$data_id)->take(12)->get(); } public function deletePost($id) { $post = $this->getPost($id); return $post->delete(); } public function storePost($time,$data) { $img = $time.'-post.' . explode('/', explode(':', substr($data['img'], 0, strpos($data['img'], ';')))[1])[1]; Arguments
  1. "syntax error, unexpected '{'"
Exception message: syntax error, unexpected '{' /home/babartravel.com/public_html/vendor/composer/ClassLoader.php } /** * Unregisters this instance as an autoloader. */ public function unregister() { spl_autoload_unregister(array($this, 'loadClass')); } /** * Loads the given class or interface. * * @param string $class The name of the class * @return bool|null True if loaded, null otherwise */ public function loadClass($class) { if ($file = $this->findFile($class)) { includeFile($file); return true; } } /** * Finds the path to the file where the class is defined. * * @param string $class The name of the class * * @return string|false The path if found, false otherwise */ public function findFile($class) { // class map lookup if (isset($this->classMap[$class])) { return $this->classMap[$class]; } if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { return false; Arguments
  1. "/home/babartravel.com/public_html/vendor/composer/../../app/Services/PostService.php"
[internal] Arguments
  1. "App\Services\PostService"
[internal] Arguments
  1. "App\Services\PostService"
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php * @throws \Illuminate\Contracts\Container\BindingResolutionException */ protected function resolveDependencies(array $dependencies) { $results = []; foreach ($dependencies as $dependency) { // If this dependency has a override for this particular build we will use // that instead as the value. Otherwise, we will continue with this run // of resolutions and let reflection attempt to determine the result. if ($this->hasParameterOverride($dependency)) { $results[] = $this->getParameterOverride($dependency); continue; } // If the class is null, it means the dependency is a string or some other // primitive type which we can not resolve since it is not a class and // we will just bomb out with an error since we have no-where to go. $results[] = is_null($dependency->getClass()) ? $this->resolvePrimitive($dependency) : $this->resolveClass($dependency); } return $results; } /** * Determine if the given dependency has a parameter override. * * @param \ReflectionParameter $dependency * @return bool */ protected function hasParameterOverride($dependency) { return array_key_exists( $dependency->name, $this->getLastParameterOverride() ); } /home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php $this->buildStack[] = $concrete; $constructor = $reflector->getConstructor(); // If there are no constructors, that means there are no dependencies then // we can just resolve the instances of the objects right away, without // resolving any other types or dependencies out of these containers. if (is_null($constructor)) { array_pop($this->buildStack); return new $concrete; } $dependencies = $constructor->getParameters(); // Once we have all the constructor's parameters we can create each of the // dependency instances and then use the reflection instances to make a // new instance of this class, injecting the created dependencies in. $instances = $this->resolveDependencies( $dependencies ); array_pop($this->buildStack); return $reflector->newInstanceArgs($instances); } /** * Resolve all of the dependencies from the ReflectionParameters. * * @param array $dependencies * @return array * * @throws \Illuminate\Contracts\Container\BindingResolutionException */ protected function resolveDependencies(array $dependencies) { $results = []; foreach ($dependencies as $dependency) { Arguments
  1. array:1 [ 0 => ReflectionParameter {#360 +name: "postService" position: 0 typeHint: "App\Services\PostService" } ]
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php $needsContextualBuild = ! empty($parameters) || ! is_null( $this->getContextualConcrete($abstract) ); // If an instance of the type is currently being managed as a singleton we'll // just return an existing instance instead of instantiating new instances // so the developer can keep using the same objects instance every time. if (isset($this->instances[$abstract]) && ! $needsContextualBuild) { return $this->instances[$abstract]; } $this->with[] = $parameters; $concrete = $this->getConcrete($abstract); // We're ready to instantiate an instance of the concrete type registered for // the binding. This will instantiate the types, as well as resolve any of // its "nested" dependencies recursively until all have gotten resolved. if ($this->isBuildable($concrete, $abstract)) { $object = $this->build($concrete); } else { $object = $this->make($concrete); } // If we defined any extenders for this type, we'll need to spin through them // and apply them to the object being built. This allows for the extension // of services, such as changing configuration or decorating the object. foreach ($this->getExtenders($abstract) as $extender) { $object = $extender($object, $this); } // If the requested type is registered as a singleton we'll want to cache off // the instances in "memory" so we can return it later without creating an // entirely new instance of an object on each subsequent request for it. if ($this->isShared($abstract) && ! $needsContextualBuild) { $this->instances[$abstract] = $object; } if ($raiseEvents) { $this->fireResolvingCallbacks($abstract, $object); Arguments
  1. "App\Http\Controllers\FrontEnd\PostController"
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php * @param array $parameters * @return mixed */ public function makeWith($abstract, array $parameters = []) { return $this->make($abstract, $parameters); } /** * Resolve the given type from the container. * * @param string $abstract * @param array $parameters * @return mixed * * @throws \Illuminate\Contracts\Container\BindingResolutionException */ public function make($abstract, array $parameters = []) { return $this->resolve($abstract, $parameters); } /** * {@inheritdoc} */ public function get($id) { try { return $this->resolve($id); } catch (Exception $e) { if ($this->has($id)) { throw $e; } throw new EntryNotFoundException; } } /** * Resolve the given type from the container. Arguments
  1. "App\Http\Controllers\FrontEnd\PostController"
  2. []
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php } /** * Resolve the given type from the container. * * (Overriding Container::make) * * @param string $abstract * @param array $parameters * @return mixed */ public function make($abstract, array $parameters = []) { $abstract = $this->getAlias($abstract); if (isset($this->deferredServices[$abstract]) && ! isset($this->instances[$abstract])) { $this->loadDeferredProvider($abstract); } return parent::make($abstract, $parameters); } /** * Determine if the given abstract type has been bound. * * (Overriding Container::bound) * * @param string $abstract * @return bool */ public function bound($abstract) { return isset($this->deferredServices[$abstract]) || parent::bound($abstract); } /** * Determine if the application has booted. * * @return bool */ Arguments
  1. "App\Http\Controllers\FrontEnd\PostController"
  2. []
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException */ protected function runController() { return $this->controllerDispatcher()->dispatch( $this, $this->getController(), $this->getControllerMethod() ); } /** * Get the controller instance for the route. * * @return mixed */ public function getController() { if (! $this->controller) { $class = $this->parseControllerCallback()[0]; $this->controller = $this->container->make(ltrim($class, '\\')); } return $this->controller; } /** * Get the controller method used for the route. * * @return string */ protected function getControllerMethod() { return $this->parseControllerCallback()[1]; } /** * Parse the controller. * * @return array */ Arguments
  1. "App\Http\Controllers\FrontEnd\PostController"
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php $this->action['middleware'] = array_merge( (array) ($this->action['middleware'] ?? []), $middleware ); return $this; } /** * Get the middleware for the route's controller. * * @return array */ public function controllerMiddleware() { if (! $this->isControllerAction()) { return []; } return $this->controllerDispatcher()->getMiddleware( $this->getController(), $this->getControllerMethod() ); } /** * Get the dispatcher for the route's controller. * * @return \Illuminate\Routing\Contracts\ControllerDispatcher */ public function controllerDispatcher() { if ($this->container->bound(ControllerDispatcherContract::class)) { return $this->container->make(ControllerDispatcherContract::class); } return new ControllerDispatcher($this->container); } /** * Get the route validators for the instance. * /home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php $this->action = $action; return $this; } /** * Get all middleware, including the ones from the controller. * * @return array */ public function gatherMiddleware() { if (! is_null($this->computedMiddleware)) { return $this->computedMiddleware; } $this->computedMiddleware = []; return $this->computedMiddleware = array_unique(array_merge( $this->middleware(), $this->controllerMiddleware() ), SORT_REGULAR); } /** * Get or set the middlewares attached to the route. * * @param array|string|null $middleware * @return $this|array */ public function middleware($middleware = null) { if (is_null($middleware)) { return (array) ($this->action['middleware'] ?? []); } if (is_string($middleware)) { $middleware = func_get_args(); } $this->action['middleware'] = array_merge( /home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(function ($request) use ($route) { return $this->prepareResponse( $request, $route->run() ); }); } /** * Gather the middleware for the given route with resolved class names. * * @param \Illuminate\Routing\Route $route * @return array */ public function gatherRouteMiddleware(Route $route) { $middleware = collect($route->gatherMiddleware())->map(function ($name) { return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups); })->flatten(); return $this->sortMiddleware($middleware); } /** * Sort the given middleware by priority. * * @param \Illuminate\Support\Collection $middlewares * @return array */ protected function sortMiddleware(Collection $middlewares) { return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all(); } /** * Create a response instance from the given value. * /home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php $this->events->dispatch(new Events\RouteMatched($route, $request)); return $this->prepareResponse($request, $this->runRouteWithinStack($route, $request) ); } /** * Run the given route within a Stack "onion" instance. * * @param \Illuminate\Routing\Route $route * @param \Illuminate\Http\Request $request * @return mixed */ protected function runRouteWithinStack(Route $route, Request $request) { $shouldSkipMiddleware = $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === true; $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(function ($request) use ($route) { return $this->prepareResponse( $request, $route->run() ); }); } /** * Gather the middleware for the given route with resolved class names. * * @param \Illuminate\Routing\Route $route * @return array */ public function gatherRouteMiddleware(Route $route) { $middleware = collect($route->gatherMiddleware())->map(function ($name) { Arguments
  1. Route {#254}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php return $route; } /** * Return the response for the given route. * * @param \Illuminate\Http\Request $request * @param \Illuminate\Routing\Route $route * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ protected function runRoute(Request $request, Route $route) { $request->setRouteResolver(function () use ($route) { return $route; }); $this->events->dispatch(new Events\RouteMatched($route, $request)); return $this->prepareResponse($request, $this->runRouteWithinStack($route, $request) ); } /** * Run the given route within a Stack "onion" instance. * * @param \Illuminate\Routing\Route $route * @param \Illuminate\Http\Request $request * @return mixed */ protected function runRouteWithinStack(Route $route, Request $request) { $shouldSkipMiddleware = $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === true; $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) Arguments
  1. Route {#254}
  2. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ public function dispatch(Request $request) { $this->currentRequest = $request; return $this->dispatchToRoute($request); } /** * Dispatch the request to a route and return the response. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ public function dispatchToRoute(Request $request) { return $this->runRoute($request, $this->findRoute($request)); } /** * Find the route matching a given request. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Routing\Route */ protected function findRoute($request) { $this->current = $route = $this->routes->match($request); $this->container->instance(Route::class, $route); return $route; } /** * Return the response for the given route. * Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. Route {#254}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ public function respondWithRoute($name) { $route = tap($this->routes->getByName($name))->bind($this->currentRequest); return $this->runRoute($this->currentRequest, $route); } /** * Dispatch the request to the application. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ public function dispatch(Request $request) { $this->currentRequest = $request; return $this->dispatchToRoute($request); } /** * Dispatch the request to a route and return the response. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ public function dispatchToRoute(Request $request) { return $this->runRoute($request, $this->findRoute($request)); } /** * Find the route matching a given request. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Routing\Route */ protected function findRoute($request) Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php * @return void */ public function bootstrap() { if (! $this->app->hasBeenBootstrapped()) { $this->app->bootstrapWith($this->bootstrappers()); } } /** * Get the route dispatcher callback. * * @return \Closure */ protected function dispatchToRouter() { return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); }; } /** * Call the terminate method on any terminable middleware. * * @param \Illuminate\Http\Request $request * @param \Illuminate\Http\Response $response * @return void */ public function terminate($request, $response) { $this->terminateMiddleware($request, $response); $this->app->terminate(); } /** * Call the terminate method on any terminable middleware. * Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php use Symfony\Component\Debug\Exception\FatalThrowableError; /** * This extended pipeline catches any exceptions that occur during each slice. * * The exceptions are converted to HTTP responses for proper middleware handling. */ class Pipeline extends BasePipeline { /** * Get the final piece of the Closure onion. * * @param \Closure $destination * @return \Closure */ protected function prepareDestination(Closure $destination) { return function ($passable) use ($destination) { try { return $destination($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/fideloper/proxy/src/TrustProxies.php { $this->config = $config; } /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * * @throws \Symfony\Component\HttpKernel\Exception\HttpException * * @return mixed */ public function handle(Request $request, Closure $next) { $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests $this->setTrustedProxyIpAddresses($request); return $next($request); } /** * Sets the trusted proxies on the request to the value of trustedproxy.proxies * * @param \Illuminate\Http\Request $request */ protected function setTrustedProxyIpAddresses(Request $request) { $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies'); // Trust any IP address that calls us // `**` for backwards compatibility, but is deprecated if ($trustedIps === '*' || $trustedIps === '**') { return $this->setTrustedProxyIpAddressesToTheCallingIp($request); } // Support IPs addresses separated by comma $trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps; Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. Closure($passable) {#141 …6}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php namespace Illuminate\Foundation\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\ParameterBag; class TransformsRequest { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * * @param \Illuminate\Http\Request $request * @return void */ protected function clean($request) { $this->cleanParameterBag($request->query); if ($request->isJson()) { $this->cleanParameterBag($request->json()); } elseif ($request->request !== $request->query) { $this->cleanParameterBag($request->request); } } /** Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. Closure($passable) {#279 …6}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php namespace Illuminate\Foundation\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\ParameterBag; class TransformsRequest { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * * @param \Illuminate\Http\Request $request * @return void */ protected function clean($request) { $this->cleanParameterBag($request->query); if ($request->isJson()) { $this->cleanParameterBag($request->json()); } elseif ($request->request !== $request->query) { $this->cleanParameterBag($request->request); } } /** Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. Closure($passable) {#283 …6}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php class ValidatePostSize { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed * * @throws \Illuminate\Http\Exceptions\PostTooLargeException */ public function handle($request, Closure $next) { $max = $this->getPostMaxSize(); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; } return $next($request); } /** * Determine the server 'post_max_size' as bytes. * * @return int */ protected function getPostMaxSize() { if (is_numeric($postMaxSize = ini_get('post_max_size'))) { return (int) $postMaxSize; } $metric = strtoupper(substr($postMaxSize, -1)); $postMaxSize = (int) $postMaxSize; switch ($metric) { case 'K': return $postMaxSize * 1024; case 'M': Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. Closure($passable) {#333 …6}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php * * @throws \Symfony\Component\HttpKernel\Exception\HttpException */ public function handle($request, Closure $next) { if ($this->app->isDownForMaintenance()) { $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true); if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) { return $next($request); } if ($this->inExceptArray($request)) { return $next($request); } throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']); } return $next($request); } /** * Determine if the request has a URI that should be accessible in maintenance mode. * * @param \Illuminate\Http\Request $request * @return bool */ protected function inExceptArray($request) { foreach ($this->except as $except) { if ($except !== '/') { $except = trim($except, '/'); } if ($request->fullUrlIs($except) || $request->is($except)) { return true; } } Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. Closure($passable) {#334 …6}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php public function via($method) { $this->method = $method; return $this; } /** * Run the pipeline with a final destination callback. * * @param \Closure $destination * @return mixed */ public function then(Closure $destination) { $pipeline = array_reduce( array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * * @return mixed */ public function thenReturn() { return $this->then(function ($passable) { return $passable; }); } /** * Get the final piece of the Closure onion. * * @param \Closure $destination * @return \Closure */ Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php } /** * Send the given request through the middleware / router. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ protected function sendRequestThroughRouter($request) { $this->app->instance('request', $request); Facade::clearResolvedInstance('request'); $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); } /** * Bootstrap the application for HTTP requests. * * @return void */ public function bootstrap() { if (! $this->app->hasBeenBootstrapped()) { $this->app->bootstrapWith($this->bootstrappers()); } } /** * Get the route dispatcher callback. * * @return \Closure */ protected function dispatchToRouter() Arguments
  1. Closure($request) {#41 …5}
/home/babartravel.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php $router->middlewareGroup($key, $middleware); } foreach ($this->routeMiddleware as $key => $middleware) { $router->aliasMiddleware($key, $middleware); } } /** * Handle an incoming HTTP request. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function handle($request) { try { $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Exception $e) { $this->reportException($e); $response = $this->renderException($request, $e); } catch (Throwable $e) { $this->reportException($e = new FatalThrowableError($e)); $response = $this->renderException($request, $e); } $this->app['events']->dispatch( new Events\RequestHandled($request, $response) ); return $response; } /** * Send the given request through the middleware / router. * Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/home/babartravel.com/public_html/public/index.php */ $app = require_once __DIR__.'/../bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */ $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response); Arguments
  1. Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#351 …6} #routeResolver: Closure() {#353 …5} +attributes: ParameterBag {#45} +request: ParameterBag {#51} +query: ParameterBag {#51} +server: ServerBag {#47} +files: FileBag {#48} +cookies: ParameterBag {#46} +headers: HeaderBag {#49} #content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ 0 => "*/*" ] #pathInfo: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #requestUri: "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: null #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }

Environment & details:

GET Data empty POST Data empty Files empty Cookies empty Session empty Server/Request Data
Key Value
PATH "/bin:/usr/bin"
HTTP_ACCEPT "*/*"
HTTP_ACCEPT_ENCODING "gzip, br"
HTTP_CONNECTION "Keep-Alive"
HTTP_HOST "babartravel.com"
HTTP_USER_AGENT "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
HTTP_X_FORWARDED_FOR "103.110.85.167"
HTTP_CF_RAY "8e983b3a4ff5ddcc-HKG"
HTTP_CF_IPCOUNTRY "VN"
HTTP_X_FORWARDED_PROTO "https"
HTTP_CF_CONNECTING_IP "103.110.85.167"
HTTP_CF_VISITOR "{"scheme":"https"}"
HTTP_CDN_LOOP "cloudflare; loops=1"
DOCUMENT_ROOT "/home/babartravel.com/public_html"
REMOTE_ADDR "172.71.214.15"
REMOTE_PORT "34588"
SERVER_ADDR ""
SERVER_NAME "babartravel.com"
SERVER_ADMIN "[email protected]"
SERVER_PORT "80"
REQUEST_URI "/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html"
REDIRECT_URL "/public/tin-tuc/cac-mon-an-ngon-khong-the-khong-thu-khi-du-lich-dan-mach.html"
HTTPS "on"
HAVE_REWITE "1"
REDIRECT_STATUS "200"
LSWS_EDITION "Openlitespeed 1.4.46"
X-LSCACHE "on,crawler"
SCRIPT_FILENAME "/home/babartravel.com/public_html/public/index.php"
QUERY_STRING ""
SCRIPT_NAME "/public/index.php"
SERVER_PROTOCOL "HTTP/1.1"
SERVER_SOFTWARE "LiteSpeed"
REQUEST_METHOD "GET"
PHP_SELF "/public/index.php"
REQUEST_TIME_FLOAT 1732775888.8539
REQUEST_TIME 1732775888
APP_NAME "Laravel"
APP_ENV "local"
APP_KEY "base64:mz+aV4QIhcdDvlOASOa1rlH5LXjmkPP60iiI8DxWxsk="
APP_DEBUG "true"
APP_URL "http://localhost"
LOG_CHANNEL "stack"
DB_CONNECTION "mysql"
DB_HOST "localhost"
DB_PORT "3306"
DB_DATABASE "baba_db"
DB_USERNAME "root"
DB_PASSWORD "gKbYlPxY0AjBkV"
BROADCAST_DRIVER "log"
CACHE_DRIVER "file"
QUEUE_CONNECTION "sync"
SESSION_DRIVER "file"
SESSION_LIFETIME "120"
REDIS_HOST "127.0.0.1"
REDIS_PASSWORD "null"
REDIS_PORT "6379"
MAIL_DRIVER "smtp"
MAIL_HOST "smtp.yandex.com"
MAIL_PORT "587"
MAIL_USERNAME "[email protected]"
MAIL_PASSWORD "AsiaTravel@2019"
MAIL_ENCRYPTION "tls"
AWS_ACCESS_KEY_ID ""
AWS_SECRET_ACCESS_KEY ""
AWS_DEFAULT_REGION "us-east-1"
AWS_BUCKET ""
PUSHER_APP_ID ""
PUSHER_APP_KEY ""
PUSHER_APP_SECRET ""
PUSHER_APP_CLUSTER "mt1"
MIX_PUSHER_APP_KEY ""
MIX_PUSHER_APP_CLUSTER "mt1"
Environment Variables
Key Value
APP_NAME "Laravel"
APP_ENV "local"
APP_KEY "base64:mz+aV4QIhcdDvlOASOa1rlH5LXjmkPP60iiI8DxWxsk="
APP_DEBUG "true"
APP_URL "http://localhost"
LOG_CHANNEL "stack"
DB_CONNECTION "mysql"
DB_HOST "localhost"
DB_PORT "3306"
DB_DATABASE "baba_db"
DB_USERNAME "root"
DB_PASSWORD "gKbYlPxY0AjBkV"
BROADCAST_DRIVER "log"
CACHE_DRIVER "file"
QUEUE_CONNECTION "sync"
SESSION_DRIVER "file"
SESSION_LIFETIME "120"
REDIS_HOST "127.0.0.1"
REDIS_PASSWORD "null"
REDIS_PORT "6379"
MAIL_DRIVER "smtp"
MAIL_HOST "smtp.yandex.com"
MAIL_PORT "587"
MAIL_USERNAME "[email protected]"
MAIL_PASSWORD "AsiaTravel@2019"
MAIL_ENCRYPTION "tls"
AWS_ACCESS_KEY_ID ""
AWS_SECRET_ACCESS_KEY ""
AWS_DEFAULT_REGION "us-east-1"
AWS_BUCKET ""
PUSHER_APP_ID ""
PUSHER_APP_KEY ""
PUSHER_APP_SECRET ""
PUSHER_APP_CLUSTER "mt1"
MIX_PUSHER_APP_KEY ""
MIX_PUSHER_APP_CLUSTER "mt1"
Registered Handlers 0. Whoops\Handler\PrettyPageHandler

Từ khóa » Các Món ăn đan Mạch