QueryException {#132
#sql: "select * from `sliders`"
#bindings: []
#message: "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `sliders`)"
#code: 2002
#file: "/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
#line: 647
-previous: PDOException {#127
#message: "SQLSTATE[HY000] [2002] Connection refused"
#code: 2002
#file: "/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php"
#line: 68
+errorInfo: null
trace: {
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:68 {
›
› return new PDO($dsn, $username, $password, $options);
› }
arguments: {
$dsn: "mysql:host=mariadb103.websupport.sk;port=3313;dbname=oegelbie"
$username: "oegelbie"
$passwd: "Vv8E6uzs;b"
$options: array:5 [ …5]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:44 {
› return $this->createPdoConnection(
› $dsn, $username, $password, $options
› );
arguments: {
$dsn: "mysql:host=mariadb103.websupport.sk;port=3313;dbname=oegelbie"
$username: "oegelbie"
$password: "Vv8E6uzs;b"
$options: array:5 [ …5]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 {
› // connection's behavior, and some might be specified by the developers.
› $connection = $this->createConnection($dsn, $config, $options);
›
arguments: {
$dsn: "mysql:host=mariadb103.websupport.sk;port=3313;dbname=oegelbie"
$config: array:13 [ …13]
$options: array:5 [ …5]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:183 {
› try {
› return $this->createConnector($config)->connect($config);
› } catch (PDOException $e) {
arguments: {
$config: array:13 [ …13]
}
}
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:883 {
› if ($this->pdo instanceof Closure) {
› return $this->pdo = call_user_func($this->pdo);
› }
arguments: {
$function_name: Closure {#104 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:904 {
›
› return $this->readPdo ?: $this->getPdo();
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:392 {
› {
› return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:318 {
› // row from the database table, and will either be an array or objects.
› $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
› ->prepare($query));
arguments: {
$useReadPdo: true
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:640 {
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"select * from `sliders`"
[]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:607 {
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "select * from `sliders`"
$bindings: []
$callback: Closure {#124 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326 {
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `sliders`"
$bindings: []
$callback: Closure {#124 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1705 {
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
arguments: {
$query: "select * from `sliders`"
$bindings: []
$useReadPdo: true
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1690 {
›
› $results = $this->processor->processSelect($this, $this->runSelect());
›
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:462 {
› return $this->model->hydrate(
› $this->query->get($columns)->all()
› )->all();
arguments: {
$columns: array:1 [ …1]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:446 {
› // 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);
arguments: {
$columns: array:1 [ …1]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:347 {
› return (new static)->newQuery()->get(
› is_array($columns) ? $columns : func_get_args()
› );
arguments: {
$columns: array:1 [ …1]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php:39 {
›
› View::share('sliders', \App\Slider::all());
› View::share('ctas', \App\CTA::all());
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:327 {
›
› require $routes;
› }
arguments: {
"/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:283 {
› // have created the routes, we will pop the attributes off the stack.
› $this->loadRoutes($routes);
›
arguments: {
$routes: "/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php:104 {
› {
› $this->router->group($this->attributes, $callback);
› }
arguments: {
$attributes: array:2 [ …2]
$routes: "/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/app/Providers/RouteServiceProvider.php:55 {
› ->namespace($this->namespace)
› ->group(base_path('routes/web.php'));
› }
arguments: {
$callback: "/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/app/Providers/RouteServiceProvider.php:39 {
› $this->mapApiRoutes();
› $this->mapWebRoutes();
› $this->mapAdminRoutes();
}
App\Providers\RouteServiceProvider->map() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 {
› return call_user_func_array(
› $callback, static::getMethodDependencies($container, $callback, $parameters)
› );
arguments: {
$function_name: array:2 [ …2]
$parameters: []
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 {
›
› return $default instanceof Closure ? $default() : $default;
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 {
› );
› });
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$default: Closure {#17 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 {
› {
› return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$parameters: []
$defaultMethod: null
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php:74 {
› if (method_exists($this, 'map')) {
› $this->app->call([$this, 'map']);
› }
arguments: {
$callback: array:2 [ …2]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php:33 {
› } else {
› $this->loadRoutes();
›
}
/var/www275/p8146/lineasro.sk/web/public_html/app/Providers/RouteServiceProvider.php:28 {
›
› parent::boot();
› }
}
App\Providers\RouteServiceProvider->boot() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 {
› return call_user_func_array(
› $callback, static::getMethodDependencies($container, $callback, $parameters)
› );
arguments: {
$function_name: array:2 [ …2]
$parameters: []
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 {
›
› return $default instanceof Closure ? $default() : $default;
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 {
› );
› });
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$default: Closure {#17 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 {
› {
› return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$parameters: []
$defaultMethod: null
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:788 {
› if (method_exists($provider, 'boot')) {
› return $this->call([$provider, 'boot']);
› }
arguments: {
$callback: array:2 [ …2]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:771 {
› array_walk($this->serviceProviders, function ($p) {
› $this->bootProvider($p);
› });
arguments: {
$provider: RouteServiceProvider {#77 …}
}
}
Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:772 {
› $this->bootProvider($p);
› });
›
arguments: {
&$input: array:22 [ …22]
$funcname: Closure {#37 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 {
› {
› $app->boot();
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:208 {
›
› $this->make($bootstrapper)->bootstrap($this);
›
arguments: {
$app: Application {#3 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 {
› if (! $this->app->hasBeenBootstrapped()) {
› $this->app->bootstrapWith($this->bootstrappers());
› }
arguments: {
$bootstrappers: array:6 [ …6]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 {
›
› $this->bootstrap();
›
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Request {#38 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/public/index.php:52 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Request {#38 …}
}
}
}
}
+errorInfo: null
trace: {
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:647 {
› catch (Exception $e) {
› throw new QueryException(
› $query, $this->prepareBindings($bindings), $e
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:607 {
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "select * from `sliders`"
$bindings: []
$callback: Closure {#124 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326 {
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `sliders`"
$bindings: []
$callback: Closure {#124 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1705 {
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
arguments: {
$query: "select * from `sliders`"
$bindings: []
$useReadPdo: true
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1690 {
›
› $results = $this->processor->processSelect($this, $this->runSelect());
›
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:462 {
› return $this->model->hydrate(
› $this->query->get($columns)->all()
› )->all();
arguments: {
$columns: array:1 [ …1]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:446 {
› // 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);
arguments: {
$columns: array:1 [ …1]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:347 {
› return (new static)->newQuery()->get(
› is_array($columns) ? $columns : func_get_args()
› );
arguments: {
$columns: array:1 [ …1]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php:39 {
›
› View::share('sliders', \App\Slider::all());
› View::share('ctas', \App\CTA::all());
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:327 {
›
› require $routes;
› }
arguments: {
"/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:283 {
› // have created the routes, we will pop the attributes off the stack.
› $this->loadRoutes($routes);
›
arguments: {
$routes: "/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php:104 {
› {
› $this->router->group($this->attributes, $callback);
› }
arguments: {
$attributes: array:2 [ …2]
$routes: "/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/app/Providers/RouteServiceProvider.php:55 {
› ->namespace($this->namespace)
› ->group(base_path('routes/web.php'));
› }
arguments: {
$callback: "/var/www275/p8146/lineasro.sk/web/public_html/routes/web.php"
}
}
/var/www275/p8146/lineasro.sk/web/public_html/app/Providers/RouteServiceProvider.php:39 {
› $this->mapApiRoutes();
› $this->mapWebRoutes();
› $this->mapAdminRoutes();
}
App\Providers\RouteServiceProvider->map() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 {
› return call_user_func_array(
› $callback, static::getMethodDependencies($container, $callback, $parameters)
› );
arguments: {
$function_name: array:2 [ …2]
$parameters: []
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 {
›
› return $default instanceof Closure ? $default() : $default;
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 {
› );
› });
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$default: Closure {#17 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 {
› {
› return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$parameters: []
$defaultMethod: null
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php:74 {
› if (method_exists($this, 'map')) {
› $this->app->call([$this, 'map']);
› }
arguments: {
$callback: array:2 [ …2]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php:33 {
› } else {
› $this->loadRoutes();
›
}
/var/www275/p8146/lineasro.sk/web/public_html/app/Providers/RouteServiceProvider.php:28 {
›
› parent::boot();
› }
}
App\Providers\RouteServiceProvider->boot() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 {
› return call_user_func_array(
› $callback, static::getMethodDependencies($container, $callback, $parameters)
› );
arguments: {
$function_name: array:2 [ …2]
$parameters: []
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 {
›
› return $default instanceof Closure ? $default() : $default;
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 {
› );
› });
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$default: Closure {#17 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 {
› {
› return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
› }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$parameters: []
$defaultMethod: null
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:788 {
› if (method_exists($provider, 'boot')) {
› return $this->call([$provider, 'boot']);
› }
arguments: {
$callback: array:2 [ …2]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:771 {
› array_walk($this->serviceProviders, function ($p) {
› $this->bootProvider($p);
› });
arguments: {
$provider: RouteServiceProvider {#77 …}
}
}
Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() {}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:772 {
› $this->bootProvider($p);
› });
›
arguments: {
&$input: array:22 [ …22]
$funcname: Closure {#37 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 {
› {
› $app->boot();
› }
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:208 {
›
› $this->make($bootstrapper)->bootstrap($this);
›
arguments: {
$app: Application {#3 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 {
› if (! $this->app->hasBeenBootstrapped()) {
› $this->app->bootstrapWith($this->bootstrappers());
› }
arguments: {
$bootstrappers: array:6 [ …6]
}
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 {
›
› $this->bootstrap();
›
}
/var/www275/p8146/lineasro.sk/web/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Request {#38 …}
}
}
/var/www275/p8146/lineasro.sk/web/public_html/public/index.php:52 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Request {#38 …}
}
}
}
}