a:4:{s:6:"_token";s:40:"VkUeX7wcKFdxyCXqTIGmmn8QpDyhYHlqqXaaxHDz";s:15:"current_site_id";s:6:"master";s:9:"_previous";a:1:{s:3:"url";s:25:"http://180.80.193.25:8090";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}a:4:{s:6:"_token";s:40:"VkUeX7wcKFdxyCXqTIGmmn8QpDyhYHlqqXaaxHDz";s:15:"current_site_id";s:6:"master";s:9:"_previous";a:1:{s:3:"url";s:25:"http://180.80.193.25:8090";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}
Illuminate\Database\QueryException {#3919 +errorInfo: array:3 [ 0 => "HY000" 1 => 1049 2 => "Unknown database 'mw_tenant_12'" ] +connectionName: "tenant" #sql: "select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10" #bindings: array:1 [ 0 => 10 ] }
throw new UniqueConstraintViolationException( $this->getName(), $query, $this->prepareBindings($bindings), $e ); } throw new QueryException( $this->getName(), $query, $this->prepareBindings($bindings), $e ); } } // Here we will run this query. If an exception occurs we'll determine if it was // caused by a connection that has been lost. If that is the cause, we'll try // to re-establish connection and re-run the query with a fresh connection. try { $result = $this->runQueryCallback($query, $bindings, $callback); } catch (QueryException $e) { $result = $this->handleQueryException( $e, $query, $bindings, $callback ); } * @param bool $useReadPdo * @return array */ public function select($query, $bindings = [], $useReadPdo = true) { return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) { if ($this->pretending()) { return []; } // For select statements, we'll simply execute the query and return an array * * @return array */ protected function runSelect() { return $this->connection->select( $this->toSql(), $this->getBindings(), ! $this->useWritePdo ); } /** * @return \Illuminate\Support\Collection */ public function get($columns = ['*']) { return collect($this->onceWithColumns(Arr::wrap($columns), function () { return $this->processor->processSelect($this, $this->runSelect()); })); } /** * Run the query as a "select" statement against the connection. if (is_null($original)) { $this->columns = $columns; } $result = $callback(); $this->columns = $original; return $result; } * @param array|string $columns * @return \Illuminate\Support\Collection */ public function get($columns = ['*']) { return collect($this->onceWithColumns(Arr::wrap($columns), function () { return $this->processor->processSelect($this, $this->runSelect()); })); } /** * @return \Illuminate\Database\Eloquent\Model[]|static[] */ public function getModels($columns = ['*']) { return $this->model->hydrate( $this->query->get($columns)->all() )->all(); } /** * Eager load the relationships for the models. $builder = $this->applyScopes(); // If we actually found models we will also eager load any relationships that // have been specified as needing to be eager loaded, which will solve the // n+1 query issue for the developers to avoid running a lot of queries. if (count($models = $builder->getModels($columns)) > 0) { $models = $builder->eagerLoadRelations($models); } return $builder->getModel()->newCollection($models); } $limit = 10; $allQueue = Jobs::whereNull('reserved')->where(function($query) { $query->where('attempts', '<', 10); $query->orWhereNull('attempts'); })->limit($limit)->get(); if ($allQueue) { //>>> Make reserved foreach($allQueue as $queue) { $queue->reserved = true;class ProcessQueueListener{ public function handle($event) { $controller = app()->make('MicroweberPackages\Queue\Http\Controllers\ProcessQueueController'); $controller->handle(); }} return call_user_func($this->createClassCallable($listener), $event, $payload); } $callable = $this->createClassCallable($listener); return $callable(...array_values($payload)); }; } /** * Create the class based event callable. } $responses = []; foreach ($this->getListeners($event) as $listener) { $response = $listener($event, $payload); // If a response is returned from the listener and event halting is enabled // we will just return this response, and not call the rest of the event // listeners. Otherwise we will add the response on the response list. if ($halt && ! is_null($response)) { * @param bool $halt * @return array|null */ function event(...$args) { return app('events')->dispatch(...$args); }}if (! function_exists('fake') && class_exists(\Faker\Factory::class)) { /** View::addNamespace('sitemap', __DIR__.'/../../resources/views/sitemap'); } public function index() { event(new ProcessQueueEvent()); return response()->view('sitemap::index')->header('Content-Type', 'text/xml'); } public function categories() * @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. * public function dispatch(Route $route, $controller, $method) { $parameters = $this->resolveParameters($route, $controller, $method); if (method_exists($controller, 'callAction')) { return $controller->callAction($method, $parameters); } return $controller->{$method}(...array_values($parameters)); } * * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException */ protected function runController() { return $this->controllerDispatcher()->dispatch( $this, $this->getController(), $this->getControllerMethod() ); } /** { $this->container = $this->container ?: new Container; try { if ($this->isControllerAction()) { return $this->runController(); } return $this->runCallable(); } catch (HttpResponseException $e) { return $e->getResponse(); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() )); } /** * Gather the middleware for the given route with resolved class names. */ protected function prepareDestination(Closure $destination) { return function ($passable) use ($destination) { try { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; } * @return mixed */ public function handle($request, Closure $next) { if (! $request->hasSession() || ! $request->user()) { return $next($request); } if ($this->guard()->viaRemember()) { $passwordHash = explode('|', $request->cookies->get($this->guard()->getRecallerName()))[2] ?? null; if (!mw_is_installed()) { return $next($request); } return parent::handle($request,$next); }} // 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); */ public function handle($request, Closure $next) { return $next($request); }} // 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); */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * // 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); }); } $request->merge($input); return $next($request); }} // 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); { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() )); } /** $request->setRouteResolver(fn () => $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\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. * */ public function dispatch(Request $request) { $this->currentRequest = $request; return $this->dispatchToRoute($request); } /** * Dispatch the request to a route and return the response. * protected function dispatchToRouter() { return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); }; } /** * Call the terminate method on any terminable middleware. */ protected function prepareDestination(Closure $destination) { return function ($passable) use ($destination) { try { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; } } } catch (\Exception $e) { Log::error("[TenantIdentify Middleware] Failed to switch tenant DB. Error: " . $e->getMessage()); } return $next($request); }} // 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); * @return mixed */ public function handle($request, Closure $next) { if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) { return $next($request); } $this->debugbar->boot(); try { // 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); * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $response = $next($request); if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){ $response->headers->add([ "Pragma" => "no-cache", "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT", // 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); { $request::setTrustedProxies([], $this->getTrustedHeaderNames()); $this->setTrustedProxyIpAddresses($request); return $next($request); } /** * Sets the trusted proxies on the request. * } } if($proxy_ips) { $this->proxies = $proxy_ips; } return parent::handle($request, $next); } return parent::handle($request, $next); } // 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); */ 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); // 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); null, $this->getHeaders($data) ); } return $next($request); } /** * Determine if the incoming request has a maintenance mode bypass cookie. * // 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); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; } return $next($request); } /** * Determine the server 'post_max_size' as bytes. * // 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); */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * // 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); $this->startSession($request, $session) ); $this->collectGarbage($session); $response = $next($request); $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); 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 \Closure $next * @return mixed */ public function handle($request, Closure $next) { return parent::handle($request, $next); // defer to the right stuff } /** * Store the current URL for the request if necessary. * // 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); */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * // 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); * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $response = $next($request); foreach ($this->cookies->getQueuedCookies() as $cookie) { $response->headers->setCookie($cookie); } // 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); { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); } /** * Bootstrap the application for HTTP requests. * $this->requestStartedAt = Carbon::now(); try { $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); }|*/$kernel = $app->make('Illuminate\Contracts\Http\Kernel');$response = $kernel->handle( $request = Illuminate\Http\Request::capture());$response->send(); * @param array $options * @return \PDO */ protected function createPdoConnection($dsn, $username, $password, $options) { return new PDO($dsn, $username, $password, $options); } /** * Handle an exception that occurred during connect execution. * * @param array $options * @return \PDO */ protected function createPdoConnection($dsn, $username, $password, $options) { return new PDO($dsn, $username, $password, $options); } /** * Handle an exception that occurred during connect execution. * [$username, $password] = [ $config['username'] ?? null, $config['password'] ?? null, ]; try { return $this->createPdoConnection( $dsn, $username, $password, $options ); } catch (Exception $e) { return $this->tryAgainIfCausedByLostConnection( $e, $dsn, $username, $password, $options $options = $this->getOptions($config); // We need to grab the PDO options that should be used while making the brand // new connection instance. The PDO options control various aspects of the // connection's behavior, and some might be specified by the developers. $connection = $this->createConnection($dsn, $config, $options); if (! empty($config['database'])) { $connection->exec("use `{$config['database']}`;"); } return function () use ($config) { foreach (Arr::shuffle($this->parseHosts($config)) as $host) { $config['host'] = $host; try { return $this->createConnector($config)->connect($config); } catch (PDOException $e) { continue; } } * @return \PDO */ public function getPdo() { if ($this->pdo instanceof Closure) { return $this->pdo = call_user_func($this->pdo); } return $this->pdo; } if ($this->readPdo instanceof Closure) { return $this->readPdo = call_user_func($this->readPdo); } return $this->readPdo ?: $this->getPdo(); } /** * Get the current read PDO connection parameter without executing any reconnect logic. * * @param bool $useReadPdo * @return \PDO */ protected function getPdoForSelect($useReadPdo = true) { return $useReadPdo ? $this->getReadPdo() : $this->getPdo(); } /** * Run an insert statement against the database. * // For select statements, we'll simply execute the query and return an array // of the database result set. Each element in the array will be a single // row from the database table, and will either be an array or objects. $statement = $this->prepared( $this->getPdoForSelect($useReadPdo)->prepare($query) ); $this->bindValues($statement, $this->prepareBindings($bindings)); $statement->execute(); { // To execute the statement, we'll simply call the callback, which will actually // run the SQL against the PDO connection. Then we can calculate the time it // took to execute and log the query SQL, bindings and time in our memory. try { return $callback($query, $bindings); } // If an exception occurs when attempting to run a query, we'll format the error // message to include the bindings with SQL, which will make this exception a // lot more helpful to the developer instead of just the database's errors. // Here we will run this query. If an exception occurs we'll determine if it was // caused by a connection that has been lost. If that is the cause, we'll try // to re-establish connection and re-run the query with a fresh connection. try { $result = $this->runQueryCallback($query, $bindings, $callback); } catch (QueryException $e) { $result = $this->handleQueryException( $e, $query, $bindings, $callback ); } * @param bool $useReadPdo * @return array */ public function select($query, $bindings = [], $useReadPdo = true) { return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) { if ($this->pretending()) { return []; } // For select statements, we'll simply execute the query and return an array * * @return array */ protected function runSelect() { return $this->connection->select( $this->toSql(), $this->getBindings(), ! $this->useWritePdo ); } /** * @return \Illuminate\Support\Collection */ public function get($columns = ['*']) { return collect($this->onceWithColumns(Arr::wrap($columns), function () { return $this->processor->processSelect($this, $this->runSelect()); })); } /** * Run the query as a "select" statement against the connection. if (is_null($original)) { $this->columns = $columns; } $result = $callback(); $this->columns = $original; return $result; } * @param array|string $columns * @return \Illuminate\Support\Collection */ public function get($columns = ['*']) { return collect($this->onceWithColumns(Arr::wrap($columns), function () { return $this->processor->processSelect($this, $this->runSelect()); })); } /** * @return \Illuminate\Database\Eloquent\Model[]|static[] */ public function getModels($columns = ['*']) { return $this->model->hydrate( $this->query->get($columns)->all() )->all(); } /** * Eager load the relationships for the models. $builder = $this->applyScopes(); // If we actually found models we will also eager load any relationships that // have been specified as needing to be eager loaded, which will solve the // n+1 query issue for the developers to avoid running a lot of queries. if (count($models = $builder->getModels($columns)) > 0) { $models = $builder->eagerLoadRelations($models); } return $builder->getModel()->newCollection($models); } $limit = 10; $allQueue = Jobs::whereNull('reserved')->where(function($query) { $query->where('attempts', '<', 10); $query->orWhereNull('attempts'); })->limit($limit)->get(); if ($allQueue) { //>>> Make reserved foreach($allQueue as $queue) { $queue->reserved = true;class ProcessQueueListener{ public function handle($event) { $controller = app()->make('MicroweberPackages\Queue\Http\Controllers\ProcessQueueController'); $controller->handle(); }} return call_user_func($this->createClassCallable($listener), $event, $payload); } $callable = $this->createClassCallable($listener); return $callable(...array_values($payload)); }; } /** * Create the class based event callable. } $responses = []; foreach ($this->getListeners($event) as $listener) { $response = $listener($event, $payload); // If a response is returned from the listener and event halting is enabled // we will just return this response, and not call the rest of the event // listeners. Otherwise we will add the response on the response list. if ($halt && ! is_null($response)) { * @param bool $halt * @return array|null */ function event(...$args) { return app('events')->dispatch(...$args); }}if (! function_exists('fake') && class_exists(\Faker\Factory::class)) { /** View::addNamespace('sitemap', __DIR__.'/../../resources/views/sitemap'); } public function index() { event(new ProcessQueueEvent()); return response()->view('sitemap::index')->header('Content-Type', 'text/xml'); } public function categories() * @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. * public function dispatch(Route $route, $controller, $method) { $parameters = $this->resolveParameters($route, $controller, $method); if (method_exists($controller, 'callAction')) { return $controller->callAction($method, $parameters); } return $controller->{$method}(...array_values($parameters)); } * * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException */ protected function runController() { return $this->controllerDispatcher()->dispatch( $this, $this->getController(), $this->getControllerMethod() ); } /** { $this->container = $this->container ?: new Container; try { if ($this->isControllerAction()) { return $this->runController(); } return $this->runCallable(); } catch (HttpResponseException $e) { return $e->getResponse(); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() )); } /** * Gather the middleware for the given route with resolved class names. */ protected function prepareDestination(Closure $destination) { return function ($passable) use ($destination) { try { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; } * @return mixed */ public function handle($request, Closure $next) { if (! $request->hasSession() || ! $request->user()) { return $next($request); } if ($this->guard()->viaRemember()) { $passwordHash = explode('|', $request->cookies->get($this->guard()->getRecallerName()))[2] ?? null; if (!mw_is_installed()) { return $next($request); } return parent::handle($request,$next); }} // 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); */ public function handle($request, Closure $next) { return $next($request); }} // 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); */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * // 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); }); } $request->merge($input); return $next($request); }} // 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); { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() )); } /** $request->setRouteResolver(fn () => $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\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. * */ public function dispatch(Request $request) { $this->currentRequest = $request; return $this->dispatchToRoute($request); } /** * Dispatch the request to a route and return the response. * protected function dispatchToRouter() { return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); }; } /** * Call the terminate method on any terminable middleware. */ protected function prepareDestination(Closure $destination) { return function ($passable) use ($destination) { try { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; } } } catch (\Exception $e) { Log::error("[TenantIdentify Middleware] Failed to switch tenant DB. Error: " . $e->getMessage()); } return $next($request); }} // 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); * @return mixed */ public function handle($request, Closure $next) { if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) { return $next($request); } $this->debugbar->boot(); try { // 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); * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $response = $next($request); if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){ $response->headers->add([ "Pragma" => "no-cache", "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT", // 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); { $request::setTrustedProxies([], $this->getTrustedHeaderNames()); $this->setTrustedProxyIpAddresses($request); return $next($request); } /** * Sets the trusted proxies on the request. * } } if($proxy_ips) { $this->proxies = $proxy_ips; } return parent::handle($request, $next); } return parent::handle($request, $next); } // 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); */ 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); // 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); null, $this->getHeaders($data) ); } return $next($request); } /** * Determine if the incoming request has a maintenance mode bypass cookie. * // 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); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; } return $next($request); } /** * Determine the server 'post_max_size' as bytes. * // 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); */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * // 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); $this->startSession($request, $session) ); $this->collectGarbage($session); $response = $next($request); $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); 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 \Closure $next * @return mixed */ public function handle($request, Closure $next) { return parent::handle($request, $next); // defer to the right stuff } /** * Store the current URL for the request if necessary. * // 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); */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * // 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); * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $response = $next($request); foreach ($this->cookies->getQueuedCookies() as $cookie) { $response->headers->setCookie($cookie); } // 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); { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); } /** * Bootstrap the application for HTTP requests. * $this->requestStartedAt = Carbon::now(); try { $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); }|*/$kernel = $app->make('Illuminate\Contracts\Http\Kernel');$response = $kernel->handle( $request = Illuminate\Http\Request::capture());$response->send();|
[2/2]
QueryException
|
|---|
Illuminate\Database\QueryException:
SQLSTATE[HY000] [1049] Unknown database 'mw_tenant_12' (Connection: tenant, SQL: select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < 10 or `attempts` is null) limit 10)
at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:801
at Illuminate\Database\Connection->runQueryCallback('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:755)
at Illuminate\Database\Connection->run('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:407)
at Illuminate\Database\Connection->select('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10), true)
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2751)
at Illuminate\Database\Query\Builder->runSelect()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2740)
at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3294)
at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2739)
at Illuminate\Database\Query\Builder->get(array('*'))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:737)
at Illuminate\Database\Eloquent\Builder->getModels(array('*'))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:721)
at Illuminate\Database\Eloquent\Builder->get()
(/var/www/html/src/MicroweberPackages/Queue/Http/Controllers/ProcessQueueController.php:18)
at MicroweberPackages\Queue\Http\Controllers\ProcessQueueController->handle()
(/var/www/html/src/MicroweberPackages/Queue/Listeners/ProcessQueueListener.php:12)
at MicroweberPackages\Queue\Listeners\ProcessQueueListener->handle(object(ProcessQueueEvent))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:441)
at Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('MicroweberPackages\\Queue\\Events\\ProcessQueueEvent', array(object(ProcessQueueEvent)))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:249)
at Illuminate\Events\Dispatcher->dispatch('MicroweberPackages\\Queue\\Events\\ProcessQueueEvent')
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:433)
at event(object(ProcessQueueEvent))
(/var/www/html/src/MicroweberPackages/App/Http/Controllers/SitemapController.php:24)
at MicroweberPackages\App\Http\Controllers\SitemapController->index()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
at Illuminate\Routing\Controller->callAction('index', array())
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43)
at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(SitemapController), 'index')
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259)
at Illuminate\Routing\Route->runController()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
at Illuminate\Routing\Route->run()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php:41)
at Illuminate\Session\Middleware\AuthenticateSession->handle(object(Request), object(Closure))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/AuthenticateSessionForUser.php:23)
at MicroweberPackages\App\Http\Middleware\AuthenticateSessionForUser->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/src/MicroweberPackages/Multilanguage/Http/Middleware/MultilanguageMiddleware.php:25)
at MicroweberPackages\Multilanguage\Http\Middleware\MultilanguageMiddleware->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/XSS.php:36)
at MicroweberPackages\App\Http\Middleware\XSS->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777)
at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741)
at Illuminate\Routing\Router->dispatchToRoute(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730)
at Illuminate\Routing\Router->dispatch(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/userfiles/modules/onebuild_saas/src/Http/Middleware/TenantIdentify.php:116)
at OneBuild\SaaS\Http\Middleware\TenantIdentify->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
at Livewire\DisableBrowserCache->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/TrustProxies.php:42)
at MicroweberPackages\App\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/microweber-deps/laravel-cors/src/HandleCors.php:38)
at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:89)
at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/StartSessionExtended.php:22)
at MicroweberPackages\App\Http\Middleware\StartSessionExtended->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/var/www/html/index.php:97)
|
|
[1/2]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000] [1049] Unknown database 'mw_tenant_12'
at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65
at PDO->__construct('mysql:host=one-build-db;dbname=mw_tenant_12', 'mw_user', object(SensitiveParameterValue), array(0, 2, 0, false, false))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
at Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=one-build-db;dbname=mw_tenant_12', 'mw_user', 'antigravity_pass', array(0, 2, 0, false, false))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:44)
at Illuminate\Database\Connectors\Connector->createConnection('mysql:host=one-build-db;dbname=mw_tenant_12', array('driver' => 'mysql', 'host' => 'one-build-db', 'database' => 'mw_tenant_12', 'username' => 'mw_user', 'password' => 'antigravity_pass', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'sucess_co__', 'prefix_indexes' => true, 'strict' => false, 'name' => 'tenant'), array(0, 2, 0, false, false))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24)
at Illuminate\Database\Connectors\MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'one-build-db', 'database' => 'mw_tenant_12', 'username' => 'mw_user', 'password' => 'antigravity_pass', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'sucess_co__', 'prefix_indexes' => true, 'strict' => false, 'name' => 'tenant'))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184)
at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1292)
at Illuminate\Database\Connection->getPdo()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1328)
at Illuminate\Database\Connection->getReadPdo()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:521)
at Illuminate\Database\Connection->getPdoForSelect(true)
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:416)
at Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:788)
at Illuminate\Database\Connection->runQueryCallback('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:755)
at Illuminate\Database\Connection->run('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:407)
at Illuminate\Database\Connection->select('select * from `sucess_co__jobs` where `reserved` is null and (`attempts` < ? or `attempts` is null) limit 10', array(10), true)
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2751)
at Illuminate\Database\Query\Builder->runSelect()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2740)
at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3294)
at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2739)
at Illuminate\Database\Query\Builder->get(array('*'))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:737)
at Illuminate\Database\Eloquent\Builder->getModels(array('*'))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:721)
at Illuminate\Database\Eloquent\Builder->get()
(/var/www/html/src/MicroweberPackages/Queue/Http/Controllers/ProcessQueueController.php:18)
at MicroweberPackages\Queue\Http\Controllers\ProcessQueueController->handle()
(/var/www/html/src/MicroweberPackages/Queue/Listeners/ProcessQueueListener.php:12)
at MicroweberPackages\Queue\Listeners\ProcessQueueListener->handle(object(ProcessQueueEvent))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:441)
at Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('MicroweberPackages\\Queue\\Events\\ProcessQueueEvent', array(object(ProcessQueueEvent)))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:249)
at Illuminate\Events\Dispatcher->dispatch('MicroweberPackages\\Queue\\Events\\ProcessQueueEvent')
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:433)
at event(object(ProcessQueueEvent))
(/var/www/html/src/MicroweberPackages/App/Http/Controllers/SitemapController.php:24)
at MicroweberPackages\App\Http\Controllers\SitemapController->index()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
at Illuminate\Routing\Controller->callAction('index', array())
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43)
at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(SitemapController), 'index')
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259)
at Illuminate\Routing\Route->runController()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
at Illuminate\Routing\Route->run()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php:41)
at Illuminate\Session\Middleware\AuthenticateSession->handle(object(Request), object(Closure))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/AuthenticateSessionForUser.php:23)
at MicroweberPackages\App\Http\Middleware\AuthenticateSessionForUser->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/src/MicroweberPackages/Multilanguage/Http/Middleware/MultilanguageMiddleware.php:25)
at MicroweberPackages\Multilanguage\Http\Middleware\MultilanguageMiddleware->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/XSS.php:36)
at MicroweberPackages\App\Http\Middleware\XSS->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777)
at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741)
at Illuminate\Routing\Router->dispatchToRoute(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730)
at Illuminate\Routing\Router->dispatch(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/userfiles/modules/onebuild_saas/src/Http/Middleware/TenantIdentify.php:116)
at OneBuild\SaaS\Http\Middleware\TenantIdentify->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
at Livewire\DisableBrowserCache->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/TrustProxies.php:42)
at MicroweberPackages\App\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/microweber-deps/laravel-cors/src/HandleCors.php:38)
at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:89)
at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
(/var/www/html/src/MicroweberPackages/App/Http/Middleware/StartSessionExtended.php:22)
at MicroweberPackages\App\Http\Middleware\StartSessionExtended->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/var/www/html/index.php:97)
|