ame = sha1($this->getFileName()); } return $this->hashedName; } /** * Get the file tokens. * * @return array */ protected function getFileTokens() { $key = $this->getHashedFileName(); if (! isset(static::$files[$key])) { static::$files[$key] = token_get_all(file_get_contents($this->getFileName())); } return static::$files[$key]; } /** * Get the tokens. * * @return array */ protected function getTokens() { if ($this->tokens === null) { $tokens = $this->getFileTokens(); $startLine = $this->getStartLine(); $endLine = $this->getEndLine(); $results = []; $start = false; foreach ($tokens as &$token) { if (! is_array($token)) { if ($start) { $results[] = $token; } continue; } $line = $token[2]; if ($line <= $endLine) { if ($line >= $startLine) { $start = true; $results[] = $token; } continue; } break; } $this->tokens = $results; } return $this->tokens; } /** * Get the classes. * * @return array */ protected function getClasses() { $line = $this->getStartLine(); foreach ($this->getStructures() as $struct) { if ($struct['type'] === 'namespace' && $struct['start'] <= $line && $struct['end'] >= $line ) { return $struct['classes']; } } return []; } /** * Get the functions. * * @return array */ protected function getFunctions() { $key = $this->getHashedFileName(); if (! isset(static::$functions[$key])) { $this->fetchItems(); } return static::$functions[$key]; } /** * Gets the constants. * * @return array */ protected function getConstants() { $key = $this->getHashedFileName(); if (! isset(static::$constants[$key])) { $this->fetchItems(); } return static::$constants[$key]; } /** * Get the structures. * * @return array */ protected function getStructures() { $key = $this->getHashedFileName(); if (! isset(static::$structures[$key])) { $this->fetchItems(); } return static::$structures[$key]; } /** * Fetch the items. * * @return void. */ protected function fetchItems() { $key = $this->getHashedFileName(); $classes = []; $functions = []; $constants = []; $structures = []; $tokens = $this->getFileTokens(); $open = 0; $state = 'start'; $lastState = ''; $prefix = ''; $name = ''; $alias = ''; $isFunc = $isConst = false; $startLine = $lastKnownLine = 0; $structType = $structName = ''; $structIgnore = false; $namespace = ''; $namespaceStartLine = 0; $namespaceBraced = false; $namespaceClasses = []; foreach ($tokens as $token) { if (is_array($token)) { $lastKnownLine = $token[2]; } switch ($state) { case 'start': switch ($token[0]) { case T_NAMESPACE: $structures[] = [ 'type' => 'namespace', 'name' => $namespace, 'start' => $namespaceStartLine, 'end' => $token[2] - 1, 'classes' => $namespaceClasses, ]; $namespace = ''; $namespaceClasses = []; $state = 'namespace'; $namespaceStartLine = $token[2]; break; case T_CLASS: case T_INTERFACE: case T_TRAIT: $state = 'before_structure'; $startLine = $token[2]; $structType = $token[0] == T_CLASS ? 'class' : ($token[0] == T_INTERFACE ? 'interface' : 'trait'); break; case T_USE: $state = 'use'; $prefix = $name = $alias = ''; $isFunc = $isConst = false; break; case T_FUNCTION: $state = 'structure'; $structIgnore = true; break; case T_NEW: $state = 'new'; break; case T_OBJECT_OPERATOR: case T_DOUBLE_COLON: $state = 'invoke'; break; case '}': if ($namespaceBraced) { $structures[] = [ 'type' => 'namespace', 'name' => $namespace, 'start' => $namespaceStartLine, 'end' => $lastKnownLine, 'classes' => $namespaceClasses, ]; $namespaceBraced = false; $namespace = ''; $namespaceClasses = []; } break; } break; case 'namespace': switch ($token[0]) { case T_STRING: case T_NAME_QUALIFIED: $namespace = $token[1]; break; case ';': case '{': $state = 'start'; $namespaceBraced = $token[0] === '{'; break; } break; case 'use': switch ($token[0]) { case T_FUNCTION: $isFunc = true; break; case T_CONST: $isConst = true; break; case T_NS_SEPARATOR: $name .= $token[1]; break; case T_STRING: $name .= $token[1]; $alias = $token[1]; break; case T_NAME_QUALIFIED: $name .= $token[1]; $pieces = explode('\\', $token[1]); $alias = end($pieces); break; case T_AS: $lastState = 'use'; $state = 'alias'; break; case '{': $prefix = $name; $name = $alias = ''; $state = 'use-group'; break; case ',': case ';': if ($name === '' || $name[0] !== '\\') { $name = '\\'.$name; } if ($alias !== '') { if ($isFunc) { $functions[strtolower($alias)] = $name; } elseif ($isConst) { $constants[$alias] = $name; } else { $classes[strtolower($alias)] = $name; $namespaceClasses[strtolower($alias)] = $name; } } $name = $alias = ''; $state = $token === ';' ? 'start' : 'use'; break; } break; case 'use-group': switch ($token[0]) { case T_NS_SEPARATOR: $name .= $token[1]; break; case T_NAME_QUALIFIED: $name .= $token[1]; $pieces = explode('\\', $token[1]); $alias = end($pieces); break; case T_STRING: $name .= $token[1]; $alias = $token[1]; break; case T_AS: $lastState = 'use-group'; $state = 'alias'; break; case ',': case '}': if ($prefix === '' || $prefix[0] !== '\\') { $prefix = '\\'.$prefix; } if ($alias !== '') { if ($isFunc) { $functions[strtolower($alias)] = $prefix.$name; } elseif ($isConst) { $constants[$alias] = $prefix.$name; } else { $classes[strtolower($alias)] = $prefix.$name; $namespaceClasses[strtolower($alias)] = $prefix.$name; } } $name = $alias = ''; $state = $token === '}' ? 'use' : 'use-group'; break; } break; case 'alias': if ($token[0] === T_STRING) { $alias = $token[1]; $state = $lastState; } break; case 'new': switch ($token[0]) { case T_WHITESPACE: case T_COMMENT: case T_DOC_COMMENT: break 2; case T_CLASS: $state = 'structure'; $structIgnore = true; break; default: $state = 'start'; } break; case 'invoke': switch ($token[0]) { case T_WHITESPACE: case T_COMMENT: case T_DOC_COMMENT: break 2; default: $state = 'start'; } break; case 'before_structure': if ($token[0] == T_STRING) { $structName = $token[1]; $state = 'structure'; } break; case 'structure': switch ($token[0]) { case '{': case T_CURLY_OPEN: case T_DOLLAR_OPEN_CURLY_BRACES: $open++; break; case '}': if (--$open == 0) { if (! $structIgnore) { $structures[] = [ 'type' => $structType, 'name' => $structName, 'start' => $startLine, 'end' => $lastKnownLine, ]; } $structIgnore = false; $state = 'start'; } break; } break; } } $structures[] = [ 'type' => 'namespace', 'name' => $namespace, 'start' => $namespaceStartLine, 'end' => PHP_INT_MAX, 'classes' => $namespaceClasses, ]; static::$classes[$key] = $classes; static::$functions[$key] = $functions; static::$constants[$key] = $constants; static::$structures[$key] = $structures; } /** * Returns the namespace associated to the closure. * * @return string */ protected function getClosureNamespaceName() { $startLine = $this->getStartLine(); $endLine = $this->getEndLine(); foreach ($this->getStructures() as $struct) { if ($struct['type'] === 'namespace' && $struct['start'] <= $startLine && $struct['end'] >= $endLine ) { return $struct['name']; } } return ''; } /** * Parse the given token. * * @param string $token * @return array */ protected function parseNameQualified($token) { $pieces = explode('\\', $token); $id_start = array_shift($pieces); $id_start_ci = strtolower($id_start); $id_name = '\\'.implode('\\', $pieces); return [$id_start, $id_start_ci, $id_name]; } } ame = sha1($this->getFileName()); } return $this->hashedName; } /** * Get the file tokens. * * @return array */ protected function getFileTokens() { $key = $this->getHashedFileName(); if (! isset(static::$files[$key])) { static::$files[$key] = token_get_all(file_get_contents($this->getFileName())); } return static::$files[$key]; } /** * Get the tokens. * * @return array */ protected function getTokens() { if ($this->tokens === null) { $tokens = $this->getFileTokens(); $startLine = $this->getStartLine(); $endLine = $this->getEndLine(); $results = []; $start = false; foreach ($tokens as &$token) { if (! is_array($token)) { if ($start) { $results[] = $token; } continue; } $line = $token[2]; if ($line <= $endLine) { if ($line >= $startLine) { $start = true; $results[] = $token; } continue; } break; } $this->tokens = $results; } return $this->tokens; } /** * Get the classes. * * @return array */ protected function getClasses() { $line = $this->getStartLine(); foreach ($this->getStructures() as $struct) { if ($struct['type'] === 'namespace' && $struct['start'] <= $line && $struct['end'] >= $line ) { return $struct['classes']; } } return []; } /** * Get the functions. * * @return array */ protected function getFunctions() { $key = $this->getHashedFileName(); if (! isset(static::$functions[$key])) { $this->fetchItems(); } return static::$functions[$key]; } /** * Gets the constants. * * @return array */ protected function getConstants() { $key = $this->getHashedFileName(); if (! isset(static::$constants[$key])) { $this->fetchItems(); } return static::$constants[$key]; } /** * Get the structures. * * @return array */ protected function getStructures() { $key = $this->getHashedFileName(); if (! isset(static::$structures[$key])) { $this->fetchItems(); } return static::$structures[$key]; } /** * Fetch the items. * * @return void. */ protected function fetchItems() { $key = $this->getHashedFileName(); $classes = []; $functions = []; $constants = []; $structures = []; $tokens = $this->getFileTokens(); $open = 0; $state = 'start'; $lastState = ''; $prefix = ''; $name = ''; $alias = ''; $isFunc = $isConst = false; $startLine = $lastKnownLine = 0; $structType = $structName = ''; $structIgnore = false; $namespace = ''; $namespaceStartLine = 0; $namespaceBraced = false; $namespaceClasses = []; foreach ($tokens as $token) { if (is_array($token)) { $lastKnownLine = $token[2]; } switch ($state) { case 'start': switch ($token[0]) { case T_NAMESPACE: $structures[] = [ 'type' => 'namespace', 'name' => $namespace, 'start' => $namespaceStartLine, 'end' => $token[2] - 1, 'classes' => $namespaceClasses, ]; $namespace = ''; $namespaceClasses = []; $state = 'namespace'; $namespaceStartLine = $token[2]; break; case T_CLASS: case T_INTERFACE: case T_TRAIT: $state = 'before_structure'; $startLine = $token[2]; $structType = $token[0] == T_CLASS ? 'class' : ($token[0] == T_INTERFACE ? 'interface' : 'trait'); break; case T_USE: $state = 'use'; $prefix = $name = $alias = ''; $isFunc = $isConst = false; break; case T_FUNCTION: $state = 'structure'; $structIgnore = true; break; case T_NEW: $state = 'new'; break; case T_OBJECT_OPERATOR: case T_DOUBLE_COLON: $state = 'invoke'; break; case '}': if ($namespaceBraced) { $structures[] = [ 'type' => 'namespace', 'name' => $namespace, 'start' => $namespaceStartLine, 'end' => $lastKnownLine, 'classes' => $namespaceClasses, ]; $namespaceBraced = false; $namespace = ''; $namespaceClasses = []; } break; } break; case 'namespace': switch ($token[0]) { case T_STRING: case T_NAME_QUALIFIED: $namespace = $token[1]; break; case ';': case '{': $state = 'start'; $namespaceBraced = $token[0] === '{'; break; } break; case 'use': switch ($token[0]) { case T_FUNCTION: $isFunc = true; break; case T_CONST: $isConst = true; break; case T_NS_SEPARATOR: $name .= $token[1]; break; case T_STRING: $name .= $token[1]; $alias = $token[1]; break; case T_NAME_QUALIFIED: $name .= $token[1]; $pieces = explode('\\', $token[1]); $alias = end($pieces); break; case T_AS: $lastState = 'use'; $state = 'alias'; break; case '{': $prefix = $name; $name = $alias = ''; $state = 'use-group'; break; case ',': case ';': if ($name === '' || $name[0] !== '\\') { $name = '\\'.$name; } if ($alias !== '') { if ($isFunc) { $functions[strtolower($alias)] = $name; } elseif ($isConst) { $constants[$alias] = $name; } else { $classes[strtolower($alias)] = $name; $namespaceClasses[strtolower($alias)] = $name; } } $name = $alias = ''; $state = $token === ';' ? 'start' : 'use'; break; } break; case 'use-group': switch ($token[0]) { case T_NS_SEPARATOR: $name .= $token[1]; break; case T_NAME_QUALIFIED: $name .= $token[1]; $pieces = explode('\\', $token[1]); $alias = end($pieces); break; case T_STRING: $name .= $token[1]; $alias = $token[1]; break; case T_AS: $lastState = 'use-group'; $state = 'alias'; break; case ',': case '}': if ($prefix === '' || $prefix[0] !== '\\') { $prefix = '\\'.$prefix; } if ($alias !== '') { if ($isFunc) { $functions[strtolower($alias)] = $prefix.$name; } elseif ($isConst) { $constants[$alias] = $prefix.$name; } else { $classes[strtolower($alias)] = $prefix.$name; $namespaceClasses[strtolower($alias)] = $prefix.$name; } } $name = $alias = ''; $state = $token === '}' ? 'use' : 'use-group'; break; } break; case 'alias': if ($token[0] === T_STRING) { $alias = $token[1]; $state = $lastState; } break; case 'new': switch ($token[0]) { case T_WHITESPACE: case T_COMMENT: case T_DOC_COMMENT: break 2; case T_CLASS: $state = 'structure'; $structIgnore = true; break; default: $state = 'start'; } break; case 'invoke': switch ($token[0]) { case T_WHITESPACE: case T_COMMENT: case T_DOC_COMMENT: break 2; default: $state = 'start'; } break; case 'before_structure': if ($token[0] == T_STRING) { $structName = $token[1]; $state = 'structure'; } break; case 'structure': switch ($token[0]) { case '{': case T_CURLY_OPEN: case T_DOLLAR_OPEN_CURLY_BRACES: $open++; break; case '}': if (--$open == 0) { if (! $structIgnore) { $structures[] = [ 'type' => $structType, 'name' => $structName, 'start' => $startLine, 'end' => $lastKnownLine, ]; } $structIgnore = false; $state = 'start'; } break; } break; } } $structures[] = [ 'type' => 'namespace', 'name' => $namespace, 'start' => $namespaceStartLine, 'end' => PHP_INT_MAX, 'classes' => $namespaceClasses, ]; static::$classes[$key] = $classes; static::$functions[$key] = $functions; static::$constants[$key] = $constants; static::$structures[$key] = $structures; } /** * Returns the namespace associated to the closure. * * @return string */ protected function getClosureNamespaceName() { $startLine = $this->getStartLine(); $endLine = $this->getEndLine(); foreach ($this->getStructures() as $struct) { if ($struct['type'] === 'namespace' && $struct['start'] <= $startLine && $struct['end'] >= $endLine ) { return $struct['name']; } } return ''; } /** * Parse the given token. * * @param string $token * @return array */ protected function parseNameQualified($token) { $pieces = explode('\\', $token); $id_start = array_shift($pieces); $id_start_ci = strtolower($id_start); $id_name = '\\'.implode('\\', $pieces); return [$id_start, $id_start_ci, $id_name]; } } Class "Laravel\SerializableClosure\Support\ReflectionClosure" not found (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Class "Laravel\SerializableClosure\Support\ReflectionClosure" not found

Exception

Error

  1. return spl_object_hash($argument);
  2. }
  3. return $argument;
  4. },
  5. $callable instanceof Closure ? (new ReflectionClosure($callable))->getClosureUsedVariables() : [],
  6. );
  7. $class = $callable instanceof Closure ? (new ReflectionClosure($callable))->getClosureCalledClass()?->getName() : null;
  8. $class ??= isset($trace[1]['class']) ? $trace[1]['class'] : null;
  1. * @param array<int, array<string, mixed>> $trace
  2. * @return static|null
  3. */
  4. public static function tryFromTrace(array $trace, callable $callable)
  5. {
  6. if (! is_null($hash = static::hashFromTrace($trace, $callable))) {
  7. $object = static::objectFromTrace($trace);
  8. return new static($hash, $object, $callable);
  9. }
  10. }
  1. * @param callable(): TReturnType $callback
  2. * @return TReturnType
  3. */
  4. function once(callable $callback)
  5. {
  6. $onceable = Onceable::tryFromTrace(
  7. debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2),
  8. $callback,
  9. );
  10. return $onceable ? Once::instance()->value($onceable) : call_user_func($callback);
  1. * @param string $compiledPath
  2. * @return string|null
  3. */
  4. protected function findCompiledView(string $compiledPath)
  5. {
  6. return once(fn () => $this->getKnownPaths())[$compiledPath] ?? null;
  7. }
  8. /**
  9. * Get the list of known paths from the compiler engine.
  10. *
  1. $exception = $previous;
  2. }
  3. $trace = (new Collection($exception->getTrace()))
  4. ->map(function ($frame) {
  5. if ($originalPath = $this->findCompiledView((string) Arr::get($frame, 'file', ''))) {
  6. $frame['file'] = $originalPath;
  7. $frame['line'] = $this->detectLineNumber($frame['file'], $frame['line']);
  8. }
  9. return $frame;
BladeMapper->{closure:Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper::map():90}()
  1. public static function map(array $array, callable $callback)
  2. {
  3. $keys = array_keys($array);
  4. try {
  5. $items = array_map($callback, $array, $keys);
  6. } catch (ArgumentCountError) {
  7. $items = array_map($callback, $array);
  8. }
  9. return array_combine($keys, $items);
  1. * @param callable(TValue, TKey): TMapValue $callback
  2. * @return static<TKey, TMapValue>
  3. */
  4. public function map(callable $callback)
  5. {
  6. return new static(Arr::map($this->items, $callback));
  7. }
  8. /**
  9. * Run a dictionary map over the items.
  10. *
  1. $exception = $previous;
  2. }
  3. $trace = (new Collection($exception->getTrace()))
  4. ->map(function ($frame) {
  5. if ($originalPath = $this->findCompiledView((string) Arr::get($frame, 'file', ''))) {
  6. $frame['file'] = $originalPath;
  7. $frame['line'] = $this->detectLineNumber($frame['file'], $frame['line']);
  8. }
  1. * @param \Throwable $throwable
  2. * @return string
  3. */
  4. public function render(Request $request, Throwable $throwable)
  5. {
  6. $flattenException = $this->bladeMapper->map(
  7. $this->htmlErrorRenderer->render($throwable),
  8. );
  9. $exception = new Exception($flattenException, $request, $this->listener, $this->basePath);
  1. try {
  2. if (config('app.debug')) {
  3. if (app()->has(ExceptionRenderer::class)) {
  4. return $this->renderExceptionWithCustomRenderer($e);
  5. } elseif ($this->container->bound(Renderer::class)) {
  6. return $this->container->make(Renderer::class)->render(request(), $e);
  7. }
  8. }
  9. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  10. } catch (Throwable $e) {
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return $this->finalizeRenderedResponse($request, match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. }, $e);
  7. }
  8. /**
  9. * Prepare the final, rendered response to be returned to the browser.
  1. $handler = $this->container->make(ExceptionHandler::class);
  2. $handler->report($e);
  3. $response = $handler->render($passable, $e);
  4. if (is_object($response) && method_exists($response, 'withException')) {
  5. $response->withException($e);
  6. }
  1. {
  2. return function ($passable) use ($destination) {
  3. try {
  4. return $destination($passable);
  5. } catch (Throwable $e) {
  6. return $this->handleException($passable, $e);
  7. }
  8. };
  9. }
  10. /**
Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}() in /home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/SetLocaleFromUserPreference.php (line 21)
  1. Config::set('app.locale_source', 'system');
  2. $user = $request->user();
  3. if (! $user) {
  4. return $next($request);
  5. }
  6. $userLocale = $user->userlang ?? null;
  7. $useUserLocale = (bool) ($user->use_userlang ?? false);
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}() in /home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/SetLocaleFromSubdomain.php (line 23)
  1. App::setLocale($locale);
  2. // Можно установить и конфиг, если надо
  3. Config::set('app.locale', $locale);
  4. }
  5. return $next($request);
  6. }
  7. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}() in /home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/UpdateUserLastSeenAt.php (line 45)
  1. $user->setAttribute('last_seen_at', $now);
  2. }
  3. }
  4. }
  5. return $next($request);
  6. }
  7. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. }
  2. throw $exception;
  3. }
  4. return $next($request);
  5. }
  6. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. $this->isReading($request) ||
  2. $this->runningUnitTests() ||
  3. $this->inExceptArray($request) ||
  4. $this->tokensMatch($request)
  5. ) {
  6. return tap($next($request), function ($response) use ($request) {
  7. if ($this->shouldAddXsrfTokenCookie()) {
  8. $this->addCookieToResponse($request, $response);
  9. }
  10. });
  11. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. // Putting the errors in the view for every view allows the developer to just
  2. // assume that some errors are always available, which is convenient since
  3. // they don't have to continually run checks for the presence of errors.
  4. return $next($request);
  5. }
  6. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
in /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195} (line 120)
  1. $this->startSession($request, $session)
  2. );
  3. $this->collectGarbage($session);
  4. $response = $next($request);
  5. $this->storeCurrentUrl($request, $session);
  6. $this->addCookieToResponse($response, $session);
  1. if ($this->manager->shouldBlock() ||
  2. ($request->route() instanceof Route && $request->route()->locksFor())) {
  3. return $this->handleRequestWhileBlocking($request, $session, $next);
  4. }
  5. return $this->handleStatefulRequest($request, $session, $next);
  6. }
  7. /**
  8. * Handle the given request within session state.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. * @param \Closure $next
  2. * @return mixed
  3. */
  4. public function handle($request, Closure $next)
  5. {
  6. $response = $next($request);
  7. foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8. $response->headers->setCookie($cookie);
  9. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. * @param \Closure $next
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function handle($request, Closure $next)
  5. {
  6. return $this->encrypt($next($this->decrypt($request)));
  7. }
  8. /**
  9. * Decrypt the cookies on the request.
  10. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
in /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195} (line 137)
  1. );
  2. try {
  3. return $this->withinTransaction !== false
  4. ? $this->getContainer()->make('db')->connection($this->withinTransaction)->transaction(fn () => $pipeline($this->passable))
  5. : $pipeline($this->passable);
  6. } finally {
  7. if ($this->finally) {
  8. ($this->finally)($this->passable);
  9. }
  10. }
  1. $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2. return (new Pipeline($this->container))
  3. ->send($request)
  4. ->through($middleware)
  5. ->then(fn ($request) => $this->prepareResponse(
  6. $request, $route->run()
  7. ));
  8. }
  9. /**
  1. $request->setRouteResolver(fn () => $route);
  2. $this->events->dispatch(new RouteMatched($route, $request));
  3. return $this->prepareResponse($request,
  4. $this->runRouteWithinStack($route, $request)
  5. );
  6. }
  7. /**
  8. * Run the given route within a Stack "onion" instance.
  1. * @param \Illuminate\Http\Request $request
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function dispatchToRoute(Request $request)
  5. {
  6. return $this->runRoute($request, $this->findRoute($request));
  7. }
  8. /**
  9. * Find the route matching a given request.
  10. *
  1. */
  2. public function dispatch(Request $request)
  3. {
  4. $this->currentRequest = $request;
  5. return $this->dispatchToRoute($request);
  6. }
  7. /**
  8. * Dispatch the request to a route and return the response.
  9. *
  1. protected function dispatchToRouter()
  2. {
  3. return function ($request) {
  4. $this->app->instance('request', $request);
  5. return $this->router->dispatch($request);
  6. };
  7. }
  8. /**
  9. * Call the terminate method on any terminable middleware.
in /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197} (line 180)
  1. */
  2. protected function prepareDestination(Closure $destination)
  3. {
  4. return function ($passable) use ($destination) {
  5. try {
  6. return $destination($passable);
  7. } catch (Throwable $e) {
  8. return $this->handleException($passable, $e);
  9. }
  10. };
  11. }
  1. */
  2. public function handle($request, Closure $next)
  3. {
  4. $this->clean($request);
  5. return $next($request);
  6. }
  7. /**
  8. * Clean the request's data.
  9. *
  1. if ($callback($request)) {
  2. return $next($request);
  3. }
  4. }
  5. return parent::handle($request, $next);
  6. }
  7. /**
  8. * Transform the given value.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. */
  2. public function handle($request, Closure $next)
  3. {
  4. $this->clean($request);
  5. return $next($request);
  6. }
  7. /**
  8. * Clean the request's data.
  9. *
  1. if ($callback($request)) {
  2. return $next($request);
  3. }
  4. }
  5. return parent::handle($request, $next);
  6. }
  7. /**
  8. * Transform the given value.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
  2. throw new PostTooLargeException('The POST data is too large.');
  3. }
  4. return $next($request);
  5. }
  6. /**
  7. * Determine the server 'post_max_size' as bytes.
  8. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. null,
  2. $this->getHeaders($data)
  3. );
  4. }
  5. return $next($request);
  6. }
  7. /**
  8. * Determine if the incoming request has a maintenance mode bypass cookie.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
in /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195} (line 48)
  1. * @return \Illuminate\Http\Response
  2. */
  3. public function handle($request, Closure $next)
  4. {
  5. if (! $this->hasMatchingPath($request)) {
  6. return $next($request);
  7. }
  8. $this->cors->setOptions($this->container['config']->get('cors', []));
  9. if ($this->cors->isPreflightRequest($request)) {
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
in /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195} (line 58)
  1. {
  2. $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3. $this->setTrustedProxyIpAddresses($request);
  4. return $next($request);
  5. }
  6. /**
  7. * Sets the trusted proxies on the request.
  8. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. * @param \Closure $next
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function handle(Request $request, Closure $next)
  5. {
  6. return $next($request);
  7. }
  8. /**
  9. * Invoke the deferred callbacks.
  10. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. if (! mb_check_encoding($decodedPath, 'UTF-8')) {
  2. throw new MalformedUrlException;
  3. }
  4. return $next($request);
  5. }
  6. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}() in /home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/NormalizeRequestPath.php (line 50)
  1. $normalizedPath = $trimmedPath;
  2. }
  3. }
  4. if ($normalizedPath === $path) {
  5. return $next($request);
  6. }
  7. $query = parse_url($requestUri, PHP_URL_QUERY);
  8. $normalizedUri = $normalizedPath . ($query ? '?' . $query : '');
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
in /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195} (line 137)
  1. );
  2. try {
  3. return $this->withinTransaction !== false
  4. ? $this->getContainer()->make('db')->connection($this->withinTransaction)->transaction(fn () => $pipeline($this->passable))
  5. : $pipeline($this->passable);
  6. } finally {
  7. if ($this->finally) {
  8. ($this->finally)($this->passable);
  9. }
  10. }
  1. $this->bootstrap();
  2. return (new Pipeline($this->app))
  3. ->send($request)
  4. ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5. ->then($this->dispatchToRouter());
  6. }
  7. /**
  8. * Bootstrap the application for HTTP requests.
  9. *
  1. $this->requestStartedAt = Carbon::now();
  2. try {
  3. $request->enableHttpMethodParameterOverride();
  4. $response = $this->sendRequestThroughRouter($request);
  5. } catch (Throwable $e) {
  6. $this->reportException($e);
  7. $response = $this->renderException($request, $e);
  8. }
  1. */
  2. public function handleRequest(Request $request)
  3. {
  4. $kernel = $this->make(HttpKernelContract::class);
  5. $response = $kernel->handle($request)->send();
  6. $kernel->terminate($request, $response);
  7. }
  8. /**
Application->handleRequest() in /home/srv83227/domains/asted.cloud/public_html/index.php (line 18)
  1. // Register the Composer autoloader...
  2. require __DIR__.'/vendor/autoload.php';
  3. $app = require_once __DIR__.'/bootstrap/app.php';
  4. $app->handleRequest(Request::capture());

Stack Trace

Error
Error:
Class "Laravel\SerializableClosure\Support\ReflectionClosure" not found

  at /home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Support/Onceable.php:76
  at Illuminate\Support\Onceable::hashFromTrace()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Support/Onceable.php:34)
  at Illuminate\Support\Onceable::tryFromTrace()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php:250)
  at once()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Mappers/BladeMapper.php:110)
  at Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper->findCompiledView()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Mappers/BladeMapper.php:91)
  at Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper->{closure:Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper::map():90}()
  at array_map()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:788)
  at Illuminate\Support\Arr::map()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:814)
  at Illuminate\Support\Collection->map()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Mappers/BladeMapper.php:90)
  at Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper->map()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:87)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:879)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:860)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:839)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:738)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:626)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:182)
  at Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}()
     (/home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/SetLocaleFromUserPreference.php:21)
  at App\Http\Middleware\SetLocaleFromUserPreference->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/SetLocaleFromSubdomain.php:23)
  at App\Http\Middleware\SetLocaleFromSubdomain->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/UpdateUserLastSeenAt.php:45)
  at App\Http\Middleware\UpdateUserLastSeenAt->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:87)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:48)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:120)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:36)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:74)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:137)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:821)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:800)
  at Illuminate\Routing\Router->runRoute()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:764)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:753)
  at Illuminate\Routing\Router->dispatch()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->{closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:109)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:48)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:58)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php:22)
  at Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php:26)
  at Illuminate\Http\Middleware\ValidatePathEncoding->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/app/Http/Middleware/NormalizeRequestPath.php:50)
  at App\Http\Middleware\NormalizeRequestPath->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:137)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/srv83227/domains/asted.cloud/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1220)
  at Illuminate\Foundation\Application->handleRequest()
     (/home/srv83227/domains/asted.cloud/public_html/index.php:18)