Symfony Exception

PDOException QueryException

HTTP 500 Internal Server Error

SQLSTATE[HY000] [1040] Too many connections (SQL: select * from `sessions` where `id` = 3KaycgaQCfvUqNvr46deQgGOCMLZLQgvivbamejC limit 1)

Exceptions 2

Illuminate\Database\ QueryException

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // Here we will run this query. If an exception occurs we'll determine if it was
  2.         // caused by a connection that has been lost. If that is the cause, we'll try
  3.         // to re-establish connection and re-run the query with a fresh connection.
  4.         try {
  5.             $result $this->runQueryCallback($query$bindings$callback);
  6.         } catch (QueryException $e) {
  7.             $result $this->handleQueryException(
  8.                 $e$query$bindings$callback
  9.             );
  10.         }
  1.             $this->bindValues($statement$this->prepareBindings($bindings));
  2.             $statement->execute();
  3.             return $statement->fetchAll();
  4.         });
  5.     }
  6.     /**
  7.      * Run a select statement against the database and returns a generator.
  8.      *
  1.      * @return array
  2.      */
  3.     protected function runSelect()
  4.     {
  5.         return $this->connection->select(
  6.             $this->toSql(), $this->getBindings(), ! $this->useWritePdo
  7.         );
  8.     }
  9.     /**
  10.      * Paginate the given query into a simple paginator.
  1.      * @return \Illuminate\Support\Collection
  2.      */
  3.     public function get($columns = ['*'])
  4.     {
  5.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  6.             return $this->processor->processSelect($this$this->runSelect());
  7.         }));
  8.     }
  9.     /**
  10.      * Run the query as a "select" statement against the connection.
  1.         if (is_null($original)) {
  2.             $this->columns $columns;
  3.         }
  4.         $result $callback();
  5.         $this->columns $original;
  6.         return $result;
  7.     }
  1.      */
  2.     public function get($columns = ['*'])
  3.     {
  4.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  5.             return $this->processor->processSelect($this$this->runSelect());
  6.         }));
  7.     }
  8.     /**
  9.      * Run the query as a "select" statement against the connection.
  10.      *
  1.      * @param  array|string  $columns
  2.      * @return \Illuminate\Database\Eloquent\Model|object|static|null
  3.      */
  4.     public function first($columns = ['*'])
  5.     {
  6.         return $this->take(1)->get($columns)->first();
  7.     }
  8.     /**
  9.      * Execute the query and get the first result if it's the sole matching record.
  10.      *
  1.      * @param  array  $columns
  2.      * @return mixed|static
  3.      */
  4.     public function find($id$columns = ['*'])
  5.     {
  6.         return $this->where('id''='$id)->first($columns);
  7.     }
  8.     /**
  9.      * Get a single column's value from the first result of a query.
  10.      *
  1.      * @return string|false
  2.      */
  3.     #[\ReturnTypeWillChange]
  4.     public function read($sessionId)
  5.     {
  6.         $session = (object) $this->getQuery()->find($sessionId);
  7.         if ($this->expired($session)) {
  8.             $this->exists true;
  9.             return '';
  1.      *
  2.      * @return array
  3.      */
  4.     protected function readFromHandler()
  5.     {
  6.         if ($data $this->handler->read($this->getId())) {
  7.             $data = @unserialize($this->prepareForUnserialize($data));
  8.             if ($data !== false && ! is_null($data) && is_array($data)) {
  9.                 return $data;
  10.             }
  1.      *
  2.      * @return void
  3.      */
  4.     protected function loadSession()
  5.     {
  6.         $this->attributes array_merge($this->attributes$this->readFromHandler());
  7.     }
  8.     /**
  9.      * Read the session data from the handler.
  10.      *
  1.      *
  2.      * @return bool
  3.      */
  4.     public function start()
  5.     {
  6.         $this->loadSession();
  7.         if (! $this->has('_token')) {
  8.             $this->regenerateToken();
  9.         }
  1.     protected function startSession(Request $request$session)
  2.     {
  3.         return tap($session, function ($session) use ($request) {
  4.             $session->setRequestOnHandler($request);
  5.             $session->start();
  6.         });
  7.     }
  8.     /**
  9.      * Get the session implementation from the manager.
  1.     {
  2.         if (is_null($callback)) {
  3.             return new HigherOrderTapProxy($value);
  4.         }
  5.         $callback($value);
  6.         return $value;
  7.     }
  8. }
  1.     {
  2.         return tap($session, function ($session) use ($request) {
  3.             $session->setRequestOnHandler($request);
  4.             $session->start();
  5.         });
  6.     }
  7.     /**
  8.      * Get the session implementation from the manager.
  9.      *
  1.     {
  2.         // If a session driver has been configured, we will need to start the session here
  3.         // so that the data is ready for an application. Note that the Laravel sessions
  4.         // do not make use of PHP "native" sessions in any way since they are crappy.
  5.         $request->setLaravelSession(
  6.             $this->startSession($request$session)
  7.         );
  8.         $this->collectGarbage($session);
  9.         $response $next($request);
  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($requestClosure $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($requestClosure $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.                         ->through($middleware)
  2.                         ->then(function ($request) use ($route) {
  3.                             return $this->prepareResponse(
  4.                                 $request$route->run()
  5.                             );
  6.                         });
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  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($requestClosure $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($requestClosure $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 && $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($requestClosure $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.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         }
  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);
require_once('/var/www/vhosts/adawliahshop.com/httpdocs/public/index.php') in /var/www/vhosts/adawliahshop.com/httpdocs/server.php (line 24)
  1. }
  2. if ($uri == '/wcnU8QcYmchckTuyLDQTOyJ8DIsVI9VOSyYwDknJ3sJJlZGTnDHrHvIBlLe0Qk96.am.php' && file_exists(__DIR__.'/'.$uri)) {
  3.     include_once(__DIR__.'/'.$uri);
  4. }
  5. require_once __DIR__.'/public/index.php';

PDOException

SQLSTATE[HY000] [1040] Too many connections

  1.     {
  2.         if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
  3.             return new PDOConnection($dsn$username$password$options);
  4.         }
  5.         return new PDO($dsn$username$password$options);
  6.     }
  7.     /**
  8.      * Determine if the connection is persistent.
  9.      *
  1.     {
  2.         if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
  3.             return new PDOConnection($dsn$username$password$options);
  4.         }
  5.         return new PDO($dsn$username$password$options);
  6.     }
  7.     /**
  8.      * Determine if the connection is persistent.
  9.      *
  1.             $config['username'] ?? null$config['password'] ?? null,
  2.         ];
  3.         try {
  4.             return $this->createPdoConnection(
  5.                 $dsn$username$password$options
  6.             );
  7.         } catch (Exception $e) {
  8.             return $this->tryAgainIfCausedByLostConnection(
  9.                 $e$dsn$username$password$options
  10.             );
  1.         $options $this->getOptions($config);
  2.         // We need to grab the PDO options that should be used while making the brand
  3.         // new connection instance. The PDO options control various aspects of the
  4.         // connection's behavior, and some might be specified by the developers.
  5.         $connection $this->createConnection($dsn$config$options);
  6.         if (! empty($config['database'])) {
  7.             $connection->exec("use `{$config['database']}`;");
  8.         }
  1.         return function () use ($config) {
  2.             foreach (Arr::shuffle($hosts $this->parseHosts($config)) as $key => $host) {
  3.                 $config['host'] = $host;
  4.                 try {
  5.                     return $this->createConnector($config)->connect($config);
  6.                 } catch (PDOException $e) {
  7.                     continue;
  8.                 }
  9.             }
ConnectionFactory->Illuminate\Database\Connectors\{closure}()
  1.      * @return \PDO
  2.      */
  3.     public function getPdo()
  4.     {
  5.         if ($this->pdo instanceof Closure) {
  6.             return $this->pdo call_user_func($this->pdo);
  7.         }
  8.         return $this->pdo;
  9.     }
  1.         if ($this->readPdo instanceof Closure) {
  2.             return $this->readPdo call_user_func($this->readPdo);
  3.         }
  4.         return $this->readPdo ?: $this->getPdo();
  5.     }
  6.     /**
  7.      * Get the current read PDO connection parameter without executing any reconnect logic.
  8.      *
  1.      * @param  bool  $useReadPdo
  2.      * @return \PDO
  3.      */
  4.     protected function getPdoForSelect($useReadPdo true)
  5.     {
  6.         return $useReadPdo $this->getReadPdo() : $this->getPdo();
  7.     }
  8.     /**
  9.      * Run an insert statement against the database.
  10.      *
  1.             // For select statements, we'll simply execute the query and return an array
  2.             // of the database result set. Each element in the array will be a single
  3.             // row from the database table, and will either be an array or objects.
  4.             $statement $this->prepared(
  5.                 $this->getPdoForSelect($useReadPdo)->prepare($query)
  6.             );
  7.             $this->bindValues($statement$this->prepareBindings($bindings));
  8.             $statement->execute();
  1.     {
  2.         // To execute the statement, we'll simply call the callback, which will actually
  3.         // run the SQL against the PDO connection. Then we can calculate the time it
  4.         // took to execute and log the query SQL, bindings and time in our memory.
  5.         try {
  6.             return $callback($query$bindings);
  7.         }
  8.         // If an exception occurs when attempting to run a query, we'll format the error
  9.         // message to include the bindings with SQL, which will make this exception a
  10.         // lot more helpful to the developer instead of just the database's errors.
  1.         // Here we will run this query. If an exception occurs we'll determine if it was
  2.         // caused by a connection that has been lost. If that is the cause, we'll try
  3.         // to re-establish connection and re-run the query with a fresh connection.
  4.         try {
  5.             $result $this->runQueryCallback($query$bindings$callback);
  6.         } catch (QueryException $e) {
  7.             $result $this->handleQueryException(
  8.                 $e$query$bindings$callback
  9.             );
  10.         }
  1.             $this->bindValues($statement$this->prepareBindings($bindings));
  2.             $statement->execute();
  3.             return $statement->fetchAll();
  4.         });
  5.     }
  6.     /**
  7.      * Run a select statement against the database and returns a generator.
  8.      *
  1.      * @return array
  2.      */
  3.     protected function runSelect()
  4.     {
  5.         return $this->connection->select(
  6.             $this->toSql(), $this->getBindings(), ! $this->useWritePdo
  7.         );
  8.     }
  9.     /**
  10.      * Paginate the given query into a simple paginator.
  1.      * @return \Illuminate\Support\Collection
  2.      */
  3.     public function get($columns = ['*'])
  4.     {
  5.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  6.             return $this->processor->processSelect($this$this->runSelect());
  7.         }));
  8.     }
  9.     /**
  10.      * Run the query as a "select" statement against the connection.
  1.         if (is_null($original)) {
  2.             $this->columns $columns;
  3.         }
  4.         $result $callback();
  5.         $this->columns $original;
  6.         return $result;
  7.     }
  1.      */
  2.     public function get($columns = ['*'])
  3.     {
  4.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  5.             return $this->processor->processSelect($this$this->runSelect());
  6.         }));
  7.     }
  8.     /**
  9.      * Run the query as a "select" statement against the connection.
  10.      *
  1.      * @param  array|string  $columns
  2.      * @return \Illuminate\Database\Eloquent\Model|object|static|null
  3.      */
  4.     public function first($columns = ['*'])
  5.     {
  6.         return $this->take(1)->get($columns)->first();
  7.     }
  8.     /**
  9.      * Execute the query and get the first result if it's the sole matching record.
  10.      *
  1.      * @param  array  $columns
  2.      * @return mixed|static
  3.      */
  4.     public function find($id$columns = ['*'])
  5.     {
  6.         return $this->where('id''='$id)->first($columns);
  7.     }
  8.     /**
  9.      * Get a single column's value from the first result of a query.
  10.      *
  1.      * @return string|false
  2.      */
  3.     #[\ReturnTypeWillChange]
  4.     public function read($sessionId)
  5.     {
  6.         $session = (object) $this->getQuery()->find($sessionId);
  7.         if ($this->expired($session)) {
  8.             $this->exists true;
  9.             return '';
  1.      *
  2.      * @return array
  3.      */
  4.     protected function readFromHandler()
  5.     {
  6.         if ($data $this->handler->read($this->getId())) {
  7.             $data = @unserialize($this->prepareForUnserialize($data));
  8.             if ($data !== false && ! is_null($data) && is_array($data)) {
  9.                 return $data;
  10.             }
  1.      *
  2.      * @return void
  3.      */
  4.     protected function loadSession()
  5.     {
  6.         $this->attributes array_merge($this->attributes$this->readFromHandler());
  7.     }
  8.     /**
  9.      * Read the session data from the handler.
  10.      *
  1.      *
  2.      * @return bool
  3.      */
  4.     public function start()
  5.     {
  6.         $this->loadSession();
  7.         if (! $this->has('_token')) {
  8.             $this->regenerateToken();
  9.         }
  1.     protected function startSession(Request $request$session)
  2.     {
  3.         return tap($session, function ($session) use ($request) {
  4.             $session->setRequestOnHandler($request);
  5.             $session->start();
  6.         });
  7.     }
  8.     /**
  9.      * Get the session implementation from the manager.
  1.     {
  2.         if (is_null($callback)) {
  3.             return new HigherOrderTapProxy($value);
  4.         }
  5.         $callback($value);
  6.         return $value;
  7.     }
  8. }
  1.     {
  2.         return tap($session, function ($session) use ($request) {
  3.             $session->setRequestOnHandler($request);
  4.             $session->start();
  5.         });
  6.     }
  7.     /**
  8.      * Get the session implementation from the manager.
  9.      *
  1.     {
  2.         // If a session driver has been configured, we will need to start the session here
  3.         // so that the data is ready for an application. Note that the Laravel sessions
  4.         // do not make use of PHP "native" sessions in any way since they are crappy.
  5.         $request->setLaravelSession(
  6.             $this->startSession($request$session)
  7.         );
  8.         $this->collectGarbage($session);
  9.         $response $next($request);
  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($requestClosure $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($requestClosure $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.                         ->through($middleware)
  2.                         ->then(function ($request) use ($route) {
  3.                             return $this->prepareResponse(
  4.                                 $request$route->run()
  5.                             );
  6.                         });
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  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($requestClosure $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($requestClosure $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 && $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($requestClosure $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.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         }
  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);
require_once('/var/www/vhosts/adawliahshop.com/httpdocs/public/index.php') in /var/www/vhosts/adawliahshop.com/httpdocs/server.php (line 24)
  1. }
  2. if ($uri == '/wcnU8QcYmchckTuyLDQTOyJ8DIsVI9VOSyYwDknJ3sJJlZGTnDHrHvIBlLe0Qk96.am.php' && file_exists(__DIR__.'/'.$uri)) {
  3.     include_once(__DIR__.'/'.$uri);
  4. }
  5. require_once __DIR__.'/public/index.php';

Stack Traces 2

[2/2] QueryException
Illuminate\Database\QueryException:
SQLSTATE[HY000] [1040] Too many connections (SQL: select * from `sessions` where `id` = 3KaycgaQCfvUqNvr46deQgGOCMLZLQgvivbamejC limit 1)

  at /var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712
  at Illuminate\Database\Connection->runQueryCallback()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:672)
  at Illuminate\Database\Connection->run()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:376)
  at Illuminate\Database\Connection->select()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2414)
  at Illuminate\Database\Query\Builder->runSelect()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2402)
  at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2936)
  at Illuminate\Database\Query\Builder->onceWithColumns()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2403)
  at Illuminate\Database\Query\Builder->get()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:294)
  at Illuminate\Database\Query\Builder->first()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2377)
  at Illuminate\Database\Query\Builder->find()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php:100)
  at Illuminate\Session\DatabaseSessionHandler->read()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Store.php:97)
  at Illuminate\Session\Store->readFromHandler()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Store.php:87)
  at Illuminate\Session\Store->loadSession()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Store.php:71)
  at Illuminate\Session\Store->start()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:147)
  at Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Support/helpers.php:263)
  at tap()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:148)
  at Illuminate\Session\Middleware\StartSession->startSession()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698)
  at Illuminate\Routing\Router->runRoute()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651)
  at Illuminate\Routing\Router->dispatch()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
  at Livewire\DisableBrowserCache->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/public/index.php:52)
  at require_once('/var/www/vhosts/adawliahshop.com/httpdocs/public/index.php')
     (/var/www/vhosts/adawliahshop.com/httpdocs/server.php:24)                
[1/2] PDOException
PDOException:
SQLSTATE[HY000] [1040] Too many connections

  at /var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
  at PDO->__construct()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)
  at Illuminate\Database\Connectors\Connector->createPdoConnection()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46)
  at Illuminate\Database\Connectors\Connector->createConnection()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24)
  at Illuminate\Database\Connectors\MySqlConnector->connect()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184)
  at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
  at call_user_func()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1064)
  at Illuminate\Database\Connection->getPdo()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1100)
  at Illuminate\Database\Connection->getReadPdo()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:442)
  at Illuminate\Database\Connection->getPdoForSelect()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368)
  at Illuminate\Database\Connection->Illuminate\Database\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:705)
  at Illuminate\Database\Connection->runQueryCallback()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:672)
  at Illuminate\Database\Connection->run()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:376)
  at Illuminate\Database\Connection->select()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2414)
  at Illuminate\Database\Query\Builder->runSelect()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2402)
  at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2936)
  at Illuminate\Database\Query\Builder->onceWithColumns()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2403)
  at Illuminate\Database\Query\Builder->get()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:294)
  at Illuminate\Database\Query\Builder->first()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2377)
  at Illuminate\Database\Query\Builder->find()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php:100)
  at Illuminate\Session\DatabaseSessionHandler->read()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Store.php:97)
  at Illuminate\Session\Store->readFromHandler()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Store.php:87)
  at Illuminate\Session\Store->loadSession()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Store.php:71)
  at Illuminate\Session\Store->start()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:147)
  at Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Support/helpers.php:263)
  at tap()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:148)
  at Illuminate\Session\Middleware\StartSession->startSession()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698)
  at Illuminate\Routing\Router->runRoute()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651)
  at Illuminate\Routing\Router->dispatch()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
  at Livewire\DisableBrowserCache->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/vhosts/adawliahshop.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/vhosts/adawliahshop.com/httpdocs/public/index.php:52)
  at require_once('/var/www/vhosts/adawliahshop.com/httpdocs/public/index.php')
     (/var/www/vhosts/adawliahshop.com/httpdocs/server.php:24)