return "select exists({$select}) as {$this->wrap('exists')}"; } /** * Compile an insert statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param array $values * @return string */ public function compileInsert(Builder $query, array $values) { // Essentially we will force every insert to be treated as a batch insert which // simply makes creating the SQL easier for us since we can utilize the same // basic routine regardless of an amount of records given to us to insert. $table = $this->wrapTable($query->from); if (empty($values)) { return "insert into {$table} default values"; } if (! is_array(reset($values))) { $values = [$values]; } $columns = $this->columnize(array_keys(reset($values))); // We need to build a list of parameter place-holders of values that are bound // to the query. Each insert should have the exact same amount of parameter // bindings so we will loop through the record and parameterize them all. $parameters = collect($values)->map(function ($record) { return '('.$this->parameterize($record).')'; })->implode(', '); return "insert into $table ($columns) values $parameters"; } /** * Compile an insert ignore statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param array $values * @return string * * @throws \RuntimeException */ public function compileInsertOrIgnore(Builder $query, array $values) { throw new RuntimeException('This database engine does not support inserting while ignoring errors.'); } /** * Compile an insert and get ID statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param array $values * @param string $sequence * @return string */ public function compileInsertGetId(Builder $query, $values, $sequence) { return $this->compileInsert($query, $values); } /** * Compile an insert statement using a subquery into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param array $columns * @param string $sql * @return string */ public function compileInsertUsing(Builder $query, array $columns, string $sql) { return "insert into {$this->wrapTable($query->from)} ({$this->columnize($columns)}) $sql"; } /** * Compile an update statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param array $values * @return string */ public function compileUpdate(Builder $query, array $values) { $table = $this->wrapTable($query->from); $columns = $this->compileUpdateColumns($query, $values); $where = $this->compileWheres($query); return trim( isset($query->joins) ? $this->compileUpdateWithJoins($query, $table, $columns, $where) : $this->compileUpdateWithoutJoins($query, $table, $columns, $where) ); } /** * Compile the columns for an update statement. * * @param \Illuminate\Database\Query\Builder $query * @param array $values * @return string */ protected function compileUpdateColumns(Builder $query, array $values) { return collect($values)->map(function ($value, $key) { return $this->wrap($key).' = '.$this->parameter($value); })->implode(', '); } /** * Compile an update statement without joins into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param string $table * @param string $columns * @param string $where * @return string */ protected function compileUpdateWithoutJoins(Builder $query, $table, $columns, $where) { return "update {$table} set {$columns} {$where}"; } /** * Compile an update statement with joins into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param string $table * @param string $columns * @param string $where * @return string */ protected function compileUpdateWithJoins(Builder $query, $table, $columns, $where) { $joins = $this->compileJoins($query, $query->joins); return "update {$table} {$joins} set {$columns} {$where}"; } /** * Compile an "upsert" statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param array $values * @param array $uniqueBy * @param array $update * @return string * * @throws \RuntimeException */ public function compileUpsert(Builder $query, array $values, array $uniqueBy, array $update) { throw new RuntimeException('This database engine does not support upserts.'); } /** * Prepare the bindings for an update statement. * * @param array $bindings * @param array $values * @return array */ public function prepareBindingsForUpdate(array $bindings, array $values) { $cleanBindings = Arr::except($bindings, ['select', 'join']); return array_values( array_merge($bindings['join'], $values, Arr::flatten($cleanBindings)) ); } /** * Compile a delete statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @return string */ public function compileDelete(Builder $query) { $table = $this->wrapTable($query->from); $where = $this->compileWheres($query); return trim( isset($query->joins) ? $this->compileDeleteWithJoins($query, $table, $where) : $this->compileDeleteWithoutJoins($query, $table, $where) ); } /** * Compile a delete statement without joins into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param string $table * @param string $where * @return string */ protected function compileDeleteWithoutJoins(Builder $query, $table, $where) { return "delete from {$table} {$where}"; } /** * Compile a delete statement with joins into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param string $table * @param string $where * @return string */ protected function compileDeleteWithJoins(Builder $query, $table, $where) { $alias = last(explode(' as ', $table)); $joins = $this->compileJoins($query, $query->joins); return "delete {$alias} from {$table} {$joins} {$where}"; } /** * Prepare the bindings for a delete statement. * * @param array $bindings * @return array */ public function prepareBindingsForDelete(array $bindings) { return Arr::flatten( Arr::except($bindings, 'select') ); } /** * Compile a truncate table statement into SQL. * * @param \Illuminate\Database\Query\Builder $query * @return array */ public function compileTruncate(Builder $query) { return ['truncate table '.$this->wrapTable($query->from) => []]; } /** * Compile the lock into SQL. * * @param \Illuminate\Database\Query\Builder $query * @param bool|string $value * @return string */ protected function compileLock(Builder $query, $value) { return is_string($value) ? $value : ''; } /** * Determine if the grammar supports savepoints. * * @return bool */ public function supportsSavepoints() { return true; } /** * Compile the SQL statement to define a savepoint. * * @param string $name * @return string */ public function compileSavepoint($name) { return 'SAVEPOINT '.$name; } /** * Compile the SQL statement to execute a savepoint rollback. * * @param string $name * @return string */ public function compileSavepointRollBack($name) { return 'ROLLBACK TO SAVEPOINT '.$name; } /** * Wrap a value in keyword identifiers. * * @param \Illuminate\Database\Query\Expression|string $value * @param bool $prefixAlias * @return string */ public function wrap($value, $prefixAlias = false) { if ($this->isExpression($value)) { return $this->getValue($value); } // If the value being wrapped has a column alias we will need to separate out // the pieces so we can wrap each of the segments of the expression on its // own, and then join these both back together using the "as" connector. if (stripos($value, ' as ') !== false) { return $this->wrapAliasedValue($value, $prefixAlias); } // If the given value is a JSON selector we will wrap it differently than a // traditional value. We will need to split this path and wrap each part // wrapped, etc. Otherwise, we will simply wrap the value as a string. if ($this->isJsonSelector($value)) { return $this->wrapJsonSelector($value); } return $this->wrapSegments(explode('.', $value)); } /** * Wrap the given JSON selector. * * @param string $value * @return string * * @throws \RuntimeException */ protected function wrapJsonSelector($value) { throw new RuntimeException('This database engine does not support JSON operations.'); } /** * Wrap the given JSON selector for boolean values. * * @param string $value * @return string */ protected function wrapJsonBooleanSelector($value) { return $this->wrapJsonSelector($value); } /** * Wrap the given JSON boolean value. * * @param string $value * @return string */ protected function wrapJsonBooleanValue($value) { return $value; } /** * Split the given JSON selector into the field and the optional path and wrap them separately. * * @param string $column * @return array */ protected function wrapJsonFieldAndPath($column) { $parts = explode('->', $column, 2); $field = $this->wrap($parts[0]); $path = count($parts) > 1 ? ', '.$this->wrapJsonPath($parts[1], '->') : ''; return [$field, $path]; } /** * Wrap the given JSON path. * * @param string $value * @param string $delimiter * @return string */ protected function wrapJsonPath($value, $delimiter = '->') { $value = preg_replace("/([\\\\]+)?\\'/", "''", $value); return '\'$."'.str_replace($delimiter, '"."', $value).'"\''; } /** * Determine if the given string is a JSON selector. * * @param string $value * @return bool */ protected function isJsonSelector($value) { return Str::contains($value, '->'); } /** * Concatenate an array of segments, removing empties. * * @param array $segments * @return string */ protected function concatenate($segments) { return implode(' ', array_filter($segments, function ($value) { return (string) $value !== ''; })); } /** * Remove the leading boolean from a statement. * * @param string $value * @return string */ protected function removeLeadingBoolean($value) { return preg_replace('/and |or /i', '', $value, 1); } /** * Get the grammar specific operators. * * @return array */ public function getOperators() { return $this->operators; } /** * Get the grammar specific bitwise operators. * * @return array */ public function getBitwiseOperators() { return $this->bitwiseOperators; } } file_get_contents(): Read of 473699 bytes failed with errno=14 Bad address (500 Internal Server Error)

Symfony Exception

ViewException

HTTP 500 Internal Server Error

file_get_contents(): Read of 473699 bytes failed with errno=14 Bad address

Exception

Facade\Ignition\Exceptions\ ViewException

  1.         try {
  2.             extract($_data, EXTR_OVERWRITE);
  3.             include $viewFile;
  4.         } catch (Exception $exception) {
  5.             $viewException = new ViewException($exception->getMessage());
  6.             $viewException->setView($viewFile);
  7.             $viewException->setViewData($_data);
  8.             throw $viewException;
  9.         }
  1.         $this->renderException($viewModel);
  2.     }
  3.     protected function renderException(ErrorPageViewModel $exceptionViewModel)
  4.     {
  5.         echo $this->renderer->render(
  6.             'errorPage',
  7.             $exceptionViewModel->toArray()
  8.         );
  9.     }
  10. }
  1.             $solutions
  2.         );
  3.         $viewModel->defaultTab($defaultTab, $defaultTabProps);
  4.         $this->renderException($viewModel);
  5.     }
  6.     public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
  7.     {
  8.         $viewModel = new ErrorPageViewModel(
  1.     }
  2.     public function handle(): ?int
  3.     {
  4.         try {
  5.             $this->errorPageHandler->handle($this->exception);
  6.         } catch (Error $error) {
  7.             // Errors aren't caught by Whoops.
  8.             // Convert the error to an exception and throw again.
  9.             throw new ErrorException(
  1.                 // The HandlerInterface does not require an Exception passed to handle()
  2.                 // and neither of our bundled handlers use it.
  3.                 // However, 3rd party handlers may have already relied on this parameter,
  4.                 // and removing it would be possibly breaking for users.
  5.                 $handlerResponse = $handler->handle($exception);
  6.                 // Collect the content type for possible sending in the headers.
  7.                 $handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
  8.                 if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
  1.             $whoops->appendHandler($this->whoopsHandler());
  2.             $whoops->writeToOutput(false);
  3.             $whoops->allowQuit(false);
  4.         })->handleException($e);
  5.     }
  6.     /**
  7.      * Get the Whoops handler for the application.
  8.      *
  1.      */
  2.     protected function renderExceptionContent(Throwable $e)
  3.     {
  4.         try {
  5.             return config('app.debug') && class_exists(Whoops::class)
  6.                         ? $this->renderExceptionWithWhoops($e)
  7.                         : $this->renderExceptionWithSymfony($e, config('app.debug'));
  8.         } catch (Exception $e) {
  9.             return $this->renderExceptionWithSymfony($e, config('app.debug'));
  10.         }
  11.     }
  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 \Symfony\Component\HttpFoundation\Response
  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);
  7.         }
  8.         if (! $this->isHttpException($e)) {
  9.             $e = new HttpException(500, $e->getMessage());
  10.         }
  1.             return $this->convertValidationExceptionToResponse($e, $request);
  2.         }
  3.         return $this->shouldReturnJson($request, $e)
  4.                     ? $this->prepareJsonResponse($request, $e)
  5.                     : $this->prepareResponse($request, $e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  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.     /**
  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);
  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);
  1.     {
  2.         $pipeline = array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2.         return (new Pipeline($this->container))
  3.                         ->send($request)
  4.                         ->through($middleware)
  5.                         ->then(function ($request) use ($route) {
  6.                             return $this->prepareResponse(
  7.                                 $request, $route->run()
  8.                             );
  9.                         });
  10.     }
  1.         });
  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.
  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;
  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);
  1.      */
  2.     public function handle($request, Closure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response = $this->cors->handlePreflightRequest($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);
  1.     public function handle(Request $request, Closure $next)
  2.     {
  3.         $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
  4.         $this->setTrustedProxyIpAddresses($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Sets the trusted proxies on the request to the value of trustedproxy.proxies
  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.         $pipeline = array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  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.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response = $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response = $this->renderException($request, $e);
  9.         }
Kernel->handle(object(Request)) in /home/axissafe/public_html/public/index.php (line 51)
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel = $app->make(Kernel::class);
  3. $response = tap($kernel->handle(
  4.     $request = Request::capture()
  5. ))->send();
  6. $kernel->terminate($request, $response);

Stack Trace

ViewException
Facade\Ignition\Exceptions\ViewException:
file_get_contents(): Read of 473699 bytes failed with errno=14 Bad address

  at /home/axissafe/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29
  at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'Error: Class &quot;Illuminate\\Database\\Query\\Grammars\\Grammar&quot; not found in file /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php on line 8#0 /home/axissafe/public_html/vendor/composer/ClassLoader.php(576): include()#1 /home/axissafe/public_html/vendor/composer/ClassLoader.php(427): Composer\\Autoload\\{closure}(&#039;/home/axissafe/...&#039;)#2 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(35): Composer\\Autoload\\ClassLoader-&gt;loadClass(&#039;Illuminate\\\\Data...&#039;)#3 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(231): Illuminate\\Database\\MySqlConnection-&gt;getDefaultQueryGrammar()#4 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(219): Illuminate\\Database\\Connection-&gt;useDefaultQueryGrammar()#5 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(278): Illuminate\\Database\\Connection-&gt;__construct(Object(Closure), &#039;axissafe_axissa...&#039;, &#039;&#039;, Array)#6 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(75): Illuminate\\Database\\Connectors\\ConnectionFactory-&gt;createConnection(&#039;mysql&#039;, Object(Closure), &#039;axissafe_axissa...&#039;, &#039;&#039;, Array)#7 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(50): Illuminate\\Database\\Connectors\\ConnectionFactory-&gt;createSingleConnection(Array)#8 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(140): Illuminate\\Database\\Connectors\\ConnectionFactory-&gt;make(Array, &#039;mysql&#039;)#9 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(95): Illuminate\\Database\\DatabaseManager-&gt;makeConnection(&#039;mysql&#039;)#10 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1653): Illuminate\\Database\\DatabaseManager-&gt;connection(&#039;mysql&#039;)#11 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1619): Illuminate\\Database\\Eloquent\\Model::resolveConnection(NULL)#12 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1425): Illuminate\\Database\\Eloquent\\Model-&gt;getConnection()#13 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1342): Illuminate\\Database\\Eloquent\\Model-&gt;newBaseQueryBuilder()#14 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1378): Illuminate\\Database\\Eloquent\\Model-&gt;newModelQuery()#15 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1331): Illuminate\\Database\\Eloquent\\Model-&gt;newQueryWithoutScopes()#16 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1321): Illuminate\\Database\\Eloquent\\Model-&gt;newQuery()#17 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(580): Illuminate\\Database\\Eloquent\\Model::query()#18 /home/axissafe/public_html/app/Http/Controllers/Frontend/ProductController.php(33): Illuminate\\Database\\Eloquent\\Model::with(Array)#19 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\Frontend\\ProductController-&gt;productDetails(Object(Illuminate\\Http\\Request), &#039;simplex-johnson...&#039;)#20 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller-&gt;callAction(&#039;productDetails&#039;, Array)#21 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(261): Illuminate\\Routing\\ControllerDispatcher-&gt;dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Frontend\\ProductController), &#039;productDetails&#039;)#22 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route-&gt;runController()#23 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\\Routing\\Route-&gt;run()#24 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))#25 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#26 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#27 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#29 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#30 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#31 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#32 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession-&gt;handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))#33 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#34 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#35 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#36 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#37 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#38 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#39 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(719): Illuminate\\Pipeline\\Pipeline-&gt;then(Object(Closure))#40 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\\Routing\\Router-&gt;runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#41 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router-&gt;runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#42 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\\Routing\\Router-&gt;dispatchToRoute(Object(Illuminate\\Http\\Request))#43 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router-&gt;dispatch(Object(Illuminate\\Http\\Request))#44 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel-&gt;Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#45 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#46 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#47 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#48 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#49 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#50 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#51 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#52 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#53 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#54 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#55 /home/axissafe/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#56 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#57 /home/axissafe/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#58 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))#59 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#60 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline-&gt;then(Object(Closure))#61 /home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel-&gt;sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#62 /home/axissafe/public_html/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel-&gt;handle(Object(Illuminate\\Http\\Request))#63 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://axissafety.com.bd/_ignition/share-report', 'title' => '🧨 Class &quot;Illuminate\\Database\\Query\\Grammars\\Grammar&quot; not found', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '8.83.23', 'language_version' => '8.2.36', 'exception_class' => 'Error', 'seen_at' => 1795429877, 'message' => 'Class "Illuminate\\Database\\Query\\Grammars\\Grammar" not found', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 8, 'method' => 'include', 'class' => null, 'code_snippet' => array('<?php', '', 'namespace Illuminate\\Database\\Query\\Grammars;', '', 'use Illuminate\\Database\\Query\\Builder;', 'use Illuminate\\Support\\Str;', '', 'class MySqlGrammar extends Grammar', '{', '    /**', '     * The grammar specific operators.', '     *', '     * @var string[]', '     */', '    protected $operators = [\'sounds like\'];', '', '    /**', '     * Add a "where null" clause to the query.', '     *', '     * @param  \\Illuminate\\Database\\Query\\Builder  $query', '     * @param  array  $where', '     * @return string', '     */', '    protected function whereNull(Builder $query, $where)', '    {', '        if ($this->isJsonSelector($where[\'column\'])) {', '            [$field, $path] = $this->wrapJsonFieldAndPath($where[\'column\']);', '', '            return \'(json_extract(\'.$field.$path.\') is null OR json_type(json_extract(\'.$field.$path.\')) = \\\'NULL\\\')\';', '        }', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php', 'is_application_frame' => false), array('line_number' => 576, 'method' => 'Composer\\Autoload\\{closure}', 'class' => null, 'code_snippet' => array('        // PSR-0 include paths.', '        if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {', '            return $file;', '        }', '', '        return false;', '    }', '', '    /**', '     * @return void', '     */', '    private static function initializeIncludeClosure()', '    {', '        if (self::$includeFile !== null) {', '            return;', '        }', '', '        /**', '         * Scope isolated include.', '         *', '         * Prevents access to $this/self from included files.', '         *', '         * @param  string $file', '         * @return void', '         */', '        self::$includeFile = \\Closure::bind(static function($file) {', '            include $file;', '        }, null, null);', '    }', '}', ''), 'file' => '/home/axissafe/public_html/vendor/composer/ClassLoader.php', 'is_application_frame' => false), array('line_number' => 427, 'method' => 'loadClass', 'class' => 'Composer\\Autoload\\ClassLoader', 'code_snippet' => array('        if (null !== $this->vendorDir) {', '            unset(self::$registeredLoaders[$this->vendorDir]);', '        }', '    }', '', '    /**', '     * Loads the given class or interface.', '     *', '     * @param  string    $class The name of the class', '     * @return true|null True if loaded, null otherwise', '     */', '    public function loadClass($class)', '    {', '        if ($file = $this->findFile($class)) {', '            $includeFile = self::$includeFile;', '            $includeFile($file);', '', '            return true;', '        }', '', '        return null;', '    }', '', '    /**', '     * Finds the path to the file where the class is defined.', '     *', '     * @param string $class The name of the class', '     *', '     * @return string|false The path if found, false otherwise', '     */', '    public function findFile($class)'), 'file' => '/home/axissafe/public_html/vendor/composer/ClassLoader.php', 'is_application_frame' => false), array('line_number' => 35, 'method' => 'getDefaultQueryGrammar', 'class' => 'Illuminate\\Database\\MySqlConnection', 'code_snippet' => array('     *', '     * @return bool', '     */', '    public function isMaria()', '    {', '        return strpos($this->getPdo()->getAttribute(PDO::ATTR_SERVER_VERSION), \'MariaDB\') !== false;', '    }', '', '    /**', '     * Get the default query grammar instance.', '     *', '     * @return \\Illuminate\\Database\\Query\\Grammars\\MySqlGrammar', '     */', '    protected function getDefaultQueryGrammar()', '    {', '        return $this->withTablePrefix(new QueryGrammar);', '    }', '', '    /**', '     * Get a schema builder instance for the connection.', '     *', '     * @return \\Illuminate\\Database\\Schema\\MySqlBuilder', '     */', '    public function getSchemaBuilder()', '    {', '        if (is_null($this->schemaGrammar)) {', '            $this->useDefaultSchemaGrammar();', '        }', '', '        return new MySqlBuilder($this);', '    }'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php', 'is_application_frame' => false), array('line_number' => 231, 'method' => 'useDefaultQueryGrammar', 'class' => 'Illuminate\\Database\\Connection', 'code_snippet' => array('        // We need to initialize a query grammar and the query post processors', '        // which are both very important parts of the database abstractions', '        // so we initialize these to their default values while starting.', '        $this->useDefaultQueryGrammar();', '', '        $this->useDefaultPostProcessor();', '    }', '', '    /**', '     * Set the query grammar to the default implementation.', '     *', '     * @return void', '     */', '    public function useDefaultQueryGrammar()', '    {', '        $this->queryGrammar = $this->getDefaultQueryGrammar();', '    }', '', '    /**', '     * Get the default query grammar instance.', '     *', '     * @return \\Illuminate\\Database\\Query\\Grammars\\Grammar', '     */', '    protected function getDefaultQueryGrammar()', '    {', '        return new QueryGrammar;', '    }', '', '    /**', '     * Set the schema grammar to the default implementation.', '     *'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php', 'is_application_frame' => false), array('line_number' => 219, 'method' => '__construct', 'class' => 'Illuminate\\Database\\Connection', 'code_snippet' => array('    {', '        $this->pdo = $pdo;', '', '        // First we will setup the default properties. We keep track of the DB', '        // name we are connected to since it is needed when some reflective', '        // type commands are run such as checking whether a table exists.', '        $this->database = $database;', '', '        $this->tablePrefix = $tablePrefix;', '', '        $this->config = $config;', '', '        // We need to initialize a query grammar and the query post processors', '        // which are both very important parts of the database abstractions', '        // so we initialize these to their default values while starting.', '        $this->useDefaultQueryGrammar();', '', '        $this->useDefaultPostProcessor();', '    }', '', '    /**', '     * Set the query grammar to the default implementation.', '     *', '     * @return void', '     */', '    public function useDefaultQueryGrammar()', '    {', '        $this->queryGrammar = $this->getDefaultQueryGrammar();', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php', 'is_application_frame' => false), array('line_number' => 278, 'method' => 'createConnection', 'class' => 'Illuminate\\Database\\Connectors\\ConnectionFactory', 'code_snippet' => array('     *', '     * @param  string  $driver', '     * @param  \\PDO|\\Closure  $connection', '     * @param  string  $database', '     * @param  string  $prefix', '     * @param  array  $config', '     * @return \\Illuminate\\Database\\Connection', '     *', '     * @throws \\InvalidArgumentException', '     */', '    protected function createConnection($driver, $connection, $database, $prefix = \'\', array $config = [])', '    {', '        if ($resolver = Connection::getResolver($driver)) {', '            return $resolver($connection, $database, $prefix, $config);', '        }', '', '        switch ($driver) {', '            case \'mysql\':', '                return new MySqlConnection($connection, $database, $prefix, $config);', '            case \'pgsql\':', '                return new PostgresConnection($connection, $database, $prefix, $config);', '            case \'sqlite\':', '                return new SQLiteConnection($connection, $database, $prefix, $config);', '            case \'sqlsrv\':', '                return new SqlServerConnection($connection, $database, $prefix, $config);', '        }', '', '        throw new InvalidArgumentException("Unsupported driver [{$driver}].");', '    }', '}', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php', 'is_application_frame' => false), array('line_number' => 75, 'method' => 'createSingleConnection', 'class' => 'Illuminate\\Database\\Connectors\\ConnectionFactory', 'code_snippet' => array('    protected function parseConfig(array $config, $name)', '    {', '        return Arr::add(Arr::add($config, \'prefix\', \'\'), \'name\', $name);', '    }', '', '    /**', '     * Create a single database connection instance.', '     *', '     * @param  array  $config', '     * @return \\Illuminate\\Database\\Connection', '     */', '    protected function createSingleConnection(array $config)', '    {', '        $pdo = $this->createPdoResolver($config);', '', '        return $this->createConnection(', '            $config[\'driver\'], $pdo, $config[\'database\'], $config[\'prefix\'], $config', '        );', '    }', '', '    /**', '     * Create a read / write database connection instance.', '     *', '     * @param  array  $config', '     * @return \\Illuminate\\Database\\Connection', '     */', '    protected function createReadWriteConnection(array $config)', '    {', '        $connection = $this->createSingleConnection($this->getWriteConfig($config));', '', '        return $connection->setReadPdo($this->createReadPdo($config));'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php', 'is_application_frame' => false), array('line_number' => 50, 'method' => 'make', 'class' => 'Illuminate\\Database\\Connectors\\ConnectionFactory', 'code_snippet' => array('    /**', '     * Establish a PDO connection based on the configuration.', '     *', '     * @param  array  $config', '     * @param  string|null  $name', '     * @return \\Illuminate\\Database\\Connection', '     */', '    public function make(array $config, $name = null)', '    {', '        $config = $this->parseConfig($config, $name);', '', '        if (isset($config[\'read\'])) {', '            return $this->createReadWriteConnection($config);', '        }', '', '        return $this->createSingleConnection($config);', '    }', '', '    /**', '     * Parse and prepare the database configuration.', '     *', '     * @param  array  $config', '     * @param  string  $name', '     * @return array', '     */', '    protected function parseConfig(array $config, $name)', '    {', '        return Arr::add(Arr::add($config, \'prefix\', \'\'), \'name\', $name);', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'makeConnection', 'class' => 'Illuminate\\Database\\DatabaseManager', 'code_snippet' => array('', '        // First we will check by the connection name to see if an extension has been', '        // registered specifically for that connection. If it has we will call the', '        // Closure and pass it the config allowing it to resolve the connection.', '        if (isset($this->extensions[$name])) {', '            return call_user_func($this->extensions[$name], $config, $name);', '        }', '', '        // Next we will check to see if an extension has been registered for a driver', '        // and will call the Closure if so, which allows us to have a more generic', '        // resolver for the drivers themselves which applies to all connections.', '        if (isset($this->extensions[$driver = $config[\'driver\']])) {', '            return call_user_func($this->extensions[$driver], $config, $name);', '        }', '', '        return $this->factory->make($config, $name);', '    }', '', '    /**', '     * Get the configuration for a connection.', '     *', '     * @param  string  $name', '     * @return array', '     *', '     * @throws \\InvalidArgumentException', '     */', '    protected function configuration($name)', '    {', '        $name = $name ?: $this->getDefaultConnection();', '', '        // To get the database connection configuration, we will just pull each of the'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php', 'is_application_frame' => false), array('line_number' => 95, 'method' => 'connection', 'class' => 'Illuminate\\Database\\DatabaseManager', 'code_snippet' => array('     *', '     * @param  string|null  $name', '     * @return \\Illuminate\\Database\\Connection', '     */', '    public function connection($name = null)', '    {', '        [$database, $type] = $this->parseConnectionName($name);', '', '        $name = $name ?: $database;', '', '        // If we haven\'t created this connection, we\'ll create it based on the config', '        // provided in the application. Once we\'ve created the connections we will', '        // set the "fetch mode" for PDO which determines the query return types.', '        if (! isset($this->connections[$name])) {', '            $this->connections[$name] = $this->configure(', '                $this->makeConnection($database), $type', '            );', '        }', '', '        return $this->connections[$name];', '    }', '', '    /**', '     * Parse the connection into an array of the name and read / write type.', '     *', '     * @param  string  $name', '     * @return array', '     */', '    protected function parseConnectionName($name)', '    {', '        $name = $name ?: $this->getDefaultConnection();'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php', 'is_application_frame' => false), array('line_number' => 1653, 'method' => 'resolveConnection', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('    public function setConnection($name)', '    {', '        $this->connection = $name;', '', '        return $this;', '    }', '', '    /**', '     * Resolve a connection instance.', '     *', '     * @param  string|null  $connection', '     * @return \\Illuminate\\Database\\Connection', '     */', '    public static function resolveConnection($connection = null)', '    {', '        return static::$resolver->connection($connection);', '    }', '', '    /**', '     * Get the connection resolver instance.', '     *', '     * @return \\Illuminate\\Database\\ConnectionResolverInterface', '     */', '    public static function getConnectionResolver()', '    {', '        return static::$resolver;', '    }', '', '    /**', '     * Set the connection resolver instance.', '     *'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 1619, 'method' => 'getConnection', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('     * @param  \\Illuminate\\Database\\Eloquent\\Model|null  $model', '     * @return bool', '     */', '    public function isNot($model)', '    {', '        return ! $this->is($model);', '    }', '', '    /**', '     * Get the database connection for the model.', '     *', '     * @return \\Illuminate\\Database\\Connection', '     */', '    public function getConnection()', '    {', '        return static::resolveConnection($this->getConnectionName());', '    }', '', '    /**', '     * Get the current connection name for the model.', '     *', '     * @return string|null', '     */', '    public function getConnectionName()', '    {', '        return $this->connection;', '    }', '', '    /**', '     * Set the connection associated with the model.', '     *'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 1425, 'method' => 'newBaseQueryBuilder', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('     * @param  \\Illuminate\\Database\\Query\\Builder  $query', '     * @return \\Illuminate\\Database\\Eloquent\\Builder|static', '     */', '    public function newEloquentBuilder($query)', '    {', '        return new Builder($query);', '    }', '', '    /**', '     * Get a new query builder instance for the connection.', '     *', '     * @return \\Illuminate\\Database\\Query\\Builder', '     */', '    protected function newBaseQueryBuilder()', '    {', '        return $this->getConnection()->query();', '    }', '', '    /**', '     * Create a new Eloquent Collection instance.', '     *', '     * @param  array  $models', '     * @return \\Illuminate\\Database\\Eloquent\\Collection', '     */', '    public function newCollection(array $models = [])', '    {', '        return new Collection($models);', '    }', '', '    /**', '     * Create a new pivot model instance.'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 1342, 'method' => 'newModelQuery', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public function newQuery()', '    {', '        return $this->registerGlobalScopes($this->newQueryWithoutScopes());', '    }', '', '    /**', '     * Get a new query builder that doesn\'t have any global scopes or eager loading.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder|static', '     */', '    public function newModelQuery()', '    {', '        return $this->newEloquentBuilder(', '            $this->newBaseQueryBuilder()', '        )->setModel($this);', '    }', '', '    /**', '     * Get a new query builder with no relationships loaded.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public function newQueryWithoutRelationships()', '    {', '        return $this->registerGlobalScopes($this->newModelQuery());', '    }', '', '    /**', '     * Register the global scopes for this builder instance.'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 1378, 'method' => 'newQueryWithoutScopes', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('    {', '        foreach ($this->getGlobalScopes() as $identifier => $scope) {', '            $builder->withGlobalScope($identifier, $scope);', '        }', '', '        return $builder;', '    }', '', '    /**', '     * Get a new query builder that doesn\'t have any global scopes.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder|static', '     */', '    public function newQueryWithoutScopes()', '    {', '        return $this->newModelQuery()', '                    ->with($this->with)', '                    ->withCount($this->withCount);', '    }', '', '    /**', '     * Get a new query instance without a given scope.', '     *', '     * @param  \\Illuminate\\Database\\Eloquent\\Scope|string  $scope', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public function newQueryWithoutScope($scope)', '    {', '        return $this->newQuery()->withoutGlobalScope($scope);', '    }', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 1331, 'method' => 'newQuery', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public static function query()', '    {', '        return (new static)->newQuery();', '    }', '', '    /**', '     * Get a new query builder for the model\'s table.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public function newQuery()', '    {', '        return $this->registerGlobalScopes($this->newQueryWithoutScopes());', '    }', '', '    /**', '     * Get a new query builder that doesn\'t have any global scopes or eager loading.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder|static', '     */', '    public function newModelQuery()', '    {', '        return $this->newEloquentBuilder(', '            $this->newBaseQueryBuilder()', '        )->setModel($this);', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 1321, 'method' => 'query', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('     */', '    protected function performDeleteOnModel()', '    {', '        $this->setKeysForSaveQuery($this->newModelQuery())->delete();', '', '        $this->exists = false;', '    }', '', '    /**', '     * Begin querying the model.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public static function query()', '    {', '        return (new static)->newQuery();', '    }', '', '    /**', '     * Get a new query builder for the model\'s table.', '     *', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public function newQuery()', '    {', '        return $this->registerGlobalScopes($this->newQueryWithoutScopes());', '    }', '', '    /**', '     * Get a new query builder that doesn\'t have any global scopes or eager loading.', '     *'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 580, 'method' => 'with', 'class' => 'Illuminate\\Database\\Eloquent\\Model', 'code_snippet' => array('    public static function all($columns = [\'*\'])', '    {', '        return static::query()->get(', '            is_array($columns) ? $columns : func_get_args()', '        );', '    }', '', '    /**', '     * Begin querying a model with eager loading.', '     *', '     * @param  array|string  $relations', '     * @return \\Illuminate\\Database\\Eloquent\\Builder', '     */', '    public static function with($relations)', '    {', '        return static::query()->with(', '            is_string($relations) ? func_get_args() : $relations', '        );', '    }', '', '    /**', '     * Eager load relations on the model.', '     *', '     * @param  array|string  $relations', '     * @return $this', '     */', '    public function load($relations)', '    {', '        $query = $this->newQueryWithoutRelationships()->with(', '            is_string($relations) ? func_get_args() : $relations', '        );'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', 'is_application_frame' => false), array('line_number' => 33, 'method' => 'productDetails', 'class' => 'App\\Http\\Controllers\\Frontend\\ProductController', 'code_snippet' => array('', '        return view(\'frontend.category\', compact(\'parentCategories\', \'meta\', \'slug\'));', '    }', '', '    public function products(Request $request, $slug)', '    {', '        $category = Category::where(\'slug\', $slug)->firstorFail();', '        $products = Product::where(\'category_id\', $category->id)->orderBy(\'sort\', \'ASC\')->get();', '        $meta = Category::select(\'meta_keywords\', \'meta_title\', \'meta_description\')->where(\'slug\', $slug)->firstorFail();', '', '        return view(\'frontend.product\', compact(\'category\', \'products\', \'meta\'));', '    }', '', '    public function productDetails(Request $request, $slug)', '    {', '        $product = Product::with([\'category\', \'images\'])->where(\'slug\', $slug)->firstorFail();', '        $meta = Product::select(\'meta_keywords\', \'meta_title\', \'meta_description\')->where(\'slug\', $slug)->firstorFail();', '        return view(\'frontend.product-details\', compact(\'product\', \'meta\'));', '    }', '', '    public function download(Request $request, $id)', '    {', '        $product = Product::where(\'id\', $id)->firstorFail();', '        $file= public_path(). "/storage/products/" . $product->product_pdf;', '', '        $headers = array(', '            \'Content-Type: application/pdf\',', '            );', '        return response()->download($file, $product->product_pdf . \'.pdf\', $headers);', '    }', ''), 'file' => '/home/axissafe/public_html/app/Http/Controllers/Frontend/ProductController.php', 'is_application_frame' => true), array('line_number' => 54, 'method' => 'callAction', 'class' => 'Illuminate\\Routing\\Controller', 'code_snippet' => array('     */', '    public function getMiddleware()', '    {', '        return $this->middleware;', '    }', '', '    /**', '     * Execute an action on the controller.', '     *', '     * @param  string  $method', '     * @param  array  $parameters', '     * @return \\Symfony\\Component\\HttpFoundation\\Response', '     */', '    public function callAction($method, $parameters)', '    {', '        return $this->{$method}(...array_values($parameters));', '    }', '', '    /**', '     * Handle calls to missing methods on the controller.', '     *', '     * @param  string  $method', '     * @param  array  $parameters', '     * @return mixed', '     *', '     * @throws \\BadMethodCallException', '     */', '    public function __call($method, $parameters)', '    {', '        throw new BadMethodCallException(sprintf(', '            \'Method %s::%s does not exist.\', static::class, $method'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php', 'is_application_frame' => false), array('line_number' => 45, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\ControllerDispatcher', 'code_snippet' => array('    /**', '     * Dispatch a request to a given controller and method.', '     *', '     * @param  \\Illuminate\\Routing\\Route  $route', '     * @param  mixed  $controller', '     * @param  string  $method', '     * @return mixed', '     */', '    public function dispatch(Route $route, $controller, $method)', '    {', '        $parameters = $this->resolveClassMethodDependencies(', '            $route->parametersWithoutNulls(), $controller, $method', '        );', '', '        if (method_exists($controller, \'callAction\')) {', '            return $controller->callAction($method, $parameters);', '        }', '', '        return $controller->{$method}(...array_values($parameters));', '    }', '', '    /**', '     * Get the middleware for the controller instance.', '     *', '     * @param  \\Illuminate\\Routing\\Controller  $controller', '     * @param  string  $method', '     * @return array', '     */', '    public function getMiddleware($controller, $method)', '    {', '        if (! method_exists($controller, \'getMiddleware\')) {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php', 'is_application_frame' => false), array('line_number' => 261, 'method' => 'runController', 'class' => 'Illuminate\\Routing\\Route', 'code_snippet' => array('     */', '    protected function isSerializedClosure()', '    {', '        return RouteAction::containsSerializedClosure($this->action);', '    }', '', '    /**', '     * Run the route action and return the response.', '     *', '     * @return mixed', '     *', '     * @throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException', '     */', '    protected function runController()', '    {', '        return $this->controllerDispatcher()->dispatch(', '            $this, $this->getController(), $this->getControllerMethod()', '        );', '    }', '', '    /**', '     * Get the controller instance for the route.', '     *', '     * @return mixed', '     */', '    public function getController()', '    {', '        if (! $this->controller) {', '            $class = $this->parseControllerCallback()[0];', '', '            $this->controller = $this->container->make(ltrim($class, \'\\\\\'));'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php', 'is_application_frame' => false), array('line_number' => 205, 'method' => 'run', 'class' => 'Illuminate\\Routing\\Route', 'code_snippet' => array('    {', '        return RouteAction::parse($this->uri, $action);', '    }', '', '    /**', '     * Run the route action and return the response.', '     *', '     * @return mixed', '     */', '    public function run()', '    {', '        $this->container = $this->container ?: new Container;', '', '        try {', '            if ($this->isControllerAction()) {', '                return $this->runController();', '            }', '', '            return $this->runCallable();', '        } catch (HttpResponseException $e) {', '            return $e->getResponse();', '        }', '    }', '', '    /**', '     * Checks whether the route\'s action is a controller.', '     *', '     * @return bool', '     */', '    protected function isControllerAction()', '    {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php', 'is_application_frame' => false), array('line_number' => 721, 'method' => 'Illuminate\\Routing\\{closure}', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array('     * @param  \\Illuminate\\Http\\Request  $request', '     * @return mixed', '     */', '    protected function runRouteWithinStack(Route $route, Request $request)', '    {', '        $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', '                                $this->container->make(\'middleware.disable\') === true;', '', '        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', '        return (new Pipeline($this->container))', '                        ->send($request)', '                        ->through($middleware)', '                        ->then(function ($request) use ($route) {', '                            return $this->prepareResponse(', '                                $request, $route->run()', '                            );', '                        });', '    }', '', '    /**', '     * Gather the middleware for the given route with resolved class names.', '     *', '     * @param  \\Illuminate\\Routing\\Route  $route', '     * @return array', '     */', '    public function gatherRouteMiddleware(Route $route)', '    {', '        $computedMiddleware = $route->gatherMiddleware();', '', '        $excluded = collect($route->excludedMiddleware())->map(function ($name) {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('        return $this->then(function ($passable) {', '            return $passable;', '        });', '    }', '', '    /**', '     * Get the final piece of the Closure onion.', '     *', '     * @param  \\Closure  $destination', '     * @return \\Closure', '     */', '    protected function prepareDestination(Closure $destination)', '    {', '        return function ($passable) use ($destination) {', '            try {', '                return $destination($passable);', '            } catch (Throwable $e) {', '                return $this->handleException($passable, $e);', '            }', '        };', '    }', '', '    /**', '     * Get a Closure that represents a slice of the application onion.', '     *', '     * @return \\Closure', '     */', '    protected function carry()', '    {', '        return function ($stack, $pipe) {', '            return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 50, 'method' => 'handle', 'class' => 'Illuminate\\Routing\\Middleware\\SubstituteBindings', 'code_snippet' => array('     */', '    public function __construct(Registrar $router)', '    {', '        $this->router = $router;', '    }', '', '    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        try {', '            $this->router->substituteBindings($route = $request->route());', '', '            $this->router->substituteImplicitBindings($route);', '        } catch (ModelNotFoundException $exception) {', '            if ($route->getMissing()) {', '                return $route->getMissing()($request, $exception);', '            }', '', '            throw $exception;', '        }', '', '        return $next($request);', '    }', '}', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 78, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken', 'code_snippet' => array('     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     *', '     * @throws \\Illuminate\\Session\\TokenMismatchException', '     */', '    public function handle($request, Closure $next)', '    {', '        if (', '            $this->isReading($request) ||', '            $this->runningUnitTests() ||', '            $this->inExceptArray($request) ||', '            $this->tokensMatch($request)', '        ) {', '            return tap($next($request), function ($response) use ($request) {', '                if ($this->shouldAddXsrfTokenCookie()) {', '                    $this->addCookieToResponse($request, $response);', '                }', '            });', '        }', '', '        throw new TokenMismatchException(\'CSRF token mismatch.\');', '    }', '', '    /**', '     * Determine if the HTTP request uses a ‘read’ verb.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return bool', '     */'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 49, 'method' => 'handle', 'class' => 'Illuminate\\View\\Middleware\\ShareErrorsFromSession', 'code_snippet' => array('     * @return void', '     */', '    public function __construct(ViewFactory $view)', '    {', '        $this->view = $view;', '    }', '', '    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        // If the current session has an "errors" variable bound to it, we will share', '        // its value with all view instances so the views can easily access errors', '        // without having to bind. An empty bag is set when there aren\'t errors.', '        $this->view->share(', '            \'errors\', $request->session()->get(\'errors\') ?: new ViewErrorBag', '        );', '', '        // Putting the errors in the view for every view allows the developer to just', '        // assume that some errors are always available, which is convenient since', '        // they don\'t have to continually run checks for the presence of errors.', '', '        return $next($request);', '    }', '}', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 121, 'method' => 'handleStatefulRequest', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array('     * @param  \\Illuminate\\Contracts\\Session\\Session  $session', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    protected function handleStatefulRequest(Request $request, $session, Closure $next)', '    {', '        // If a session driver has been configured, we will need to start the session here', '        // so that the data is ready for an application. Note that the Laravel sessions', '        // do not make use of PHP "native" sessions in any way since they are crappy.', '        $request->setLaravelSession(', '            $this->startSession($request, $session)', '        );', '', '        $this->collectGarbage($session);', '', '        $response = $next($request);', '', '        $this->storeCurrentUrl($request, $session);', '', '        $this->addCookieToResponse($response, $session);', '', '        // Again, if the session has been configured we will need to close out the session', '        // so that the attributes may be persisted to some storage medium. We will also', '        // add the session identifier cookie to the application response headers now.', '        $this->saveSession($request);', '', '        return $response;', '    }', '', '    /**', '     * Start the session for the given request.'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 64, 'method' => 'handle', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array('     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        if (! $this->sessionConfigured()) {', '            return $next($request);', '        }', '', '        $session = $this->getSession($request);', '', '        if ($this->manager->shouldBlock() ||', '            ($request->route() instanceof Route && $request->route()->locksFor())) {', '            return $this->handleRequestWhileBlocking($request, $session, $next);', '        }', '', '        return $this->handleStatefulRequest($request, $session, $next);', '    }', '', '    /**', '     * Handle the given request within session state.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Illuminate\\Contracts\\Session\\Session  $session', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)', '    {', '        if (! $request->route() instanceof Route) {', '            return;', '        }'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', '    /**', '     * Create a new CookieQueue instance.', '     *', '     * @param  \\Illuminate\\Contracts\\Cookie\\QueueingFactory  $cookies', '     * @return void', '     */', '    public function __construct(CookieJar $cookies)', '    {', '        $this->cookies = $cookies;', '    }', '', '    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        $response = $next($request);', '', '        foreach ($this->cookies->getQueuedCookies() as $cookie) {', '            $response->headers->setCookie($cookie);', '        }', '', '        return $response;', '    }', '}', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array('     */', '    public function disableFor($name)', '    {', '        $this->except = array_merge($this->except, (array) $name);', '    }', '', '    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return \\Symfony\\Component\\HttpFoundation\\Response', '     */', '    public function handle($request, Closure $next)', '    {', '        return $this->encrypt($next($this->decrypt($request)));', '    }', '', '    /**', '     * Decrypt the cookies on the request.', '     *', '     * @param  \\Symfony\\Component\\HttpFoundation\\Request  $request', '     * @return \\Symfony\\Component\\HttpFoundation\\Request', '     */', '    protected function decrypt(Request $request)', '    {', '        foreach ($request->cookies as $key => $cookie) {', '            if ($this->isDisabled($key) || is_array($cookie)) {', '                continue;', '            }', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('        return $this;', '    }', '', '    /**', '     * Run the pipeline with a final destination callback.', '     *', '     * @param  \\Closure  $destination', '     * @return mixed', '     */', '    public function then(Closure $destination)', '    {', '        $pipeline = array_reduce(', '            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', '        );', '', '        return $pipeline($this->passable);', '    }', '', '    /**', '     * Run the pipeline and return the result.', '     *', '     * @return mixed', '     */', '    public function thenReturn()', '    {', '        return $this->then(function ($passable) {', '            return $passable;', '        });', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 719, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array('     *', '     * @param  \\Illuminate\\Routing\\Route  $route', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return mixed', '     */', '    protected function runRouteWithinStack(Route $route, Request $request)', '    {', '        $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', '                                $this->container->make(\'middleware.disable\') === true;', '', '        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', '        return (new Pipeline($this->container))', '                        ->send($request)', '                        ->through($middleware)', '                        ->then(function ($request) use ($route) {', '                            return $this->prepareResponse(', '                                $request, $route->run()', '                            );', '                        });', '    }', '', '    /**', '     * Gather the middleware for the given route with resolved class names.', '     *', '     * @param  \\Illuminate\\Routing\\Route  $route', '     * @return array', '     */', '    public function gatherRouteMiddleware(Route $route)', '    {', '        $computedMiddleware = $route->gatherMiddleware();'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 698, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array('     * Return the response for the given route.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Illuminate\\Routing\\Route  $route', '     * @return \\Symfony\\Component\\HttpFoundation\\Response', '     */', '    protected function runRoute(Request $request, Route $route)', '    {', '        $request->setRouteResolver(function () use ($route) {', '            return $route;', '        });', '', '        $this->events->dispatch(new RouteMatched($route, $request));', '', '        return $this->prepareResponse($request,', '            $this->runRouteWithinStack($route, $request)', '        );', '    }', '', '    /**', '     * Run the given route within a Stack "onion" instance.', '     *', '     * @param  \\Illuminate\\Routing\\Route  $route', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return mixed', '     */', '    protected function runRouteWithinStack(Route $route, Request $request)', '    {', '        $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', '                                $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array('    public function dispatch(Request $request)', '    {', '        $this->currentRequest = $request;', '', '        return $this->dispatchToRoute($request);', '    }', '', '    /**', '     * Dispatch the request to a route and return the response.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return \\Symfony\\Component\\HttpFoundation\\Response', '     */', '    public function dispatchToRoute(Request $request)', '    {', '        return $this->runRoute($request, $this->findRoute($request));', '    }', '', '    /**', '     * Find the route matching a given request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return \\Illuminate\\Routing\\Route', '     */', '    protected function findRoute($request)', '    {', '        $this->current = $route = $this->routes->match($request);', '', '        $route->setContainer($this->container);', '', '        $this->container->instance(Route::class, $route);'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 651, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array('        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', '        return $this->runRoute($this->currentRequest, $route);', '    }', '', '    /**', '     * Dispatch the request to the application.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return \\Symfony\\Component\\HttpFoundation\\Response', '     */', '    public function dispatch(Request $request)', '    {', '        $this->currentRequest = $request;', '', '        return $this->dispatchToRoute($request);', '    }', '', '    /**', '     * Dispatch the request to a route and return the response.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return \\Symfony\\Component\\HttpFoundation\\Response', '     */', '    public function dispatchToRoute(Request $request)', '    {', '        return $this->runRoute($request, $this->findRoute($request));', '    }', '', '    /**', '     * Find the route matching a given request.'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('        if (! $this->app->hasBeenBootstrapped()) {', '            $this->app->bootstrapWith($this->bootstrappers());', '        }', '    }', '', '    /**', '     * Get the route dispatcher callback.', '     *', '     * @return \\Closure', '     */', '    protected function dispatchToRouter()', '    {', '        return function ($request) {', '            $this->app->instance(\'request\', $request);', '', '            return $this->router->dispatch($request);', '        };', '    }', '', '    /**', '     * Call the terminate method on any terminable middleware.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Illuminate\\Http\\Response  $response', '     * @return void', '     */', '    public function terminate($request, $response)', '    {', '        $this->terminateMiddleware($request, $response);', '', '        $this->app->terminate();'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('        return $this->then(function ($passable) {', '            return $passable;', '        });', '    }', '', '    /**', '     * Get the final piece of the Closure onion.', '     *', '     * @param  \\Closure  $destination', '     * @return \\Closure', '     */', '    protected function prepareDestination(Closure $destination)', '    {', '        return function ($passable) use ($destination) {', '            try {', '                return $destination($passable);', '            } catch (Throwable $e) {', '                return $this->handleException($passable, $e);', '            }', '        };', '    }', '', '    /**', '     * Get a Closure that represents a slice of the application onion.', '     *', '     * @return \\Closure', '     */', '    protected function carry()', '    {', '        return function ($stack, $pipe) {', '            return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', '    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        $this->clean($request);', '', '        return $next($request);', '    }', '', '    /**', '     * Clean the request\'s data.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return void', '     */', '    protected function clean($request)', '    {', '        $this->cleanParameterBag($request->query);', '', '        if ($request->isJson()) {', '            $this->cleanParameterBag($request->json());', '        } elseif ($request->request !== $request->query) {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 31, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull', 'code_snippet' => array('    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        foreach (static::$skipCallbacks as $callback) {', '            if ($callback($request)) {', '                return $next($request);', '            }', '        }', '', '        return parent::handle($request, $next);', '    }', '', '    /**', '     * Transform the given value.', '     *', '     * @param  string  $key', '     * @param  mixed  $value', '     * @return mixed', '     */', '    protected function transform($key, $value)', '    {', '        return is_string($value) && $value === \'\' ? null : $value;', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', '    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        $this->clean($request);', '', '        return $next($request);', '    }', '', '    /**', '     * Clean the request\'s data.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return void', '     */', '    protected function clean($request)', '    {', '        $this->cleanParameterBag($request->query);', '', '        if ($request->isJson()) {', '            $this->cleanParameterBag($request->json());', '        } elseif ($request->request !== $request->query) {'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 40, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TrimStrings', 'code_snippet' => array('    /**', '     * Handle an incoming request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     */', '    public function handle($request, Closure $next)', '    {', '        foreach (static::$skipCallbacks as $callback) {', '            if ($callback($request)) {', '                return $next($request);', '            }', '        }', '', '        return parent::handle($request, $next);', '    }', '', '    /**', '     * Transform the given value.', '     *', '     * @param  string  $key', '     * @param  mixed  $value', '     * @return mixed', '     */', '    protected function transform($key, $value)', '    {', '        if (in_array($key, $this->except, true)) {', '            return $value;', '        }', ''), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array('     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return mixed', '     *', '     * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', '     */', '    public function handle($request, Closure $next)', '    {', '        $max = $this->getPostMaxSize();', '', '        if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', '            throw new PostTooLargeException;', '        }', '', '        return $next($request);', '    }', '', '    /**', '     * Determine the server \'post_max_size\' as bytes.', '     *', '     * @return int', '     */', '    protected function getPostMaxSize()', '    {', '        if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', '            return (int) $postMaxSize;', '        }', '', '        $metric = strtoupper(substr($postMaxSize, -1));', '        $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 86, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance', 'code_snippet' => array('                return response(', '                    $data[\'template\'],', '                    $data[\'status\'] ?? 503,', '                    $this->getHeaders($data)', '                );', '            }', '', '            throw new HttpException(', '                $data[\'status\'] ?? 503,', '                \'Service Unavailable\',', '                null,', '                $this->getHeaders($data)', '            );', '        }', '', '        return $next($request);', '    }', '', '    /**', '     * Determine if the incoming request has a maintenance mode bypass cookie.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  array  $data', '     * @return bool', '     */', '    protected function hasValidBypassCookie($request, array $data)', '    {', '        return isset($data[\'secret\']) &&', '                $request->cookie(\'laravel_maintenance\') &&', '                MaintenanceModeBypassCookie::isValid(', '                    $request->cookie(\'laravel_maintenance\'),'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array('        $this->cors = $cors;', '        $this->container = $container;', '    }', '', '    /**', '     * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @param  \\Closure  $next', '     * @return Response', '     */', '    public function handle($request, Closure $next)', '    {', '        // Check if we\'re dealing with CORS and if we should handle it', '        if (! $this->shouldRun($request)) {', '            return $next($request);', '        }', '', '        // For Preflight, return the Preflight response', '        if ($this->cors->isPreflightRequest($request)) {', '            $response = $this->cors->handlePreflightRequest($request);', '', '            $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', '            return $response;', '        }', '', '', '        // Handle the request', '        $response = $next($request);', ''), 'file' => '/home/axissafe/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array('    /**', '     * Handle an incoming request.', '     *', '     * @param \\Illuminate\\Http\\Request $request', '     * @param \\Closure                 $next', '     *', '     * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', '     *', '     * @return mixed', '     */', '    public function handle(Request $request, Closure $next)', '    {', '        $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', '        $this->setTrustedProxyIpAddresses($request);', '', '        return $next($request);', '    }', '', '    /**', '     * Sets the trusted proxies on the request to the value of trustedproxy.proxies', '     *', '     * @param \\Illuminate\\Http\\Request $request', '     */', '    protected function setTrustedProxyIpAddresses(Request $request)', '    {', '        $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', '        // Trust any IP address that calls us', '        // `**` for backwards compatibility, but is deprecated', '        if ($trustedIps === \'*\' || $trustedIps === \'**\') {', '            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/axissafe/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', '                        // If the pipe is a string we will parse the string and resolve the class out', '                        // of the dependency injection container. We can then build a callable and', '                        // execute the pipe function giving in the parameters that are required.', '                        $pipe = $this->getContainer()->make($name);', '', '                        $parameters = array_merge([$passable, $stack], $parameters);', '                    } else {', '                        // If the pipe is already an object we\'ll just make a callable and pass it to', '                        // the pipe as-is. There is no need to do any extra parsing and formatting', '                        // since the object we\'re given was already a fully instantiated object.', '                        $parameters = [$passable, $stack];', '                    }', '', '                    $carry = method_exists($pipe, $this->method)', '                                    ? $pipe->{$this->method}(...$parameters)', '                                    : $pipe(...$parameters);', '', '                    return $this->handleCarry($carry);', '                } catch (Throwable $e) {', '                    return $this->handleException($passable, $e);', '                }', '            };', '        };', '    }', '', '    /**', '     * Parse full pipe string to get name and parameters.', '     *', '     * @param  string  $pipe', '     * @return array'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('        return $this;', '    }', '', '    /**', '     * Run the pipeline with a final destination callback.', '     *', '     * @param  \\Closure  $destination', '     * @return mixed', '     */', '    public function then(Closure $destination)', '    {', '        $pipeline = array_reduce(', '            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', '        );', '', '        return $pipeline($this->passable);', '    }', '', '    /**', '     * Run the pipeline and return the result.', '     *', '     * @return mixed', '     */', '    public function thenReturn()', '    {', '        return $this->then(function ($passable) {', '            return $passable;', '        });', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 142, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return \\Illuminate\\Http\\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());', '    }', '', '    /**', '     * Bootstrap the application for HTTP requests.', '     *', '     * @return void', '     */', '    public function bootstrap()', '    {', '        if (! $this->app->hasBeenBootstrapped()) {', '            $this->app->bootstrapWith($this->bootstrappers());', '        }', '    }', '', '    /**'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 111, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', '        $this->syncMiddlewareToRouter();', '    }', '', '    /**', '     * Handle an incoming HTTP request.', '     *', '     * @param  \\Illuminate\\Http\\Request  $request', '     * @return \\Illuminate\\Http\\Response', '     */', '    public function handle($request)', '    {', '        try {', '            $request->enableHttpMethodParameterOverride();', '', '            $response = $this->sendRequestThroughRouter($request);', '        } catch (Throwable $e) {', '            $this->reportException($e);', '', '            $response = $this->renderException($request, $e);', '        }', '', '        $this->app[\'events\']->dispatch(', '            new RequestHandled($request, $response)', '        );', '', '        return $response;', '    }', '', '    /**', '     * Send the given request through the middleware / router.'), 'file' => '/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 51, 'method' => '[top]', 'class' => null, 'code_snippet' => array('|--------------------------------------------------------------------------', '|', '| Composer provides a convenient, automatically generated class loader for', '| this application. We just need to utilize it! We\'ll simply require it', '| into the script here so we don\'t need to manually load our classes.', '|', '*/', '', 'require __DIR__.\'/../vendor/autoload.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request using', '| the application\'s HTTP kernel. Then, we will send the response back', '| to this client\'s browser, allowing them to enjoy our application.', '|', '*/', '', '$app = require_once __DIR__.\'/../bootstrap/app.php\';', '', '$kernel = $app->make(Kernel::class);', '', '$response = tap($kernel->handle(', '    $request = Request::capture()', '))->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/axissafe/public_html/public/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://axissafety.com.bd/product-details/simplex-johnson-controls', 'ip' => null, 'method' => 'GET', 'useragent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('axissafety.com.bd'), 'user-agent' => array('Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'), 'x-forwarded-for' => array('216.73.216.58, 162.159.114.44'), 'cf-ray' => array('a5ef80b8acd31293-CMH'), 'cdn-loop' => array('cloudflare; loops=1'), 'cf-connecting-ip' => array('216.73.216.58'), 'cf-ipcountry' => array('US'), 'cf-visitor' => array('{"scheme":"https"}'), 'x-forwarded-proto' => array('https')), 'cookies' => array(), 'session' => array('_token' => 'aI4ITER6EdPv5HTRcZz0mjfwud6keEsw6l77YMQJ'), 'route' => array('route' => 'product-details', 'routeParameters' => array('slug' => 'simplex-johnson-controls'), 'controllerAction' => 'App\\Http\\Controllers\\Frontend\\ProductController@productDetails', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '8.83.23', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '8.2.36'), 'logs' => array(), 'dumps' => array(), 'queries' => array()), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/axissafe/public_html', 'application_version' => null, 'tracking_uuid' => 'b888adc9-f82a-4780-aa1a-564ec655cadd'), 'housekeepingEndpoint' => 'https://axissafety.com.bd/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array(), 'appEnv' => 'local', 'appDebug' => true))
     (/home/axissafe/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:72)
  at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel))
     (/home/axissafe/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53)
  at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(Error))
     (/home/axissafe/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25)
  at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(Error))
     (/home/axissafe/public_html/vendor/filp/whoops/src/Whoops/Run.php:370)
  at Whoops\Run->handleException(object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:540)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:519)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:503)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:482)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(Error))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:719)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57)
  at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home/axissafe/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home/axissafe/public_html/public/index.php:51)