Illuminate\Database\QueryException {#406 +errorInfo: array:3 [ 0 => "HY000" 1 => 2002 2 => "No such file or directory" ] +connectionName: "mysql" #sql: "select * from `app_settings` limit 1" #bindings: [] }
throw new UniqueConstraintViolationException(
$this->getName(), $query, $this->prepareBindings($bindings), $e
);
}
throw new QueryException(
$this->getName(), $query, $this->prepareBindings($bindings), $e
);
}
}
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
}
throw $e;
}
{
if ($this->transactions >= 1) {
throw $e;
}
return $this->tryAgainIfCausedByLostConnection(
$e, $query, $bindings, $callback
);
}
/**
// 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
);
}
// Once we have run the query we will calculate the time that it took to run and
* @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());
}));
}
/**
* @param array|string $columns
* @return \Illuminate\Database\Eloquent\Model|object|static|null
*/
public function first($columns = ['*'])
{
return $this->take(1)->get($columns)->first();
}
/**
* Execute the query and get the first result if it's the sole matching record.
*
$minutes = app()->isProduction() ? now()->addMinutes(1) : 1;
$appSetting = Cache::remember('appSetting',$minutes, function () {
try {
return DB::table('app_settings')->first();
} catch (\Exception $ex) {
throw $ex;
}
});
View::share('appSetting', $appSetting);
// given number of seconds so it's available for all subsequent requests.
if (! is_null($value)) {
return $value;
}
$value = $callback();
$this->put($key, $value, value($ttl, $value));
return $value;
}
* @param array $parameters
* @return mixed
*/
public function __call($method, $parameters)
{
return $this->store()->$method(...$parameters);
}
}
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
return "<?php echo number_format($number, 2, ',', '.'); ?>";
});
$minutes = app()->isProduction() ? now()->addMinutes(1) : 1;
$appSetting = Cache::remember('appSetting',$minutes, function () {
try {
return DB::table('app_settings')->first();
} catch (\Exception $ex) {
throw $ex;
}
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));
});
}
/**
* Call a string reference to a class using Class@method syntax.
* @param mixed ...$args
* @return mixed
*/
public static function unwrapIfClosure($value, ...$args)
{
return $value instanceof Closure ? $value(...$args) : $value;
}
/**
* Get the class name of the given parameter's type, if possible.
*
if ($container->hasMethodBinding($method)) {
return $container->callMethodBinding($method, $callback[0]);
}
return Util::unwrapIfClosure($default);
}
/**
* Normalize the given callback into a Class@method string.
*
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));
});
}
/**
$this->buildStack[] = $className;
$pushedToBuildStack = true;
}
$result = BoundMethod::call($this, $callback, $parameters, $defaultMethod);
if ($pushedToBuildStack) {
array_pop($this->buildStack);
}
protected function bootProvider(ServiceProvider $provider)
{
$provider->callBootingCallbacks();
if (method_exists($provider, 'boot')) {
$this->call([$provider, 'boot']);
}
$provider->callBootedCallbacks();
}
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
// Once the application has booted we will also fire some "booted" callbacks
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->boot();
}
}
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
* @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.
*
* @throws \Exception
*/
protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
{
if ($this->causedByLostConnection($e)) {
return $this->createPdoConnection($dsn, $username, $password, $options);
}
throw $e;
}
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.
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
}
throw $e;
}
{
if ($this->transactions >= 1) {
throw $e;
}
return $this->tryAgainIfCausedByLostConnection(
$e, $query, $bindings, $callback
);
}
/**
// 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
);
}
// Once we have run the query we will calculate the time that it took to run and
* @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());
}));
}
/**
* @param array|string $columns
* @return \Illuminate\Database\Eloquent\Model|object|static|null
*/
public function first($columns = ['*'])
{
return $this->take(1)->get($columns)->first();
}
/**
* Execute the query and get the first result if it's the sole matching record.
*
$minutes = app()->isProduction() ? now()->addMinutes(1) : 1;
$appSetting = Cache::remember('appSetting',$minutes, function () {
try {
return DB::table('app_settings')->first();
} catch (\Exception $ex) {
throw $ex;
}
});
View::share('appSetting', $appSetting);
// given number of seconds so it's available for all subsequent requests.
if (! is_null($value)) {
return $value;
}
$value = $callback();
$this->put($key, $value, value($ttl, $value));
return $value;
}
* @param array $parameters
* @return mixed
*/
public function __call($method, $parameters)
{
return $this->store()->$method(...$parameters);
}
}
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
return "<?php echo number_format($number, 2, ',', '.'); ?>";
});
$minutes = app()->isProduction() ? now()->addMinutes(1) : 1;
$appSetting = Cache::remember('appSetting',$minutes, function () {
try {
return DB::table('app_settings')->first();
} catch (\Exception $ex) {
throw $ex;
}
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));
});
}
/**
* Call a string reference to a class using Class@method syntax.
* @param mixed ...$args
* @return mixed
*/
public static function unwrapIfClosure($value, ...$args)
{
return $value instanceof Closure ? $value(...$args) : $value;
}
/**
* Get the class name of the given parameter's type, if possible.
*
if ($container->hasMethodBinding($method)) {
return $container->callMethodBinding($method, $callback[0]);
}
return Util::unwrapIfClosure($default);
}
/**
* Normalize the given callback into a Class@method string.
*
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));
});
}
/**
$this->buildStack[] = $className;
$pushedToBuildStack = true;
}
$result = BoundMethod::call($this, $callback, $parameters, $defaultMethod);
if ($pushedToBuildStack) {
array_pop($this->buildStack);
}
protected function bootProvider(ServiceProvider $provider)
{
$provider->callBootingCallbacks();
if (method_exists($provider, 'boot')) {
$this->call([$provider, 'boot']);
}
$provider->callBootedCallbacks();
}
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
// Once the application has booted we will also fire some "booted" callbacks
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->boot();
}
}
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
[2/2]
QueryException
|
---|
Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select * from `app_settings` limit 1) at /var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829 at Illuminate\Database\Connection->runQueryCallback() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:983) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:962) at Illuminate\Database\Connection->handleQueryException() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:785) at Illuminate\Database\Connection->run() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414) at Illuminate\Database\Connection->select() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2751) at Illuminate\Database\Query\Builder->runSelect() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2740) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3294) at Illuminate\Database\Query\Builder->onceWithColumns() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2739) at Illuminate\Database\Query\Builder->get() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:333) at Illuminate\Database\Query\Builder->first() (/var/www/webapp/idcasn/app/Providers/AppServiceProvider.php:41) at App\Providers\AppServiceProvider->App\Providers\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397) at Illuminate\Cache\Repository->remember() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429) at Illuminate\Cache\CacheManager->__call() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355) at Illuminate\Support\Facades\Facade::__callStatic() (/var/www/webapp/idcasn/app/Providers/AppServiceProvider.php:39) at App\Providers\AppServiceProvider->boot() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36) at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/Util.php:41) at Illuminate\Container\Util::unwrapIfClosure() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93) at Illuminate\Container\BoundMethod::callBoundMethod() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35) at Illuminate\Container\BoundMethod::call() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/Container.php:662) at Illuminate\Container\Container->call() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1030) at Illuminate\Foundation\Application->bootProvider() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1011) at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() at array_walk() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1010) at Illuminate\Foundation\Application->boot() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17) at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263) at Illuminate\Foundation\Application->bootstrapWith() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/var/www/webapp/idcasn/public/index.php:51) |
[1/2]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [2002] No such file or directory at /var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65 at PDO->__construct() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) at Illuminate\Database\Connectors\Connector->createPdoConnection() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:83) at Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:48) at Illuminate\Database\Connectors\Connector->createConnection() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184) at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() at call_user_func() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1339) at Illuminate\Database\Connection->getPdo() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1375) at Illuminate\Database\Connection->getReadPdo() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:528) at Illuminate\Database\Connection->getPdoForSelect() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:423) at Illuminate\Database\Connection->Illuminate\Database\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:816) at Illuminate\Database\Connection->runQueryCallback() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:983) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:962) at Illuminate\Database\Connection->handleQueryException() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:785) at Illuminate\Database\Connection->run() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414) at Illuminate\Database\Connection->select() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2751) at Illuminate\Database\Query\Builder->runSelect() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2740) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3294) at Illuminate\Database\Query\Builder->onceWithColumns() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2739) at Illuminate\Database\Query\Builder->get() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:333) at Illuminate\Database\Query\Builder->first() (/var/www/webapp/idcasn/app/Providers/AppServiceProvider.php:41) at App\Providers\AppServiceProvider->App\Providers\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397) at Illuminate\Cache\Repository->remember() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429) at Illuminate\Cache\CacheManager->__call() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355) at Illuminate\Support\Facades\Facade::__callStatic() (/var/www/webapp/idcasn/app/Providers/AppServiceProvider.php:39) at App\Providers\AppServiceProvider->boot() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36) at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/Util.php:41) at Illuminate\Container\Util::unwrapIfClosure() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93) at Illuminate\Container\BoundMethod::callBoundMethod() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35) at Illuminate\Container\BoundMethod::call() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Container/Container.php:662) at Illuminate\Container\Container->call() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1030) at Illuminate\Foundation\Application->bootProvider() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1011) at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() at array_walk() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1010) at Illuminate\Foundation\Application->boot() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17) at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263) at Illuminate\Foundation\Application->bootstrapWith() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/var/www/webapp/idcasn/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/var/www/webapp/idcasn/public/index.php:51) |