Illuminate\Database\QueryException {#205 +errorInfo: array:3 [ 0 => "HY000" 1 => 2002 2 => "Connection refused" ] #sql: "select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'" #bindings: array:2 [ 0 => "aquapoo1_new2" 1 => "mail_settings" ] }
// 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
);
}
}
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
);
}
/**
* Handle a query exception that occurred during query execution.
// 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
// then log the query, bindings, and execution time so we will report them on
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
return $statement->fetchAll();
});
}
/**
* Run a select statement against the database and returns a generator.
*
* @param array $bindings
* @return array
*/
public function selectFromWriteConnection($query, $bindings = [])
{
return $this->select($query, $bindings, false);
}
/**
* Run a select statement against the database.
*
public function hasTable($table)
{
$table = $this->connection->getTablePrefix().$table;
return count($this->connection->selectFromWriteConnection(
$this->grammar->compileTableExists(), [$this->connection->getDatabaseName(), $table]
)) > 0;
}
/**
* Get the column listing for a given table.
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
*
* @return void
*/
public function register()
{
if (Schema::hasTable('mail_settings')) {
$mail = collect(DB::table('mail_settings')->get());
$config = [
'default' => 'sendmail',
'mailers' => [
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
->partition(fn ($provider) => str_starts_with($provider, 'Illuminate\\'));
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
$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);
}
$curs_eu = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/price_eu.txt');
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
* @throws \Exception
*/
protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
{
if ($this->causedByLostConnection($e)) {
return $this->createPdoConnection($dsn, $username, $password, $options);
}
throw $e;
}
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;
}
* @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
);
}
/**
* Handle a query exception that occurred during query execution.
// 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
// then log the query, bindings, and execution time so we will report them on
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
return $statement->fetchAll();
});
}
/**
* Run a select statement against the database and returns a generator.
*
* @param array $bindings
* @return array
*/
public function selectFromWriteConnection($query, $bindings = [])
{
return $this->select($query, $bindings, false);
}
/**
* Run a select statement against the database.
*
public function hasTable($table)
{
$table = $this->connection->getTablePrefix().$table;
return count($this->connection->selectFromWriteConnection(
$this->grammar->compileTableExists(), [$this->connection->getDatabaseName(), $table]
)) > 0;
}
/**
* Get the column listing for a given table.
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
*
* @return void
*/
public function register()
{
if (Schema::hasTable('mail_settings')) {
$mail = collect(DB::table('mail_settings')->get());
$config = [
'default' => 'sendmail',
'mailers' => [
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
->partition(fn ($provider) => str_starts_with($provider, 'Illuminate\\'));
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
$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);
}
$curs_eu = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/price_eu.txt');
$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] Connection refused (SQL: select * from information_schema.tables where table_schema = aquapoo1_new2 and table_name = mail_settings and table_type = 'BASE TABLE') at /var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\Database\Connection->runQueryCallback('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:899) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(object(QueryException), 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:879) at Illuminate\Database\Connection->handleQueryException(object(QueryException), 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:723) at Illuminate\Database\Connection->run('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422) at Illuminate\Database\Connection->select('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), false) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:392) at Illuminate\Database\Connection->selectFromWriteConnection('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php:44) at Illuminate\Database\Schema\MySqlBuilder->hasTable('mail_settings') (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('hasTable', array('mail_settings')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/app/Modules/Mail/Providers/MailServiceProvider.php:29) at Modules\Mail\Providers\MailServiceProvider->register() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:687) at Illuminate\Foundation\Application->register(object(MailServiceProvider)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75) at Illuminate\Foundation\ProviderRepository->load(array('Illuminate\\Auth\\AuthServiceProvider', 'Illuminate\\Broadcasting\\BroadcastServiceProvider', 'Illuminate\\Bus\\BusServiceProvider', 'Illuminate\\Cache\\CacheServiceProvider', 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider', 'Illuminate\\Cookie\\CookieServiceProvider', 'Illuminate\\Database\\DatabaseServiceProvider', 'Illuminate\\Encryption\\EncryptionServiceProvider', 'Illuminate\\Filesystem\\FilesystemServiceProvider', 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider', 'Illuminate\\Hashing\\HashServiceProvider', 'Illuminate\\Mail\\MailServiceProvider', 'Illuminate\\Notifications\\NotificationServiceProvider', 'Illuminate\\Pagination\\PaginationServiceProvider', 'Illuminate\\Pipeline\\PipelineServiceProvider', 'Illuminate\\Queue\\QueueServiceProvider', 'Illuminate\\Redis\\RedisServiceProvider', 'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider', 'Illuminate\\Session\\SessionServiceProvider', 'Illuminate\\Translation\\TranslationServiceProvider', 'Illuminate\\Validation\\ValidationServiceProvider', 'Illuminate\\View\\ViewServiceProvider', 'Barryvdh\\HttpCache\\ServiceProvider', 'Barryvdh\\StackMiddleware\\ServiceProvider', 'Darryldecode\\Cart\\CartServiceProvider', 'Diglactic\\Breadcrumbs\\ServiceProvider', 'Dive\\Wishlist\\WishlistServiceProvider', 'LaravelTrailingSlash\\RoutingServiceProvider', 'Intervention\\Image\\ImageServiceProvider', 'Kalnoy\\Nestedset\\NestedSetServiceProvider', 'Laravel\\Sanctum\\SanctumServiceProvider', 'Laravel\\Scout\\ScoutServiceProvider', 'Laravel\\Tinker\\TinkerServiceProvider', 'Mcamara\\LaravelLocalization\\LaravelLocalizationServiceProvider', 'Carbon\\Laravel\\ServiceProvider', 'Termwind\\Laravel\\TermwindServiceProvider', 'Orchid\\Icons\\IconServiceProvider', 'Orchid\\Platform\\Providers\\FoundationServiceProvider', 'Spatie\\ResponseCache\\ResponseCacheServiceProvider', 'Spatie\\Translatable\\TranslatableServiceProvider', 'Tabuna\\Breadcrumbs\\BreadcrumbsServiceProvider', 'UniSharp\\LaravelFilemanager\\LaravelFilemanagerServiceProvider', 'Watson\\Active\\ActiveServiceProvider', 'App\\Providers\\AppServiceProvider', 'App\\Providers\\AuthServiceProvider', 'App\\Providers\\EventServiceProvider', 'App\\Providers\\RouteServiceProvider', 'Intervention\\Image\\ImageServiceProvider', 'App\\Providers\\ComposerServiceProvider', 'Barryvdh\\HttpCache\\ServiceProvider', 'Modules\\Mail\\Providers\\MailServiceProvider', 'Darryldecode\\Cart\\CartServiceProvider', 'App\\Providers\\AddSlashServiceProvider')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:664) at Illuminate\Foundation\Application->registerConfiguredProviders() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17) at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(object(Application)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:242) at Illuminate\Foundation\Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:160) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php:54) |
[1/2]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [2002] Connection refused at /var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 at PDO->__construct('mysql:host=srv-pleskdb44.ps.kz:3306;port=3306;dbname=aquapoo1_new2', 'aquapoo1_alpv', 'P65qgbp65qgb@', array(0, 2, 0, false, false)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70) at Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=srv-pleskdb44.ps.kz:3306;port=3306;dbname=aquapoo1_new2', 'aquapoo1_alpv', 'P65qgbp65qgb@', array(0, 2, 0, false, false)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:100) at Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(object(PDOException), 'mysql:host=srv-pleskdb44.ps.kz:3306;port=3306;dbname=aquapoo1_new2', 'aquapoo1_alpv', 'P65qgbp65qgb@', array(0, 2, 0, false, false)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:50) at Illuminate\Database\Connectors\Connector->createConnection('mysql:host=srv-pleskdb44.ps.kz:3306;port=3306;dbname=aquapoo1_new2', array('driver' => 'mysql', 'host' => 'srv-pleskdb44.ps.kz:3306', 'port' => '3306', 'database' => 'aquapoo1_new2', 'username' => 'aquapoo1_alpv', 'password' => 'P65qgbp65qgb@', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_general_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array(), 'name' => 'mysql'), array(0, 2, 0, false, false)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'srv-pleskdb44.ps.kz:3306', 'port' => '3306', 'database' => 'aquapoo1_new2', 'username' => 'aquapoo1_alpv', 'password' => 'P65qgbp65qgb@', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_general_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array(), 'name' => 'mysql')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/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/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1181) at Illuminate\Database\Connection->getPdo() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:486) at Illuminate\Database\Connection->getPdoForSelect(false) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414) at Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:753) at Illuminate\Database\Connection->runQueryCallback('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:899) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(object(QueryException), 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:879) at Illuminate\Database\Connection->handleQueryException(object(QueryException), 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:723) at Illuminate\Database\Connection->run('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), object(Closure)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422) at Illuminate\Database\Connection->select('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings'), false) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Connection.php:392) at Illuminate\Database\Connection->selectFromWriteConnection('select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\'', array('aquapoo1_new2', 'mail_settings')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php:44) at Illuminate\Database\Schema\MySqlBuilder->hasTable('mail_settings') (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('hasTable', array('mail_settings')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/app/Modules/Mail/Providers/MailServiceProvider.php:29) at Modules\Mail\Providers\MailServiceProvider->register() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:687) at Illuminate\Foundation\Application->register(object(MailServiceProvider)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75) at Illuminate\Foundation\ProviderRepository->load(array('Illuminate\\Auth\\AuthServiceProvider', 'Illuminate\\Broadcasting\\BroadcastServiceProvider', 'Illuminate\\Bus\\BusServiceProvider', 'Illuminate\\Cache\\CacheServiceProvider', 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider', 'Illuminate\\Cookie\\CookieServiceProvider', 'Illuminate\\Database\\DatabaseServiceProvider', 'Illuminate\\Encryption\\EncryptionServiceProvider', 'Illuminate\\Filesystem\\FilesystemServiceProvider', 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider', 'Illuminate\\Hashing\\HashServiceProvider', 'Illuminate\\Mail\\MailServiceProvider', 'Illuminate\\Notifications\\NotificationServiceProvider', 'Illuminate\\Pagination\\PaginationServiceProvider', 'Illuminate\\Pipeline\\PipelineServiceProvider', 'Illuminate\\Queue\\QueueServiceProvider', 'Illuminate\\Redis\\RedisServiceProvider', 'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider', 'Illuminate\\Session\\SessionServiceProvider', 'Illuminate\\Translation\\TranslationServiceProvider', 'Illuminate\\Validation\\ValidationServiceProvider', 'Illuminate\\View\\ViewServiceProvider', 'Barryvdh\\HttpCache\\ServiceProvider', 'Barryvdh\\StackMiddleware\\ServiceProvider', 'Darryldecode\\Cart\\CartServiceProvider', 'Diglactic\\Breadcrumbs\\ServiceProvider', 'Dive\\Wishlist\\WishlistServiceProvider', 'LaravelTrailingSlash\\RoutingServiceProvider', 'Intervention\\Image\\ImageServiceProvider', 'Kalnoy\\Nestedset\\NestedSetServiceProvider', 'Laravel\\Sanctum\\SanctumServiceProvider', 'Laravel\\Scout\\ScoutServiceProvider', 'Laravel\\Tinker\\TinkerServiceProvider', 'Mcamara\\LaravelLocalization\\LaravelLocalizationServiceProvider', 'Carbon\\Laravel\\ServiceProvider', 'Termwind\\Laravel\\TermwindServiceProvider', 'Orchid\\Icons\\IconServiceProvider', 'Orchid\\Platform\\Providers\\FoundationServiceProvider', 'Spatie\\ResponseCache\\ResponseCacheServiceProvider', 'Spatie\\Translatable\\TranslatableServiceProvider', 'Tabuna\\Breadcrumbs\\BreadcrumbsServiceProvider', 'UniSharp\\LaravelFilemanager\\LaravelFilemanagerServiceProvider', 'Watson\\Active\\ActiveServiceProvider', 'App\\Providers\\AppServiceProvider', 'App\\Providers\\AuthServiceProvider', 'App\\Providers\\EventServiceProvider', 'App\\Providers\\RouteServiceProvider', 'Intervention\\Image\\ImageServiceProvider', 'App\\Providers\\ComposerServiceProvider', 'Barryvdh\\HttpCache\\ServiceProvider', 'Modules\\Mail\\Providers\\MailServiceProvider', 'Darryldecode\\Cart\\CartServiceProvider', 'App\\Providers\\AddSlashServiceProvider')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:664) at Illuminate\Foundation\Application->registerConfiguredProviders() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17) at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(object(Application)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:242) at Illuminate\Foundation\Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders')) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:160) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php:54) |