Exception
Not AJAX request Exception thrown with message "Not AJAX request" Stacktrace: #32 Exception in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/core/webas/feedback-module/src/Http/Controller/ButtonsController.php:64 #31 Webas\FeedbackModule\Http\Controller\ButtonsController:index in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:9584 #30 call_user_func_array in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:9584 #29 Illuminate\Routing\Controller:callAction in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:9611 #28 Illuminate\Routing\ControllerDispatcher:dispatch in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:8665 #27 Illuminate\Routing\Route:runController in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:8646 #26 Illuminate\Routing\Route:run in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:8355 #25 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #24 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10054 #23 Illuminate\Pipeline\Pipeline:then in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:8356 #22 Illuminate\Routing\Router:runRouteWithinStack in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:8347 #21 Illuminate\Routing\Router:dispatchToRoute in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:8338 #20 Illuminate\Routing\Router:dispatch in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:2575 #19 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php:88 #17 Anomaly\Streams\Platform\Http\Middleware\SetLocale:handle in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10069 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:33 #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:13749 #14 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10069 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:33 #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:12155 #11 Illuminate\Session\Middleware\StartSession:handle in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10069 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:33 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:13495 #8 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10069 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:33 #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:13432 #5 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10069 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:33 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:10054 #2 Illuminate\Pipeline\Pipeline:then in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:2519 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php:2503 #0 Illuminate\Foundation\Http\Kernel:handle in /home/salcinin/domains/eisiskiugimnazija.lt/public_html/public/index.php:53
Stack frames (33)
32
Exception
/core/webas/feedback-module/src/Http/Controller/ButtonsController.php64
31
Webas\FeedbackModule\Http\Controller\ButtonsController index
/bootstrap/cache/compiled.php9584
30
call_user_func_array
/bootstrap/cache/compiled.php9584
29
Illuminate\Routing\Controller callAction
/bootstrap/cache/compiled.php9611
28
Illuminate\Routing\ControllerDispatcher dispatch
/bootstrap/cache/compiled.php8665
27
Illuminate\Routing\Route runController
/bootstrap/cache/compiled.php8646
26
Illuminate\Routing\Route run
/bootstrap/cache/compiled.php8355
25
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
24
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/bootstrap/cache/compiled.php10054
23
Illuminate\Pipeline\Pipeline then
/bootstrap/cache/compiled.php8356
22
Illuminate\Routing\Router runRouteWithinStack
/bootstrap/cache/compiled.php8347
21
Illuminate\Routing\Router dispatchToRoute
/bootstrap/cache/compiled.php8338
20
Illuminate\Routing\Router dispatch
/bootstrap/cache/compiled.php2575
19
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
18
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php88
17
Anomaly\Streams\Platform\Http\Middleware\SetLocale handle
/bootstrap/cache/compiled.php10069
16
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php33
15
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/bootstrap/cache/compiled.php13749
14
Illuminate\View\Middleware\ShareErrorsFromSession handle
/bootstrap/cache/compiled.php10069
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php33
12
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/bootstrap/cache/compiled.php12155
11
Illuminate\Session\Middleware\StartSession handle
/bootstrap/cache/compiled.php10069
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php33
9
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/bootstrap/cache/compiled.php13495
8
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/bootstrap/cache/compiled.php10069
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php33
6
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/bootstrap/cache/compiled.php13432
5
Illuminate\Cookie\Middleware\EncryptCookies handle
/bootstrap/cache/compiled.php10069
4
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php33
3
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/bootstrap/cache/compiled.php10054
2
Illuminate\Pipeline\Pipeline then
/bootstrap/cache/compiled.php2519
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/bootstrap/cache/compiled.php2503
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php53
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/core/webas/feedback-module/src/Http/Controller/ButtonsController.php
                    $post['slug']
                ));
            }
 
            if ($click = $this->getClick($post)) {
                $click->increment('count');
 
                return response()->json([
                    'success' => true,
                ]);
            }
 
            if ($this->createNewClick($post)) {
                return response()->json([
                    'success' => true,
                ]);
            }
        }
 
        throw new \Exception(
            'Not AJAX request'
        );
    }
 
    private function createNewClick($post)
    {
        $data = [
            'entry_type' => $post['entry_type'],
            'entry_id' => $post['entry_id'],
            'slug' => $post['slug'],
            'count' => 1,
        ];
 
        return $this->clicks->create($data);
    }
 
    private function getClick($post)
    {
        return $this->clicks
            ->newQuery()
Arguments
  1. "Not AJAX request"
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
namespace Illuminate\Routing {
use BadMethodCallException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
abstract class Controller
{
    protected $middleware = [];
    public function middleware($middleware, array $options = [])
    {
        foreach ((array) $middleware as $m) {
            $this->middleware[] = ['middleware' => $m, 'options' => &$options];
        }
        return new ControllerMiddlewareOptions($options);
    }
    public function getMiddleware()
    {
        return $this->middleware;
    }
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
    public function missingMethod($parameters = [])
    {
        throw new NotFoundHttpException('Controller method not found.');
    }
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException("Method [{$method}] does not exist.");
    }
}
}
 
namespace Illuminate\Routing {
use Illuminate\Container\Container;
class ControllerDispatcher
{
    use RouteDependencyResolverTrait;
    protected $container;
    public function __construct(Container $container)
    {
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
namespace Illuminate\Routing {
use BadMethodCallException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
abstract class Controller
{
    protected $middleware = [];
    public function middleware($middleware, array $options = [])
    {
        foreach ((array) $middleware as $m) {
            $this->middleware[] = ['middleware' => $m, 'options' => &$options];
        }
        return new ControllerMiddlewareOptions($options);
    }
    public function getMiddleware()
    {
        return $this->middleware;
    }
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
    public function missingMethod($parameters = [])
    {
        throw new NotFoundHttpException('Controller method not found.');
    }
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException("Method [{$method}] does not exist.");
    }
}
}
 
namespace Illuminate\Routing {
use Illuminate\Container\Container;
class ControllerDispatcher
{
    use RouteDependencyResolverTrait;
    protected $container;
    public function __construct(Container $container)
    {
Arguments
  1. array:2 [
      0 => ButtonsController {#3003}
      1 => "index"
    ]
    
  2. []
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
        throw new BadMethodCallException("Method [{$method}] does not exist.");
    }
}
}
 
namespace Illuminate\Routing {
use Illuminate\Container\Container;
class ControllerDispatcher
{
    use RouteDependencyResolverTrait;
    protected $container;
    public function __construct(Container $container)
    {
        $this->container = $container;
    }
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies($route->parametersWithoutNulls(), $controller, $method);
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
        return call_user_func_array([$controller, $method], $parameters);
    }
    public static function getMiddleware($controller, $method)
    {
        if (!method_exists($controller, 'getMiddleware')) {
            return [];
        }
        return collect($controller->getMiddleware())->reject(function ($data) use($method) {
            return static::methodExcludedByOptions($method, $data['options']);
        })->pluck('middleware')->all();
    }
    protected static function methodExcludedByOptions($method, array $options)
    {
        return isset($options['only']) && !in_array($method, (array) $options['only']) || !empty($options['except']) && in_array($method, (array) $options['except']);
    }
}
}
 
namespace Illuminate\Routing {
Arguments
  1. "index"
    
  2. []
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
                return $this->runController();
            }
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
    protected function runCallable()
    {
        $parameters = $this->resolveMethodDependencies($this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses']));
        $callable = $this->action['uses'];
        return $callable(...array_values($parameters));
    }
    protected function runController()
    {
        return (new ControllerDispatcher($this->container))->dispatch($this, $this->getController(), $this->getControllerMethod());
    }
    public function getController()
    {
        list($class) = explode('@', $this->action['uses']);
        if (!$this->controller) {
            $this->controller = $this->container->make($class);
        }
        return $this->controller;
    }
    protected function getControllerMethod()
    {
        return explode('@', $this->action['uses'])[1];
    }
    public function matches(Request $request, $includingMethod = true)
    {
        $this->compileRoute();
        foreach ($this->getValidators() as $validator) {
            if (!$includingMethod && $validator instanceof MethodValidator) {
                continue;
            }
Arguments
  1. Route {#1141}
    
  2. ButtonsController {#3003}
    
  3. "index"
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    protected $container;
    public static $validators;
    public function __construct($methods, $uri, $action)
    {
        $this->uri = $uri;
        $this->methods = (array) $methods;
        $this->action = $this->parseAction($action);
        if (in_array('GET', $this->methods) && !in_array('HEAD', $this->methods)) {
            $this->methods[] = 'HEAD';
        }
        if (isset($this->action['prefix'])) {
            $this->prefix($this->action['prefix']);
        }
    }
    public function run(Request $request)
    {
        $this->container = $this->container ?: new Container();
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
    protected function runCallable()
    {
        $parameters = $this->resolveMethodDependencies($this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses']));
        $callable = $this->action['uses'];
        return $callable(...array_values($parameters));
    }
    protected function runController()
    {
        return (new ControllerDispatcher($this->container))->dispatch($this, $this->getController(), $this->getControllerMethod());
    }
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    {
        $this->currentRequest = $request;
        return $this->dispatchToRoute($request);
    }
    public function dispatchToRoute(Request $request)
    {
        $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);
    }
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === true;
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
        return (new Pipeline($this->container))->send($request)->through($middleware)->then(function ($request) use($route) {
            return $this->prepareResponse($request, $route->run($request));
        });
    }
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) $this->resolveMiddlewareClassName($name);
        })->flatten();
        return $this->sortMiddleware($middleware);
    }
    public function resolveMiddlewareClassName($name)
    {
        $map = $this->middleware;
        if ($name instanceof Closure) {
            return $name;
        } elseif (isset($map[$name]) && $map[$name] instanceof Closure) {
            return $map[$name];
        } elseif (isset($this->middlewareGroups[$name])) {
            return $this->parseMiddlewareGroup($name);
        } else {
            list($name, $parameters) = array_pad(explode(':', $name, 2), 2, null);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
        if (! $this->container->bound(ExceptionHandler::class) || ! $passable instanceof Request) {
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function send($passable)
    {
        $this->passable = $passable;
        return $this;
    }
    public function through($pipes)
    {
        $this->pipes = is_array($pipes) ? $pipes : func_get_args();
        return $this;
    }
    public function via($method)
    {
        $this->method = $method;
        return $this;
    }
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
        $this->currentRequest = $request;
        return $this->dispatchToRoute($request);
    }
    public function dispatchToRoute(Request $request)
    {
        $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);
    }
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === true;
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
        return (new Pipeline($this->container))->send($request)->through($middleware)->then(function ($request) use($route) {
            return $this->prepareResponse($request, $route->run($request));
        });
    }
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) $this->resolveMiddlewareClassName($name);
        })->flatten();
        return $this->sortMiddleware($middleware);
    }
    public function resolveMiddlewareClassName($name)
    {
        $map = $this->middleware;
        if ($name instanceof Closure) {
            return $name;
        } elseif (isset($map[$name]) && $map[$name] instanceof Closure) {
            return $map[$name];
        } elseif (isset($this->middlewareGroups[$name])) {
            return $this->parseMiddlewareGroup($name);
        } else {
            list($name, $parameters) = array_pad(explode(':', $name, 2), 2, null);
            return (isset($map[$name]) ? $map[$name] : $name) . (!is_null($parameters) ? ':' . $parameters : '');
Arguments
  1. Closure {#3000
      class: "Illuminate\Routing\Router"
      this: Router {#24 …}
      parameters: {
        $request: {}
      }
      use: {
        $route: Route {#1141}
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
      line: "8354 to 8356"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
        return $action;
    }
    protected function prependGroupUses($uses)
    {
        $group = end($this->groupStack);
        return isset($group['namespace']) && strpos($uses, '\\') !== 0 ? $group['namespace'] . '\\' . $uses : $uses;
    }
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
        return $this->dispatchToRoute($request);
    }
    public function dispatchToRoute(Request $request)
    {
        $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);
    }
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === true;
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
        return (new Pipeline($this->container))->send($request)->through($middleware)->then(function ($request) use($route) {
            return $this->prepareResponse($request, $route->run($request));
        });
    }
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) $this->resolveMiddlewareClassName($name);
        })->flatten();
        return $this->sortMiddleware($middleware);
    }
    public function resolveMiddlewareClassName($name)
    {
        $map = $this->middleware;
Arguments
  1. Route {#1141}
    
  2. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    protected function convertToControllerAction($action)
    {
        if (is_string($action)) {
            $action = ['uses' => $action];
        }
        if (!empty($this->groupStack)) {
            $action['uses'] = $this->prependGroupUses($action['uses']);
        }
        $action['controller'] = $action['uses'];
        return $action;
    }
    protected function prependGroupUses($uses)
    {
        $group = end($this->groupStack);
        return isset($group['namespace']) && strpos($uses, '\\') !== 0 ? $group['namespace'] . '\\' . $uses : $uses;
    }
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
        return $this->dispatchToRoute($request);
    }
    public function dispatchToRoute(Request $request)
    {
        $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);
    }
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === true;
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
        return (new Pipeline($this->container))->send($request)->through($middleware)->then(function ($request) use($route) {
            return $this->prepareResponse($request, $route->run($request));
        });
    }
    public function gatherRouteMiddleware(Route $route)
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
        return $this;
    }
    public function pushMiddleware($middleware)
    {
        if (array_search($middleware, $this->middleware) === false) {
            $this->middleware[] = $middleware;
        }
        return $this;
    }
    public function bootstrap()
    {
        if (!$this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
            return $this->router->dispatch($request);
        };
    }
    public function hasMiddleware($middleware)
    {
        return in_array($middleware, $this->middleware);
    }
    protected function bootstrappers()
    {
        return $this->bootstrappers;
    }
    protected function reportException(Exception $e)
    {
        $this->app[ExceptionHandler::class]->report($e);
    }
    protected function renderException($request, Exception $e)
    {
        return $this->app[ExceptionHandler::class]->render($request, $e);
    }
    public function getApplication()
    {
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
        if (! $this->container->bound(ExceptionHandler::class) || ! $passable instanceof Request) {
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php
            if ($locale) {
                $request->session()->put('_locale', $locale);
            } else {
                $request->session()->remove('_locale');
            }
 
            return $this->redirect->back();
        }
 
        if ($locale = $request->session()->get('_locale')) {
            $this->application->setLocale($locale);
 
            $this->config->set('_locale', $locale);
        }
 
        if (!$locale) {
            $this->application->setLocale($this->config->get('streams::locales.default'));
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use($destination) {
            return $destination($passable);
        };
    }
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
        return [$name, $parameters];
    }
    protected function getContainer()
    {
        if (!$this->container) {
Arguments
  1. Request {#40}
    
  2. Closure {#2650
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#28 …}
      parameters: {
        $passable: {}
      }
      use: {
        $destination: Closure {#2651
          class: "Illuminate\Foundation\Http\Kernel"
          this: Kernel {#25 …}
          parameters: {
            $request: {}
          }
          file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
          line: "2573 to 2576"
        }
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "51 to 59"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
        $this->dispatcher = $dispatcher;
    }
}
}
 
namespace Illuminate\View\Middleware {
use Closure;
use Illuminate\Support\ViewErrorBag;
use Illuminate\Contracts\View\Factory as ViewFactory;
class ShareErrorsFromSession
{
    protected $view;
    public function __construct(ViewFactory $view)
    {
        $this->view = $view;
    }
    public function handle($request, Closure $next)
    {
        $this->view->share('errors', $request->session()->get('errors') ?: new ViewErrorBag());
        return $next($request);
    }
}
}
 
namespace Monolog {
use Monolog\Handler\HandlerInterface;
use Monolog\Handler\StreamHandler;
use Psr\Log\LoggerInterface;
use Psr\Log\InvalidArgumentException;
class Logger implements LoggerInterface
{
    const DEBUG = 100;
    const INFO = 200;
    const NOTICE = 250;
    const WARNING = 300;
    const ERROR = 400;
    const CRITICAL = 500;
    const ALERT = 550;
    const EMERGENCY = 600;
    const API = 1;
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use($destination) {
            return $destination($passable);
        };
    }
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
        return [$name, $parameters];
    }
    protected function getContainer()
    {
        if (!$this->container) {
Arguments
  1. Request {#40}
    
  2. Closure {#2660
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#28 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#2650
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#28 …}
          parameters: {
            $passable: {}
          }
          use: {
            $destination: Closure {#2651
              class: "Illuminate\Foundation\Http\Kernel"
              this: Kernel {#25 …}
              parameters: {
                $request: {}
              }
              file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
              line: "2573 to 2576"
            }
          }
          file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "51 to 59"
        }
        $pipe: "Anomaly\Streams\Platform\Http\Middleware\SetLocale"
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "28 to 39"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
use Illuminate\Session\CookieSessionHandler;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\Response;
class StartSession
{
    protected $manager;
    protected $sessionHandled = false;
    public function __construct(SessionManager $manager)
    {
        $this->manager = $manager;
    }
    public function handle($request, Closure $next)
    {
        $this->sessionHandled = true;
        if ($this->sessionConfigured()) {
            $session = $this->startSession($request);
            $request->setSession($session);
            $this->collectGarbage($session);
        }
        $response = $next($request);
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
            $this->addCookieToResponse($response, $session);
        }
        return $response;
    }
    public function terminate($request, $response)
    {
        if ($this->sessionHandled && $this->sessionConfigured() && !$this->usingCookieSessions()) {
            $this->manager->driver()->save();
        }
    }
    protected function startSession(Request $request)
    {
        $session = $this->getSession($request);
        $session->setRequestOnHandler($request);
        $session->start();
        return $session;
    }
    public function getSession(Request $request)
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use($destination) {
            return $destination($passable);
        };
    }
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
        return [$name, $parameters];
    }
    protected function getContainer()
    {
        if (!$this->container) {
Arguments
  1. Request {#40}
    
  2. Closure {#2658
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#28 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#2660
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#28 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#2650
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#28 …}
              parameters: {
                $passable: {}
              }
              use: {
                $destination: Closure {#2651
                  class: "Illuminate\Foundation\Http\Kernel"
                  this: Kernel {#25 …}
                  parameters: {
                    $request: {}
                  }
                  file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
                  line: "2573 to 2576"
                }
              }
              file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "51 to 59"
            }
            $pipe: "Anomaly\Streams\Platform\Http\Middleware\SetLocale"
          }
          file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "28 to 39"
        }
        $pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "28 to 39"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function isDisabled($name)
    {
        return in_array($name, $this->except);
    }
}
}
 
namespace Illuminate\Cookie\Middleware {
use Closure;
use Illuminate\Contracts\Cookie\QueueingFactory as CookieJar;
class AddQueuedCookiesToResponse
{
    protected $cookies;
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
    public function handle($request, Closure $next)
    {
        $response = $next($request);
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
        return $response;
    }
}
}
 
namespace Illuminate\Encryption {
use RuntimeException;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Contracts\Encryption\EncryptException;
use Illuminate\Contracts\Encryption\Encrypter as EncrypterContract;
class Encrypter implements EncrypterContract
{
    protected $key;
    protected $cipher;
    public function __construct($key, $cipher = 'AES-128-CBC')
    {
        $key = (string) $key;
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use($destination) {
            return $destination($passable);
        };
    }
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
        return [$name, $parameters];
    }
    protected function getContainer()
    {
        if (!$this->container) {
Arguments
  1. Request {#40}
    
  2. Closure {#2657
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#28 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#2658
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#28 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#2660
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#28 …}
              parameters: {
                $passable: {}
              }
              use: {
                $stack: Closure {#2650
                  class: "Illuminate\Routing\Pipeline"
                  this: Pipeline {#28 …}
                  parameters: {
                    $passable: {}
                  }
                  use: {
                    $destination: Closure {#2651
                      class: "Illuminate\Foundation\Http\Kernel"
                      this: Kernel {#25 …}
                      parameters: {
                        $request: {}
                      }
                      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
                      line: "2573 to 2576"
                    }
                  }
                  file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
                  line: "51 to 59"
                }
                $pipe: "Anomaly\Streams\Platform\Http\Middleware\SetLocale"
              }
              file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "28 to 39"
            }
            $pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
          }
          file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "28 to 39"
        }
        $pipe: "Illuminate\Session\Middleware\StartSession"
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "28 to 39"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Contracts\Encryption\Encrypter as EncrypterContract;
class EncryptCookies
{
    protected $encrypter;
    protected $except = [];
    public function __construct(EncrypterContract $encrypter)
    {
        $this->encrypter = $encrypter;
    }
    public function disableFor($cookieName)
    {
        $this->except = array_merge($this->except, (array) $cookieName);
    }
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $c) {
            if ($this->isDisabled($key)) {
                continue;
            }
            try {
                $request->cookies->set($key, $this->decryptCookie($c));
            } catch (DecryptException $e) {
                $request->cookies->set($key, null);
            }
        }
        return $request;
    }
    protected function decryptCookie($cookie)
    {
        return is_array($cookie) ? $this->decryptArray($cookie) : $this->encrypter->decrypt($cookie);
    }
    protected function decryptArray(array $cookie)
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
        return function ($passable) use($destination) {
            return $destination($passable);
        };
    }
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
        return [$name, $parameters];
    }
    protected function getContainer()
    {
        if (!$this->container) {
Arguments
  1. Request {#40}
    
  2. Closure {#2656
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#28 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#2657
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#28 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#2658
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#28 …}
              parameters: {
                $passable: {}
              }
              use: {
                $stack: Closure {#2660
                  class: "Illuminate\Routing\Pipeline"
                  this: Pipeline {#28 …}
                  parameters: {
                    $passable: {}
                  }
                  use: {
                    $stack: Closure {#2650
                      class: "Illuminate\Routing\Pipeline"
                      this: Pipeline {#28 …}
                      parameters: {
                        $passable: {}
                      }
                      use: {
                        $destination: Closure {#2651
                          class: "Illuminate\Foundation\Http\Kernel"
                          this: Kernel {#25 …}
                          parameters: {
                            $request: {}
                          }
                          file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
                          line: "2573 to 2576"
                        }
                      }
                      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
                      line: "51 to 59"
                    }
                    $pipe: "Anomaly\Streams\Platform\Http\Middleware\SetLocale"
                  }
                  file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
                  line: "28 to 39"
                }
                $pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
              }
              file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "28 to 39"
            }
            $pipe: "Illuminate\Session\Middleware\StartSession"
          }
          file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "28 to 39"
        }
        $pipe: "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse"
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "28 to 39"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::getSlice();
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * 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 $destination($passable);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    public function send($passable)
    {
        $this->passable = $passable;
        return $this;
    }
    public function through($pipes)
    {
        $this->pipes = is_array($pipes) ? $pipes : func_get_args();
        return $this;
    }
    public function via($method)
    {
        $this->method = $method;
        return $this;
    }
    public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);
        $callable = array_reduce(array_reverse($this->pipes), $this->getSlice(), $firstSlice);
        return $callable($this->passable);
    }
    protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use($stack, $pipe) {
                if ($pipe instanceof Closure) {
                    return $pipe($passable, $stack);
                } elseif (!is_object($pipe)) {
                    list($name, $parameters) = $this->parsePipeString($pipe);
                    $pipe = $this->getContainer()->make($name);
                    $parameters = array_merge([$passable, $stack], $parameters);
                } else {
                    $parameters = [$passable, $stack];
                }
                return $pipe->{$this->method}(...$parameters);
            };
        };
    }
    protected function getInitialSlice(Closure $destination)
    {
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    {
        try {
            $request->enableHttpMethodParameterOverride();
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
            $response = $this->renderException($request, $e);
        }
        $this->app['events']->fire('kernel.handled', [$request, $response]);
        return $response;
    }
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
        Facade::clearResolvedInstance('request');
        $this->bootstrap();
        return (new Pipeline($this->app))->send($request)->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)->then($this->dispatchToRouter());
    }
    public function terminate($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge($this->gatherRouteMiddleware($request), $this->middleware);
        foreach ($middlewares as $middleware) {
            if (!is_string($middleware)) {
                continue;
            }
            list($name, $parameters) = $this->parseMiddleware($middleware);
            $instance = $this->app->make($name);
            if (method_exists($instance, 'terminate')) {
                $instance->terminate($request, $response);
            }
        }
        $this->app->terminate();
    }
    protected function gatherRouteMiddleware($request)
    {
        if ($route = $request->route()) {
            return $this->router->gatherRouteMiddleware($route);
Arguments
  1. Closure {#2651
      class: "Illuminate\Foundation\Http\Kernel"
      this: Kernel {#25 …}
      parameters: {
        $request: {}
      }
      file: "/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php"
      line: "2573 to 2576"
    }
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/bootstrap/cache/compiled.php
    protected $middlewareGroups = [];
    protected $routeMiddleware = [];
    protected $middlewarePriority = [\Illuminate\Session\Middleware\StartSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \Illuminate\Auth\Middleware\Authenticate::class, \Illuminate\Session\Middleware\AuthenticateSession::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, \Illuminate\Auth\Middleware\Authorize::class];
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
        $router->middlewarePriority = $this->middlewarePriority;
        foreach ($this->middlewareGroups as $key => $middleware) {
            $router->middlewareGroup($key, $middleware);
        }
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->middleware($key, $middleware);
        }
    }
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
            $response = $this->renderException($request, $e);
        }
        $this->app['events']->fire('kernel.handled', [$request, $response]);
        return $response;
    }
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
        Facade::clearResolvedInstance('request');
        $this->bootstrap();
        return (new Pipeline($this->app))->send($request)->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)->then($this->dispatchToRouter());
    }
    public function terminate($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge($this->gatherRouteMiddleware($request), $this->middleware);
Arguments
  1. Request {#40}
    
/home/salcinin/domains/eisiskiugimnazija.lt/public_html/public/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
/*Set locale for carbon human date*/
setlocale(LC_TIME, 'lt_LT.utf8');
 
Arguments
  1. Request {#40}
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
HTTP_ACCEPT
"*/*"
CONTENT_LENGTH
"0"
HTTP_HOST
"eisiskiugimnazija.lt"
HTTP_REFERER
"https://www.eisiskiugimnazija.lt/feedback/action"
HTTP_USER_AGENT
"claudebot"
REDIRECT_UNIQUE_ID
"Zfk7YY0Pq@zoITmyp6geBAAAcRA"
REDIRECT_SCRIPT_URL
"/feedback/action"
REDIRECT_SCRIPT_URI
"https://eisiskiugimnazija.lt/feedback/action"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"eisiskiugimnazija.lt"
REDIRECT_HTTP2
"on"
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"1"
REDIRECT_H2_STREAM_TAG
"113-1"
REDIRECT_STATUS
"200"
UNIQUE_ID
"Zfk7YY0Pq@zoITmyp6geBAAAcRA"
SCRIPT_URL
"/feedback/action"
SCRIPT_URI
"https://eisiskiugimnazija.lt/feedback/action"
HTTP_AUTHORIZATION
""
HTTPS
"on"
SSL_TLS_SNI
"eisiskiugimnazija.lt"
HTTP2
"on"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"1"
H2_STREAM_TAG
"113-1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2"
SERVER_NAME
"eisiskiugimnazija.lt"
SERVER_ADDR
"159.69.75.95"
SERVER_PORT
"443"
REMOTE_ADDR
"3.239.214.173"
DOCUMENT_ROOT
"/home/salcinin/domains/eisiskiugimnazija.lt/public_html/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/salcinin/domains/eisiskiugimnazija.lt/public_html/public"
SERVER_ADMIN
"webmaster@eisiskiugimnazija.lt"
SCRIPT_FILENAME
"/home/salcinin/domains/eisiskiugimnazija.lt/public_html/public/index.php"
REMOTE_PORT
"48976"
REDIRECT_URL
"/feedback/action"
SERVER_PROTOCOL
"HTTP/2.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/feedback/action"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710832481.0086
REQUEST_TIME
1710832481
ORIGINAL_REQUEST_URI
"/feedback/action"
APP_ENV
"local"
APP_DEBUG
"true"
DEBUG_BAR
"false"
INSTALLED
"true"
APP_KEY
"ueQxRHK3hVhKNOTK8g59sXVJUCoaymDm"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"salcinin_www"
DB_USERNAME
"salcinin_www"
DB_PASSWORD
"ePsV1LJNPH"
APPLICATION_NAME
"Default"
APPLICATION_DOMAIN
"www.eisiskiugimnazija.lt"
APPLICATION_REFERENCE
"default"
APP_URL
"https://www.eisiskiugimnazija.lt"
ADMIN_USERNAME
"admin"
LAZY_TRANSLATIONS
"true"
ADMIN_THEME
"pyrocms.theme.accelerant"
DEFAULT_CURRENCY
"EUR"
APP_TIME_FORMAT
"H:i"
APP_LOCALE
"lt"
ENABLED_CURRENCIES
"EUR"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.eisiskiugimnazija.lt"
MAIL_PORT
"587"
MAIL_USERNAME
"web@eisiskiugimnazija.lt"
MAIL_PASSWORD
"w3basw3bas"
MAIL_ENCRYPTION
"null"
RECAPTCHA_KEY
"6LcytisUAAAAAG2BTLV6ivzH0ECI4fRxwEyoIZFM"
RECAPTCHA_SECRET
"6LcytisUAAAAAANY7fUa8QsaE1y3YAW5dL5B6wZ3"
SCOUT_DRIVER
""null""
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
APP_ENV
"local"
APP_DEBUG
"true"
DEBUG_BAR
"false"
INSTALLED
"true"
APP_KEY
"ueQxRHK3hVhKNOTK8g59sXVJUCoaymDm"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"salcinin_www"
DB_USERNAME
"salcinin_www"
DB_PASSWORD
"ePsV1LJNPH"
APPLICATION_NAME
"Default"
APPLICATION_DOMAIN
"www.eisiskiugimnazija.lt"
APPLICATION_REFERENCE
"default"
APP_URL
"https://www.eisiskiugimnazija.lt"
ADMIN_USERNAME
"admin"
LAZY_TRANSLATIONS
"true"
ADMIN_THEME
"pyrocms.theme.accelerant"
DEFAULT_CURRENCY
"EUR"
APP_TIME_FORMAT
"H:i"
APP_LOCALE
"lt"
ENABLED_CURRENCIES
"EUR"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.eisiskiugimnazija.lt"
MAIL_PORT
"587"
MAIL_USERNAME
"web@eisiskiugimnazija.lt"
MAIL_PASSWORD
"w3basw3bas"
MAIL_ENCRYPTION
"null"
RECAPTCHA_KEY
"6LcytisUAAAAAG2BTLV6ivzH0ECI4fRxwEyoIZFM"
RECAPTCHA_SECRET
"6LcytisUAAAAAANY7fUa8QsaE1y3YAW5dL5B6wZ3"
SCOUT_DRIVER
""null""
0. Whoops\Handler\PrettyPageHandler