ErrorException (E_NOTICE)
ErrorException thrown with message "Trying to get property of non-object" Stacktrace: #54 ErrorException in /home/fitenslank/CMS/app/Http/Controllers/frontend/custom/CourseController.php:47 #53 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/fitenslank/CMS/app/Http/Controllers/frontend/custom/CourseController.php:47 #52 App\Http\Controllers\frontend\custom\CourseController:getOrder in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:80 #51 call_user_func_array in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:80 #50 Illuminate\Routing\Controller:callAction in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:146 #49 Illuminate\Routing\ControllerDispatcher:call in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:94 #48 Illuminate\Routing\ControllerDispatcher:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:52 #47 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:52 #46 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #45 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #44 Illuminate\Pipeline\Pipeline:then in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:96 #43 Illuminate\Routing\ControllerDispatcher:callWithinStack in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:54 #42 Illuminate\Routing\ControllerDispatcher:dispatch in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Route.php:174 #41 Illuminate\Routing\Route:runController in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Route.php:140 #40 Illuminate\Routing\Route:run in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php:724 #39 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:52 #38 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:52 #37 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #36 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #35 Illuminate\Pipeline\Pipeline:then in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php:726 #34 Illuminate\Routing\Router:runRouteWithinStack in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php:699 #33 Illuminate\Routing\Router:dispatchToRoute in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php:675 #32 Illuminate\Routing\Router:dispatch in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:246 #31 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:52 #30 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:52 #29 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #28 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #27 call_user_func_array in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #25 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #24 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #23 Illuminate\Session\Middleware\StartSession:handle in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #22 call_user_func_array in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #20 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #19 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #18 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #17 call_user_func_array in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #15 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #14 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 #13 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #12 call_user_func_array in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #10 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:44 #8 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #7 call_user_func_array in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:136 #6 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #5 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #4 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #3 call_user_func in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #2 Illuminate\Pipeline\Pipeline:then in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:132 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:99 #0 Illuminate\Foundation\Http\Kernel:handle in /home/fitenslank/public_html/index.php:52

Trying to get property of non-object

Stack frames (55):
54 ErrorException
…/­app/­Http/­Controllers/­frontend/­custom/­CourseController.php47
53 Illuminate\Foundation\Bootstrap\HandleExceptions handleError
…/­app/­Http/­Controllers/­frontend/­custom/­CourseController.php47
52 App\Http\Controllers\frontend\custom\CourseController getOrder
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php80
51 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php80
50 Illuminate\Routing\Controller callAction
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php146
49 Illuminate\Routing\ControllerDispatcher call
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php94
48 Illuminate\Routing\ControllerDispatcher Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
47 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
46 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
45 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
44 Illuminate\Pipeline\Pipeline then
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php96
43 Illuminate\Routing\ControllerDispatcher callWithinStack
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php54
42 Illuminate\Routing\ControllerDispatcher dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php174
41 Illuminate\Routing\Route runController
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php140
40 Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php724
39 Illuminate\Routing\Router Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
38 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
37 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
36 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
35 Illuminate\Pipeline\Pipeline then
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php726
34 Illuminate\Routing\Router runRouteWithinStack
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php699
33 Illuminate\Routing\Router dispatchToRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php675
32 Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Http/­Kernel.php246
31 Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
30 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
29 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Middleware/­ShareErrorsFromSession.php49
28 Illuminate\View\Middleware\ShareErrorsFromSession handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
27 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
26 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
25 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
24 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware/­StartSession.php64
23 Illuminate\Session\Middleware\StartSession handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
22 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
21 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
20 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
19 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Middleware/­AddQueuedCookiesToResponse.php37
18 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
17 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
16 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
15 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
14 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Middleware/­EncryptCookies.php59
13 Illuminate\Cookie\Middleware\EncryptCookies handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
12 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
11 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
10 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
9 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Http/­Middleware/­CheckForMaintenanceMode.php44
8 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
7 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
6 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
5 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
4 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
3 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
2 Illuminate\Pipeline\Pipeline then
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Http/­Kernel.php132
1 Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Http/­Kernel.php99
0 Illuminate\Foundation\Http\Kernel handle
/­home/­fitenslank/­public_html/­index.php52
/home/fitenslank/CMS/app/Http/Controllers/frontend/custom/CourseController.php
    {
        $product = Products::findOrFail($productid);
        if ($locationid != 0) {
            $location = Location::findOrFail($locationid);
            $coach = $location->coaches()->first();
        } elseif ($coachid != 0) {
            $coach = Coaches::findOrFail($coachid);
        }
 
        $locations = $coach->location;
        $page = getPage('ordercourse');
 
        $data['product'] = $product;
        $data['locations'] = $locations;
        if (isset($location)) {
            $data['location'] = $location;
        }
        $data['ocoach'] = $coach;
        $data['page'] = $page;
        $data['intro'] = $page->intro;
/home/fitenslank/CMS/app/Http/Controllers/frontend/custom/CourseController.php
    {
        $product = Products::findOrFail($productid);
        if ($locationid != 0) {
            $location = Location::findOrFail($locationid);
            $coach = $location->coaches()->first();
        } elseif ($coachid != 0) {
            $coach = Coaches::findOrFail($coachid);
        }
 
        $locations = $coach->location;
        $page = getPage('ordercourse');
 
        $data['product'] = $product;
        $data['locations'] = $locations;
        if (isset($location)) {
            $data['location'] = $location;
        }
        $data['ocoach'] = $coach;
        $data['page'] = $page;
        $data['intro'] = $page->intro;
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
    /**
     * 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  array   $parameters
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
    /**
     * 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  array   $parameters
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
     * @param  string  $method
     * @return mixed
     */
    protected function call($instance, $route, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $instance, $method
        );
 
        return $instance->callAction($method, $parameters);
    }
}
 
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
 
        // Here we will make a stack onion instance to execute this request in, which gives
        // us the ability to define middlewares on controllers. We will return the given
        // response back out so that "after" filters can be run after the middlewares.
        return (new Pipeline($this->container))
                    ->send($request)
                    ->through($middleware)
                    ->then(function ($request) use ($instance, $route, $method) {
                        return $this->router->prepareResponse(
                            $request, $this->call($instance, $route, $method)
                        );
                    });
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $instance
     * @param  string  $method
     * @return array
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return call_user_func($destination, $passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return call_user_func($destination, $passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
 
        $pipes = array_reverse($this->pipes);
 
        return call_user_func(
            array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
        );
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
 
        $pipes = array_reverse($this->pipes);
 
        return call_user_func(
            array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
        );
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
        // us the ability to define middlewares on controllers. We will return the given
        // response back out so that "after" filters can be run after the middlewares.
        return (new Pipeline($this->container))
                    ->send($request)
                    ->through($middleware)
                    ->then(function ($request) use ($instance, $route, $method) {
                        return $this->router->prepareResponse(
                            $request, $this->call($instance, $route, $method)
                        );
                    });
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $instance
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($instance, $method)
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
     * @param  \Illuminate\Http\Request  $request
     * @param  string  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, Request $request, $controller, $method)
    {
        $instance = $this->makeController($controller);
 
        return $this->callWithinStack($instance, $route, $request, $method);
    }
 
    /**
     * Make a controller instance via the IoC container.
     *
     * @param  string  $controller
     * @return mixed
     */
    protected function makeController($controller)
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController(Request $request)
    {
        list($class, $method) = explode('@', $this->action['uses']);
 
        return (new ControllerDispatcher($this->router, $this->container))
                    ->dispatch($this, $request, $class, $method);
    }
 
    /**
     * Determine if the route matches given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  bool  $includingMethod
     * @return bool
     */
    public function matches(Request $request, $includingMethod = true)
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Route.php
    public function run(Request $request)
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if (! is_string($this->action['uses'])) {
                return $this->runCallable($request);
            }
 
            return $this->runController($request);
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Run the route action and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddlewares($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request,
                                $route->run($request)
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return call_user_func($destination, $passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return call_user_func($destination, $passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
 
        $pipes = array_reverse($this->pipes);
 
        return call_user_func(
            array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
        );
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
 
        $pipes = array_reverse($this->pipes);
 
        return call_user_func(
            array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
        );
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request,
                                $route->run($request)
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddlewares(Route $route)
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        // receive access to this route instance for checking of the parameters.
        $route = $this->findRoute($request);
 
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->fire(new Events\RouteMatched($route, $request));
 
        $response = $this->runRouteWithinStack($route, $request);
 
        return $this->prepareResponse($request, $response);
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        $response = $this->dispatchToRoute($request);
 
        return $this->prepareResponse($request, $response);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Determine if the kernel has a given middleware.
     *
     * @param  string  $middleware
     * @return bool
     */
    public function hasMiddleware($middleware)
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return call_user_func($destination, $passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return call_user_func($destination, $passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
        // 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);
    }
}
 
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
        // do not make use of PHP "native" sessions in any way since they are crappy.
        if ($this->sessionConfigured()) {
            $session = $this->startSession($request);
 
            $request->setSession($session);
 
            $this->collectGarbage($session);
        }
 
        $response = $next($request);
 
        // 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.
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            throw new HttpException(503);
        }
 
        return $next($request);
    }
}
 
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
 
                    $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];
                }
 
                return call_user_func_array([$pipe, $this->method], $parameters);
            };
        };
    }
 
    /**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
 
                    return call_user_func($slice($stack, $pipe), $passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
 
        $pipes = array_reverse($this->pipes);
 
        return call_user_func(
            array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
        );
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
 
        $pipes = array_reverse($this->pipes);
 
        return call_user_func(
            array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
        );
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
/home/fitenslank/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
/home/fitenslank/public_html/index.php
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/

$kernel = $app->make('Illuminate\Contracts\Http\Kernel');

$response = $kernel->handle(
	$request = Illuminate\Http\Request::capture()
);

$response->send();

$kernel->terminate($request, $response);
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"fitenslank"
HOME
"/home/fitenslank"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/cursusmoment/order/6/7097"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/cursusmoment/order/6/7097"
REMOTE_PORT
"11080"
SCRIPT_FILENAME
"/home/fitenslank/public_html/index.php"
SERVER_ADMIN
"[email protected]"
CONTEXT_DOCUMENT_ROOT
"/home/fitenslank/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/fitenslank/public_html"
REMOTE_ADDR
"172.71.223.176"
SERVER_PORT
"443"
SERVER_ADDR
"77.75.48.66"
SERVER_NAME
"www.fitenslank.nl"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"54.225.1.66"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_RAY
"866a34024de0208a-IAD"
HTTP_X_FORWARDED_FOR
"54.225.1.66"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"www.fitenslank.nl"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"www.fitenslank.nl"
HTTPS
"on"
UNIQUE_ID
"Zfj_bBINrcYuYO_KognrTgAAAIo"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"www.fitenslank.nl"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"Zfj_bBINrcYuYO_KognrTgAAAIo"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710817132,0694
REQUEST_TIME
1710817132
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler