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

Trying to get property of non-object

Stack frames (63):
62 ErrorException
…/­app/­Services/­ShoppingCart.php101
61 Illuminate\Foundation\Bootstrap\HandleExceptions handleError
…/­app/­Services/­ShoppingCart.php101
60 App\Services\ShoppingCart getWinkelwagen
…/­app/­Services/­ShoppingCart.php60
59 App\Services\ShoppingCart get
…/­app/­Http/­Controllers/­frontend/­custom/­ShopcartController.php95
58 App\Http\Controllers\frontend\custom\ShopcartController getCart
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php80
57 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php80
56 Illuminate\Routing\Controller callAction
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php146
55 Illuminate\Routing\ControllerDispatcher call
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php94
54 Illuminate\Routing\ControllerDispatcher Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
53 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
52 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
51 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
50 Illuminate\Pipeline\Pipeline then
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php96
49 Illuminate\Routing\ControllerDispatcher callWithinStack
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php54
48 Illuminate\Routing\ControllerDispatcher dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php174
47 Illuminate\Routing\Route runController
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php140
46 Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php724
45 Illuminate\Routing\Router Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
44 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
43 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
42 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php102
41 Illuminate\Pipeline\Pipeline then
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php726
40 Illuminate\Routing\Router runRouteWithinStack
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php699
39 Illuminate\Routing\Router dispatchToRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php675
38 Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Http/­Kernel.php246
37 Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
36 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php52
35 Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Http/­Middleware/­VerifyCsrfToken.php64
34 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
…/­app/­Http/­Middleware/­VerifyCsrfToken.php27
33 App\Http\Middleware\VerifyCsrfToken handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
32 call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Pipeline/­Pipeline.php136
31 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
30 call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Pipeline.php32
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/­stiphoutrkdmedia/­public_html/­index.php52
/home/stiphoutrkdmedia/CMS/app/Services/ShoppingCart.php
        $this->wwItemsRepository->save($wwItem);

    }

    private function getWinkelwagen(): Winkelwagen
    {

        $gebruiker = Auth::guard('gebruikers')->user();
        $winkelwagen = $gebruiker->winkelwagen->where('active1','=', 0)->first();

        $sessionKey = 'winkelwagen_code';
        if($winkelwagen) {
            $winkelwagenCode = $winkelwagen->name;
        }else {
            $winkelwagenCode = str_random(40);
        }

        if ($winkelwagenCode !== null) {
            $winkelwagen = $this->winkelwagenRepository->getByCode($winkelwagenCode);
/home/stiphoutrkdmedia/CMS/app/Services/ShoppingCart.php
        $this->wwItemsRepository->save($wwItem);

    }

    private function getWinkelwagen(): Winkelwagen
    {

        $gebruiker = Auth::guard('gebruikers')->user();
        $winkelwagen = $gebruiker->winkelwagen->where('active1','=', 0)->first();

        $sessionKey = 'winkelwagen_code';
        if($winkelwagen) {
            $winkelwagenCode = $winkelwagen->name;
        }else {
            $winkelwagenCode = str_random(40);
        }

        if ($winkelwagenCode !== null) {
            $winkelwagen = $this->winkelwagenRepository->getByCode($winkelwagenCode);
/home/stiphoutrkdmedia/CMS/app/Services/ShoppingCart.php
            $wwItem->producten()->attach($product);
        }
        $wwItem->aantal += $amount;

        $this->wwItemsRepository->save($wwItem);
    }

    public function get(): Winkelwagen
    {
        return $this->getWinkelwagen();
    }
    public function delete(): void{
        $this->session->set('winkelwagen_code', str_random(40));
    }

    public function getTotal(): float
    {
        $amount = 0;
        $winkelwagen = $this->getWinkelwagen();
        foreach($winkelwagen->wwitems()->get() as $wwitem) {
/home/stiphoutrkdmedia/CMS/app/Http/Controllers/frontend/custom/ShopcartController.php
        return redirect('/winkelwagen');
    }

    public function getCart()
    {
        $page = getPage('shopcart');
        $data = array();
        $data['page'] = $page;
        $data['intro'] = $page->intro;
        $data['shopcart'] = $this->shoppingCart->get();
        return view($page->template_file)->with($data);
    }

    public function getCartbyCode($code)

    {
        $page = getPage('shopcart');
        $data = array();
        $data['page'] = $page;
        $data['intro'] = $page->intro;
/home/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/CMS/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
     */
    public function handle($request, Closure $next)
    {
        if (
            $this->isReading($request) ||
            $this->runningUnitTests() ||
            $this->shouldPassThrough($request) ||
            $this->tokensMatch($request)
        ) {
            return $this->addCookieToResponse($request, $next($request));
        }
 
        throw new TokenMismatchException;
    }
 
    /**
     * Determine if the request has a URI that should pass through CSRF verification.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
/home/stiphoutrkdmedia/CMS/app/Http/Middleware/VerifyCsrfToken.php
        'https://stiphoutdrankencentrum.nl/winkelwagen/update/*/*',
    ];

    public function handle($request, Closure $next)
    {
        if (strpos($request->path(), 'datatables') !== false) {
            return parent::addCookieToResponse($request, $next($request));
        }

        return parent::handle($request, $next);
    }



}
 
/home/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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/stiphoutrkdmedia/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
"stiphoutrkdmedia"
HOME
"/home/stiphoutrkdmedia"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/winkelwagen"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/winkelwagen"
REMOTE_PORT
"37260"
SCRIPT_FILENAME
"/home/stiphoutrkdmedia/public_html/index.php"
SERVER_ADMIN
"webmaster@stiphoutdrankencentrum.nl"
CONTEXT_DOCUMENT_ROOT
"/home/stiphoutrkdmedia/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/stiphoutrkdmedia/public_html"
REMOTE_ADDR
"52.90.181.205"
SERVER_PORT
"443"
SERVER_ADDR
"77.75.48.66"
SERVER_NAME
"stiphoutdrankencentrum.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_HOST
"stiphoutdrankencentrum.nl"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"stiphoutdrankencentrum.nl"
HTTPS
"on"
UNIQUE_ID
"ZflHZs8mjXWV57FffMgJ0wAAAQw"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"stiphoutdrankencentrum.nl"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"ZflHZs8mjXWV57FffMgJ0wAAAQw"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710835558,7955
REQUEST_TIME
1710835558
argv
[]
argc
0
APP_ENV
"local"
APP_DEBUG
"true"
APP_KEY
"base64:S77D35SoEqrDenTdeypeKPrJo5XWjQIqBUaJprvRKz8="
APP_URL
"localhost"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"stiphoutrkdmedia_220919"
DB_USERNAME
"stiphoutrkdmedia_RKDadmin"
DB_PASSWORD
"cgkxHEn3+V;_"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
Key Value
APP_ENV
"local"
APP_DEBUG
"true"
APP_KEY
"base64:S77D35SoEqrDenTdeypeKPrJo5XWjQIqBUaJprvRKz8="
APP_URL
"localhost"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"stiphoutrkdmedia_220919"
DB_USERNAME
"stiphoutrkdmedia_RKDadmin"
DB_PASSWORD
"cgkxHEn3+V;_"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
0. Whoops\Handler\PrettyPageHandler