// 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.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
return $result;
// 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
);
}
$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);
}
public function show($company, $slug, $id)
{
$tagIds = Approve::where([['model', '=', 'Tag']])->where(function ($q) {
$q->where(['status' => 'REPROVED'])
->orWhere(['status' => 'PENDING']);
})->get()->pluck('data_id');
$product = Product::query()
->where([['id', '=', $id], ['status', true]])
->with([
'categories',
// 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);
// 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);
// 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);
// 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 ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// 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);
try {
parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($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']}`;");
}
// 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 {
$result = $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
);
}
$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);
}
public function show($company, $slug, $id)
{
$tagIds = Approve::where([['model', '=', 'Tag']])->where(function ($q) {
$q->where(['status' => 'REPROVED'])
->orWhere(['status' => 'PENDING']);
})->get()->pluck('data_id');
$product = Product::query()
->where([['id', '=', $id], ['status', true]])
->with([
'categories',
// 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);
// 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);
// 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);
// 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 ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// 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);
* @throws PDOException In case of an error.
*/
public function __construct($dsn, $user = null, $password = null, ?array $options = null)
{
try {
parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
* @throws PDOException In case of an error.
*/
public function __construct($dsn, $user = null, $password = null, ?array $options = null)
{
try {
parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($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']}`;");
}
// 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 {
$result = $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
);
}
$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);
}
public function show($company, $slug, $id)
{
$tagIds = Approve::where([['model', '=', 'Tag']])->where(function ($q) {
$q->where(['status' => 'REPROVED'])
->orWhere(['status' => 'PENDING']);
})->get()->pluck('data_id');
$product = Product::query()
->where([['id', '=', $id], ['status', true]])
->with([
'categories',
// 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);
// 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);
// 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);
// 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 ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// 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);
[3/3] QueryException |
---|
Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from `approves` where (`model` = Tag) and ((`status` = REPROVED) or (`status` = PENDING))) at /srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 at Illuminate\Database\Connection->runQueryCallback('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:638) at Illuminate\Database\Connection->run('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:346) at Illuminate\Database\Connection->select('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), true) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2313) at Illuminate\Database\Query\Builder->runSelect() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2301) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2796) at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2302) at Illuminate\Database\Query\Builder->get(array('*')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:571) at Illuminate\Database\Eloquent\Builder->getModels(array('*')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:555) at Illuminate\Database\Eloquent\Builder->get() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/app/Http/Controllers/GuestProductsController.php:19) at App\Http\Controllers\GuestProductsController->show('btc-decor', 'garrafa-decorativa-15-x-32cm312', '1256') (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54) at Illuminate\Routing\Controller->callAction('show', array('company' => 'btc-decor', 'slug' => 'garrafa-decorativa-15-x-32cm312', 'id' => '1256')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45) at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(GuestProductsController), 'show') (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Route.php:254) at Illuminate\Routing\Route->runController() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Route.php:197) at Illuminate\Routing\Route->run() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:693) at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41) at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78) at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php:39) at Illuminate\Session\Middleware\AuthenticateSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:670) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625) at Illuminate\Routing\Router->dispatch(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/fruitcake/laravel-cors/src/HandleCors.php:37) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/public/index.php:52) |
[2/3] Exception |
---|
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] No such file or directory at /srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:42) at Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=localhost;port=3306;dbname=vitrineabcasa', 'vitrineabcasa', 'vitrine$#2021', array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67) at Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=localhost;port=3306;dbname=vitrineabcasa', 'vitrineabcasa', 'vitrine$#2021', array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46) at Illuminate\Database\Connectors\Connector->createConnection('mysql:host=localhost;port=3306;dbname=vitrineabcasa', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'vitrineabcasa', 'username' => 'vitrineabcasa', 'password' => 'vitrine$#2021', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array(), 'name' => 'mysql'), array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'vitrineabcasa', 'username' => 'vitrineabcasa', 'password' => 'vitrine$#2021', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array(), 'name' => 'mysql')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/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)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:939) at Illuminate\Database\Connection->getPdo() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:974) at Illuminate\Database\Connection->getReadPdo() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:412) at Illuminate\Database\Connection->getPdoForSelect(true) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338) at Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671) at Illuminate\Database\Connection->runQueryCallback('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:638) at Illuminate\Database\Connection->run('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:346) at Illuminate\Database\Connection->select('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), true) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2313) at Illuminate\Database\Query\Builder->runSelect() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2301) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2796) at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2302) at Illuminate\Database\Query\Builder->get(array('*')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:571) at Illuminate\Database\Eloquent\Builder->getModels(array('*')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:555) at Illuminate\Database\Eloquent\Builder->get() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/app/Http/Controllers/GuestProductsController.php:19) at App\Http\Controllers\GuestProductsController->show('btc-decor', 'garrafa-decorativa-15-x-32cm312', '1256') (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54) at Illuminate\Routing\Controller->callAction('show', array('company' => 'btc-decor', 'slug' => 'garrafa-decorativa-15-x-32cm312', 'id' => '1256')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45) at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(GuestProductsController), 'show') (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Route.php:254) at Illuminate\Routing\Route->runController() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Route.php:197) at Illuminate\Routing\Route->run() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:693) at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41) at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78) at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php:39) at Illuminate\Session\Middleware\AuthenticateSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:670) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625) at Illuminate\Routing\Router->dispatch(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/fruitcake/laravel-cors/src/HandleCors.php:37) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/public/index.php:52) |
[1/3] PDOException |
---|
PDOException: SQLSTATE[HY000] [2002] No such file or directory at /srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38 at PDO->__construct('mysql:host=localhost;port=3306;dbname=vitrineabcasa', 'vitrineabcasa', 'vitrine$#2021', array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38) at Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=localhost;port=3306;dbname=vitrineabcasa', 'vitrineabcasa', 'vitrine$#2021', array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67) at Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=localhost;port=3306;dbname=vitrineabcasa', 'vitrineabcasa', 'vitrine$#2021', array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46) at Illuminate\Database\Connectors\Connector->createConnection('mysql:host=localhost;port=3306;dbname=vitrineabcasa', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'vitrineabcasa', 'username' => 'vitrineabcasa', 'password' => 'vitrine$#2021', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array(), 'name' => 'mysql'), array(0, 2, 0, false, false)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'vitrineabcasa', 'username' => 'vitrineabcasa', 'password' => 'vitrine$#2021', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array(), 'name' => 'mysql')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/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)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:939) at Illuminate\Database\Connection->getPdo() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:974) at Illuminate\Database\Connection->getReadPdo() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:412) at Illuminate\Database\Connection->getPdoForSelect(true) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338) at Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671) at Illuminate\Database\Connection->runQueryCallback('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:638) at Illuminate\Database\Connection->run('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Connection.php:346) at Illuminate\Database\Connection->select('select * from `approves` where (`model` = ?) and ((`status` = ?) or (`status` = ?))', array('Tag', 'REPROVED', 'PENDING'), true) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2313) at Illuminate\Database\Query\Builder->runSelect() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2301) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2796) at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2302) at Illuminate\Database\Query\Builder->get(array('*')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:571) at Illuminate\Database\Eloquent\Builder->getModels(array('*')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:555) at Illuminate\Database\Eloquent\Builder->get() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/app/Http/Controllers/GuestProductsController.php:19) at App\Http\Controllers\GuestProductsController->show('btc-decor', 'garrafa-decorativa-15-x-32cm312', '1256') (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54) at Illuminate\Routing\Controller->callAction('show', array('company' => 'btc-decor', 'slug' => 'garrafa-decorativa-15-x-32cm312', 'id' => '1256')) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45) at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(GuestProductsController), 'show') (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Route.php:254) at Illuminate\Routing\Route->runController() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Route.php:197) at Illuminate\Routing\Route->run() (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:693) at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41) at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78) at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php:39) at Illuminate\Session\Middleware\AuthenticateSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:670) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625) at Illuminate\Routing\Router->dispatch(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/fruitcake/laravel-cors/src/HandleCors.php:37) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/srv/app14.2d4f24f7.configr.cloud/www/releases/204/public/index.php:52) |