InvalidArgumentException
View [pages.error404] not found. InvalidArgumentException thrown with message "View [pages.error404] not found." Stacktrace: #47 InvalidArgumentException in /var/www/eslab.pl/vendor/illuminate/view/FileViewFinder.php:137 #46 Illuminate\View\FileViewFinder:findInPaths in /var/www/eslab.pl/vendor/themosis/framework/src/View/FileViewFinder.php:66 #45 Themosis\View\FileViewFinder:find in /var/www/eslab.pl/vendor/illuminate/view/Factory.php:131 #44 Illuminate\View\Factory:make in /var/www/eslab.pl/vendor/themosis/framework/src/Core/helpers.php:864 #43 view in /var/www/eslab.pl/app/Http/Controllers/PagesController.php:115 #42 App\Http\Controllers\PagesController:error404 in /var/www/eslab.pl/vendor/illuminate/routing/Controller.php:54 #41 call_user_func_array in /var/www/eslab.pl/vendor/illuminate/routing/Controller.php:54 #40 Illuminate\Routing\Controller:callAction in /var/www/eslab.pl/vendor/illuminate/routing/ControllerDispatcher.php:45 #39 Illuminate\Routing\ControllerDispatcher:dispatch in /var/www/eslab.pl/vendor/illuminate/routing/Route.php:219 #38 Illuminate\Routing\Route:runController in /var/www/eslab.pl/vendor/illuminate/routing/Route.php:176 #37 Illuminate\Routing\Route:run in /var/www/eslab.pl/vendor/illuminate/routing/Router.php:680 #36 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:30 #35 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php:35 #34 Themosis\Route\Middleware\WordPressBodyClass:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #32 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php:86 #31 Themosis\Core\Http\Middleware\VerifyCsrfToken:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #29 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Middleware/SubstituteBindings.php:41 #28 Illuminate\Routing\Middleware\SubstituteBindings:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #26 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/illuminate/view/Middleware/ShareErrorsFromSession.php:49 #25 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #24 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #23 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/illuminate/session/Middleware/StartSession.php:56 #22 Illuminate\Session\Middleware\StartSession:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #20 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php:40 #19 Themosis\Route\Middleware\WordPressBindings:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #18 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #17 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php:21 #16 Themosis\Route\Middleware\WordPressHeaders:handle in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:163 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:53 #14 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:104 #13 Illuminate\Pipeline\Pipeline:then in /var/www/eslab.pl/vendor/illuminate/routing/Router.php:682 #12 Illuminate\Routing\Router:runRouteWithinStack in /var/www/eslab.pl/vendor/illuminate/routing/Router.php:657 #11 Illuminate\Routing\Router:runRoute in /var/www/eslab.pl/vendor/illuminate/routing/Router.php:623 #10 Illuminate\Routing\Router:dispatchToRoute in /var/www/eslab.pl/vendor/illuminate/routing/Router.php:612 #9 Illuminate\Routing\Router:dispatch in /var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Kernel.php:168 #8 Themosis\Core\Http\Kernel:Themosis\Core\Http\{closure} in /var/www/eslab.pl/vendor/illuminate/routing/Pipeline.php:30 #7 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/eslab.pl/vendor/illuminate/pipeline/Pipeline.php:104 #6 Illuminate\Pipeline\Pipeline:then in /var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Kernel.php:154 #5 Themosis\Core\Http\Kernel:sendRequestThroughRouter in /var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Kernel.php:114 #4 Themosis\Core\Http\Kernel:handle in /var/www/eslab.pl/vendor/themosis/framework/src/Core/Application.php:1400 #3 Themosis\Core\Application:manage in /var/www/eslab.pl/htdocs/content/themes/eslab/index.php:15 #2 include in /var/www/eslab.pl/htdocs/cms/wp-includes/template-loader.php:106 #1 require_once in /var/www/eslab.pl/htdocs/cms/wp-blog-header.php:19 #0 require in /var/www/eslab.pl/htdocs/index.php:11
47
InvalidArgumentException
/vendor/illuminate/view/FileViewFinder.php137
46
Illuminate\View\FileViewFinder findInPaths
/vendor/themosis/framework/src/View/FileViewFinder.php66
45
Themosis\View\FileViewFinder find
/vendor/illuminate/view/Factory.php131
44
Illuminate\View\Factory make
/vendor/themosis/framework/src/Core/helpers.php864
43
view
/app/Http/Controllers/PagesController.php115
42
App\Http\Controllers\PagesController error404
/vendor/illuminate/routing/Controller.php54
41
call_user_func_array
/vendor/illuminate/routing/Controller.php54
40
Illuminate\Routing\Controller callAction
/vendor/illuminate/routing/ControllerDispatcher.php45
39
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/illuminate/routing/Route.php219
38
Illuminate\Routing\Route runController
/vendor/illuminate/routing/Route.php176
37
Illuminate\Routing\Route run
/vendor/illuminate/routing/Router.php680
36
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/illuminate/routing/Pipeline.php30
35
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php35
34
Themosis\Route\Middleware\WordPressBodyClass handle
/vendor/illuminate/pipeline/Pipeline.php163
33
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
32
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php86
31
Themosis\Core\Http\Middleware\VerifyCsrfToken handle
/vendor/illuminate/pipeline/Pipeline.php163
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
29
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/illuminate/routing/Middleware/SubstituteBindings.php41
28
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/illuminate/pipeline/Pipeline.php163
27
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
26
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/illuminate/view/Middleware/ShareErrorsFromSession.php49
25
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/illuminate/pipeline/Pipeline.php163
24
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
23
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/illuminate/session/Middleware/StartSession.php56
22
Illuminate\Session\Middleware\StartSession handle
/vendor/illuminate/pipeline/Pipeline.php163
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
20
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php40
19
Themosis\Route\Middleware\WordPressBindings handle
/vendor/illuminate/pipeline/Pipeline.php163
18
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
17
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php21
16
Themosis\Route\Middleware\WordPressHeaders handle
/vendor/illuminate/pipeline/Pipeline.php163
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/routing/Pipeline.php53
14
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/illuminate/pipeline/Pipeline.php104
13
Illuminate\Pipeline\Pipeline then
/vendor/illuminate/routing/Router.php682
12
Illuminate\Routing\Router runRouteWithinStack
/vendor/illuminate/routing/Router.php657
11
Illuminate\Routing\Router runRoute
/vendor/illuminate/routing/Router.php623
10
Illuminate\Routing\Router dispatchToRoute
/vendor/illuminate/routing/Router.php612
9
Illuminate\Routing\Router dispatch
/vendor/themosis/framework/src/Core/Http/Kernel.php168
8
Themosis\Core\Http\Kernel Themosis\Core\Http\{closure}
/vendor/illuminate/routing/Pipeline.php30
7
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/illuminate/pipeline/Pipeline.php104
6
Illuminate\Pipeline\Pipeline then
/vendor/themosis/framework/src/Core/Http/Kernel.php154
5
Themosis\Core\Http\Kernel sendRequestThroughRouter
/vendor/themosis/framework/src/Core/Http/Kernel.php114
4
Themosis\Core\Http\Kernel handle
/vendor/themosis/framework/src/Core/Application.php1400
3
Themosis\Core\Application manage
/htdocs/content/themes/eslab/index.php15
2
include
/htdocs/cms/wp-includes/template-loader.php106
1
require_once
/htdocs/cms/wp-blog-header.php19
0
require
/htdocs/index.php11
/var/www/eslab.pl/vendor/illuminate/view/FileViewFinder.php
    /**
     * Find the given view in the list of paths.
     *
     * @param  string  $name
     * @param  array   $paths
     * @return string
     *
     * @throws \InvalidArgumentException
     */
    protected function findInPaths($name, $paths)
    {
        foreach ((array) $paths as $path) {
            foreach ($this->getPossibleViewFiles($name) as $file) {
                if ($this->files->exists($viewPath = $path.'/'.$file)) {
                    return $viewPath;
                }
            }
        }
 
        throw new InvalidArgumentException("View [{$name}] not found.");
    }
 
    /**
     * Get an array of possible view files.
     *
     * @param  string  $name
     * @return array
     */
    protected function getPossibleViewFiles($name)
    {
        return array_map(function ($extension) use ($name) {
            return str_replace('.', '/', $name).'.'.$extension;
        }, $this->extensions);
    }
 
    /**
     * Add a location to the finder.
     *
     * @param  string  $location
     * @return void
Arguments
  1. "View [pages.error404] not found."
    
/var/www/eslab.pl/vendor/themosis/framework/src/View/FileViewFinder.php
    }
 
    /**
     * Get the fully qualified location of the view.
     *
     * @param string $name
     *
     * @return string
     */
    public function find($name)
    {
        if (isset($this->views[$name])) {
            return $this->views[$name];
        }
 
        if ($this->hasHintInformation($name = trim($name))) {
            return $this->views[$name] = $this->findNamespacedView($name);
        }
 
        return $this->views[$name] = $this->findInPaths($name, $this->getPaths());
    }
 
    /**
     * Parse ordered path locations and prepend
     * them to default paths.
     */
    private function parseOrderedPaths()
    {
        if (empty($this->orderedPaths)) {
            return;
        }
 
        /**
         * @var FileViewLocation[]
         */
        $orderedPaths = $this->orderedPaths;
 
        uasort($orderedPaths, function ($a, $b) {
            return $a->getPriority() < $b->getPriority();
        });
Arguments
  1. "pages.error404"
    
  2. array:4 [
      0 => "/var/www/eslab.pl/htdocs/content/themes/eslab/views"
      1 => "/var/www/eslab.pl/resources/views"
      2 => "/var/www/eslab.pl/vendor/themosis/framework/src/Forms/views"
      3 => "/var/www/eslab.pl/vendor/themosis/framework/src/PostType/views"
    ]
    
/var/www/eslab.pl/vendor/illuminate/view/Factory.php
    {
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($path, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param  string  $view
     * @param  \Illuminate\Contracts\Support\Arrayable|array   $data
     * @param  array   $mergeData
     * @return \Illuminate\Contracts\View\View
     */
    public function make($view, $data = [], $mergeData = [])
    {
        $path = $this->finder->find(
            $view = $this->normalizeName($view)
        );
 
        // Next, we will create the view instance and call the view creator for the view
        // which can set any data, etc. Then we will return the view instance back to
        // the caller for rendering or performing other view manipulations on this.
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($view, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the first view that actually exists from the given list.
     *
     * @param  array  $views
     * @param  \Illuminate\Contracts\Support\Arrayable|array   $data
     * @param  array   $mergeData
     * @return \Illuminate\Contracts\View\View
     *
Arguments
  1. "pages.error404"
    
/var/www/eslab.pl/vendor/themosis/framework/src/Core/helpers.php
 
if (! function_exists('view')) {
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param string $view
     * @param array  $data
     * @param array  $mergeData
     *
     * @return \Illuminate\View\View|\Illuminate\Contracts\View\Factory|\Illuminate\View\Factory
     */
    function view($view = null, $data = [], $mergeData = [])
    {
        $factory = app(ViewFactory::class);
 
        if (func_num_args() === 0) {
            return $factory;
        }
 
        return $factory->make($view, $data, $mergeData);
    }
}
 
if (! function_exists('web_path')) {
    /**
     * Get the public web path.
     *
     * @param string $path
     *
     * @return string
     */
    function web_path($path = '')
    {
        return app()->webPath($path);
    }
}
 
Arguments
  1. "pages.error404"
    
  2. []
    
  3. []
    
/var/www/eslab.pl/app/Http/Controllers/PagesController.php
 
 
 
    /**
     * Show the page.
     */
    public function view($page)
    {
        $data['page'] = $page;
    //dd($data);
        return view('pages.view', $data);
    }
 
 
    /**
     * Show the 404 page.
     */
    public function error404()
    {
        return view('pages.error404');
    }
 
}
Arguments
  1. "pages.error404"
    
/var/www/eslab.pl/vendor/illuminate/routing/Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
Arguments
  1. WP_Query {#1401}
    
/var/www/eslab.pl/vendor/illuminate/routing/Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
Arguments
  1. array:2 [
      0 => App\Http\Controllers\PagesController {#1870}
      1 => "error404"
    ]
    
  2. array:1 [
      "wp_query" => WP_Query {#1401}
    ]
    
/var/www/eslab.pl/vendor/illuminate/routing/ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
Arguments
  1. "error404"
    
  2. array:1 [
      "wp_query" => WP_Query {#1401}
    ]
    
/var/www/eslab.pl/vendor/illuminate/routing/Route.php
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @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;
    }
 
    /**
Arguments
  1. Themosis\Route\Route {#1123}
    
  2. App\Http\Controllers\PagesController {#1870}
    
  3. "error404"
    
/var/www/eslab.pl/vendor/illuminate/routing/Route.php
     *
     * @throws \UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
 
    /**
     * Run the route action and return the response.
/var/www/eslab.pl/vendor/illuminate/routing/Router.php
    /**
     * 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) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php
    {
        $this->filter = $filter;
    }
 
    /**
     * Handle incoming request.
     *
     * @param $request
     * @param \Closure $next
     *
     * @return mixed
     */
    public function handle($request, \Closure $next)
    {
        $this->filter->add(
            'body_class',
            $this->dispatchBodyClass($request->route())
        );
 
        return $next($request);
    }
 
    /**
     * Return the callback managing route body CSS classes.
     *
     * @param Route $route
     *
     * @return \Closure
     */
    protected function dispatchBodyClass(Route $route)
    {
        return function ($classes) use ($route) {
            if ($route->hasCondition()) {
                return $classes;
            }
 
            $tokens = array_filter(array_map(function ($token) use ($route) {
                switch ($type = $token[0]) {
                    case 'variable':
                        if (isset($token[3]) && $route->hasParameter($paramKey = $token[3])) {
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1888 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php
        $this->encrypter = $encrypter;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws TokenMismatchException
     *
     * @return mixed
     */
    public function handle($request, \Closure $next)
    {
        if ($this->isReading($request)
        || $this->isRunningUnitTests()
        || $this->inExceptArray($request)
        || $this->tokensMatch($request)) {
            return tap($next($request), function ($response) use ($request) {
                if ($this->addHttpCookie) {
                    $this->addCookieToResponse($request, $response);
                }
            });
        }
 
        throw new TokenMismatchException();
    }
 
    /**
     * Determine if the HTTP request uses a "read" verb.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return bool
     */
    protected function isReading(Request $request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1890 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/illuminate/routing/Middleware/SubstituteBindings.php
     */
    public function __construct(Registrar $router)
    {
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->router->substituteBindings($route = $request->route());
 
        $this->router->substituteImplicitBindings($route);
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1891 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/illuminate/view/Middleware/ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1892 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/illuminate/session/Middleware/StartSession.php
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $session = $this->startSession($request)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        $this->addCookieToResponse($response, $session);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        $this->saveSession($request);
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Contracts\Session\Session
     */
    protected function startSession(Request $request)
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1893 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param $request
     * @param \Closure $next
     *
     * @return mixed
     */
    public function handle($request, \Closure $next)
    {
        $route = $request->route();
 
        if ($route->hasCondition()) {
            $this->router->addWordPressBindings($route);
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1894 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php
 
namespace Themosis\Route\Middleware;
 
use Illuminate\Http\Request;
use Illuminate\Http\Response;
 
class WordPressHeaders
{
    /**
     * Cleanup response headers.
     *
     * @param Request  $request
     * @param \Closure $next
     *
     * @return Response
     */
    public function handle(Request $request, \Closure $next)
    {
        $route = $request->route();
        $response = $next($request);
 
        if (! $route->hasCondition() && function_exists('is_user_logged_in') && ! is_user_logged_in()) {
            // We're on a custom route. Remove "no-cache" headers added by WordPress:
            // - Cache-Control
            // - Expires
            // - Content-type (provided by the response instance as well)
            @header_remove('Cache-Control');
            @header_remove('Expires');
            @header_remove('Content-Type');
        }
 
        // Set the response cache control to "public"
        // on pages visited by guest users only.
        if (function_exists('is_user_logged_in') && ! is_user_logged_in()) {
            $response->setPublic();
        }
 
        return $response;
    }
}
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1895 …4}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/illuminate/routing/Router.php
     *
     * @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) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
Arguments
  1. Closure($request) {#1886 …4}
    
/var/www/eslab.pl/vendor/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. Themosis\Route\Route {#1123}
    
  2. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Themosis\Route\Route {#1123}
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Kernel.php
    protected function sendRequestThroughRouter($request)
    {
        return (new Pipeline($this->app))
            ->send($request)
            ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
            ->then($this->dispatchToRouter());
    }
 
    /**
     * Get route dispatcher callback used by the
     * routing pipeline.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Bootstrap the application.
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Return the bootstrappers array.
     *
     * @return array
     */
    protected function bootstrappers()
    {
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/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. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Kernel.php
     * @return bool
     */
    public function hasMiddleware($middleware)
    {
        return in_array($middleware, $this->middleware);
    }
 
    /**
     * Send given request through the middleware (if any) and router.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return IlluminateResponse
     */
    protected function sendRequestThroughRouter($request)
    {
        return (new Pipeline($this->app))
            ->send($request)
            ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
            ->then($this->dispatchToRouter());
    }
 
    /**
     * Get route dispatcher callback used by the
     * routing pipeline.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Bootstrap the application.
     */
Arguments
  1. Closure($request) {#1867 …4}
    
/var/www/eslab.pl/vendor/themosis/framework/src/Core/Http/Kernel.php
     */
    public function init($request)
    {
        $this->app->instance('request', $request);
        Facade::clearResolvedInstance('request');
        $this->bootstrap();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return IlluminateResponse
     */
    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 RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Determine if the kernel has a given middleware.
     *
     * @param string $middleware
     *
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/vendor/themosis/framework/src/Core/Application.php
        foreach ($this->terminatingCallbacks as $terminating) {
            $this->call($terminating);
        }
    }
 
    /**
     * Handle incoming request and return a response.
     * Abstract the implementation from the user for easy
     * theme integration.
     *
     * @param string                                    $kernel  Application kernel class name.
     * @param \Symfony\Component\HttpFoundation\Request $request
     *
     * @return $this
     */
    public function manage(string $kernel, $request)
    {
        $kernel = $this->make($kernel);
 
        $response = $kernel->handle($request);
        $response->send();
 
        $kernel->terminate($request, $response);
 
        return $this;
    }
 
    /**
     * Handle WordPress administration incoming request.
     * Only send response headers.
     *
     * @param string                                    $kernel
     * @param \Symfony\Component\HttpFoundation\Request $request
     *
     * @return $this;
     */
    public function manageAdmin(string $kernel, $request)
    {
        if (! $this->isWordPressAdmin() && ! $this->has('action')) {
            return $this;
Arguments
  1. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/htdocs/content/themes/eslab/index.php
<?php
 
use Illuminate\Contracts\Http\Kernel;
use Themosis\Core\Application;
 
/**
 * Default WordPress template.
 *
 * By default, routes should be defined at application
 * root into the routes/web.php file.
 *
 * Routes can be overwritten using theme routes.php file.
 */
$app = Application::getInstance();
$app->manage(Kernel::class, $app['request']);
 
Arguments
  1. App\Http\Kernel {#34}
    
  2. Illuminate\Http\Request {#48
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1868 …4}
      #routeResolver: Closure() {#1872 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#56}
      +server: Symfony\Component\HttpFoundation\ServerBag {#52}
      +files: Symfony\Component\HttpFoundation\FileBag {#53}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#54}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/index.html"
      #requestUri: "/index.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#1905}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/eslab.pl/htdocs/cms/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/eslab.pl/htdocs/content/themes/eslab/index.php"
    
/var/www/eslab.pl/htdocs/cms/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/var/www/eslab.pl/htdocs/cms/wp-includes/template-loader.php"
    
/var/www/eslab.pl/htdocs/index.php
<?php
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require dirname(__FILE__).'/cms/wp-blog-header.php';
 
Arguments
  1. "/var/www/eslab.pl/htdocs/cms/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"**********************"
REQUEST_URI
"***********"
REDIRECT_SCRIPT_URL
"***********"
REDIRECT_SCRIPT_URI
"***************************"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"**"
REDIRECT_SSL_TLS_SNI
"********"
REDIRECT_STATUS
"***"
SCRIPT_URL
"***********"
SCRIPT_URI
"***************************"
HTTP_AUTHORIZATION
""
HTTPS
"**"
SSL_TLS_SNI
"********"
HTTP_ACCEPT
"***"
HTTP_USER_AGENT
"*********"
HTTP_HOST
"********"
PATH
"************************************************************"
SERVER_SIGNATURE
"**********************************************************************"
SERVER_NAME
"********"
SERVER_ADDR
"*************"
SERVER_PORT
"***"
REMOTE_ADDR
"**************"
DOCUMENT_ROOT
"************************"
REQUEST_SCHEME
"*****"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"************************"
SERVER_ADMIN
"**************"
SCRIPT_FILENAME
"**********************************"
REMOTE_PORT
"*****"
REDIRECT_URL
"***********"
GATEWAY_INTERFACE
"*******"
SERVER_PROTOCOL
"********"
REQUEST_METHOD
"***"
QUERY_STRING
""
SCRIPT_NAME
"**********"
PHP_SELF
"**********"
REQUEST_TIME_FLOAT
"***"
REQUEST_TIME
"***"
APP_ENV
"*****"
APP_DEBUG
"****"
APP_KEY
"***************************************************"
APP_TD
"********"
APP_URL
"***************"
WP_URL
"*******************"
DATABASE_NAME
"*****"
DATABASE_USER
"*******"
DATABASE_PASSWORD
"*******"
DATABASE_HOST
"*********"
MAIL_HOST
"**************"
MAIL_USERNAME
"****"
MAIL_PASSWORD
"****"
MAIL_FROM_ADDRESS
"********************"
MAIL_FROM_NAME
"********"
Key Value
APP_ENV
"*****"
APP_DEBUG
"****"
APP_KEY
"***************************************************"
APP_TD
"********"
APP_URL
"***************"
WP_URL
"*******************"
DATABASE_NAME
"*****"
DATABASE_USER
"*******"
DATABASE_PASSWORD
"*******"
DATABASE_HOST
"*********"
MAIL_HOST
"**************"
MAIL_USERNAME
"****"
MAIL_PASSWORD
"****"
MAIL_FROM_ADDRESS
"********************"
MAIL_FROM_NAME
"********"
0. Whoops\Handler\PrettyPageHandler