^ Illuminate\Database\QueryException {#3575
#sql: "select * from `estabelecimentos` limit 1"
#bindings: []
#message: "SQLSTATE[HY000] [1049] Unknown database 'gft_anatereza_db' (SQL: select * from `estabelecimentos` limit 1)"
#code: 1049
#file: "/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
#line: 669
-previous: Doctrine\DBAL\Driver\PDOException {#3578
-errorCode: 1049
-sqlState: "HY000"
#message: "SQLSTATE[HY000] [1049] Unknown database 'gft_anatereza_db'"
#code: 1049
#file: "/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 47
-previous: PDOException {#3577
#message: "SQLSTATE[HY000] [1049] Unknown database 'gft_anatereza_db'"
#code: 1049
#file: "/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 43
+errorInfo: array:3 [
0 => "HY000"
1 => 1049
2 => "Unknown database 'gft_anatereza_db'"
]
trace: {
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 {
Doctrine\DBAL\Driver\PDOConnection->__construct($dsn, $user = null, $password = null, array $options = null) …
› try {
› parent::__construct($dsn, $user, $password, $options);
› $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$username: "gft_anatereza"
$passwd: "jkS48qREed%t"
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 {
Illuminate\Database\Connectors\Connector->createPdoConnection($dsn, $username, $password, $options) …
› if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
› return new PDOConnection($dsn, $username, $password, $options);
› }
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$user: "gft_anatereza"
$password: "jkS48qREed%t"
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 {
Illuminate\Database\Connectors\Connector->createConnection($dsn, array $config, array $options) …
› return $this->createPdoConnection(
› $dsn, $username, $password, $options
› );
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$username: "gft_anatereza"
$password: "jkS48qREed%t"
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 {
Illuminate\Database\Connectors\MySqlConnector->connect(array $config) …
› // connection's behavior, and some might be specified by the developers.
› $connection = $this->createConnection($dsn, $config, $options);
›
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$config: array:11 [ …11]
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 {
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure} …
› try {
› return $this->createConnector($config)->connect($config);
› } catch (PDOException $e) {
arguments: {
$config: array:11 [ …11]
}
}
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() {}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:924 {
Illuminate\Database\Connection->getPdo() …
› if ($this->pdo instanceof Closure) {
› return $this->pdo = call_user_func($this->pdo);
› }
arguments: {
$function_name: Closure() {#3561 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:959 {
Illuminate\Database\Connection->getReadPdo() …
›
› return $this->readPdo ?: $this->getPdo();
› }
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:404 {
Illuminate\Database\Connection->getPdoForSelect($useReadPdo = true) …
› {
› return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
› }
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:330 {
Illuminate\Database\Connection->Illuminate\Database\{closure} …
› // 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/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:662 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"select * from `estabelecimentos` limit 1"
[]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:629 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$callback: Closure($query, $bindings) {#3574 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$callback: Closure($query, $bindings) {#3574 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2159 {
Illuminate\Database\Query\Builder->runSelect() …
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$useReadPdo: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2147 {
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure} …
› return collect($this->onceWithColumns(Arr::wrap($columns), function () {
› return $this->processor->processSelect($this, $this->runSelect());
› }));
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2619 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2148 {
Illuminate\Database\Query\Builder->get($columns = […1]) …
› return $this->processor->processSelect($this, $this->runSelect());
› }));
› }
arguments: {
$columns: array:1 [ …1]
$callback: Closure() {#3573 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:546 {
Illuminate\Database\Eloquent\Builder->getModels($columns = […1]) …
› return $this->model->hydrate(
› $this->query->get($columns)->all()
› )->all();
arguments: {
$columns: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:530 {
Illuminate\Database\Eloquent\Builder->get($columns = […1]) …
› // 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/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:143 {
Illuminate\Database\Eloquent\Builder->first($columns = […1]) …
› {
› return $this->take(1)->get($columns)->first();
› }
arguments: {
$columns: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23 {
Illuminate\Database\Eloquent\Model->forwardCallTo($object, $method, $parameters) …
› try {
› return $object->{$method}(...$parameters);
› } catch (Error|BadMethodCallException $e) {
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1622 {
Illuminate\Database\Eloquent\Model->__call($method, $parameters) …
›
› return $this->forwardCallTo($this->newQuery(), $method, $parameters);
› }
arguments: {
$object: Illuminate\Database\Eloquent\Builder {#3572 …}
$method: "first"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1634 {
Illuminate\Database\Eloquent\Model::__callStatic($method, $parameters) …
› {
› return (new static)->$method(...$parameters);
› }
arguments: {
$method: "first"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Modules/Base/Services/EmailService.php:27 {
App\Modules\Base\Services\EmailService->__construct(ConfiguracaoRepository $configuracaoRepository) …
›
› $estabelecimento = Estabelecimento::first();
›
arguments: {
$method: "first"
$parameters: []
}
}
App\Modules\Base\Services\EmailService->__construct() {}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:843 {
Illuminate\Container\Container->build($concrete) …
›
› return $reflector->newInstanceArgs($instances);
› }
arguments: {
$args: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
$raiseEvents: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:945 {
Illuminate\Container\Container->resolveClass(ReflectionParameter $parameter) …
› try {
› return $this->make(Util::getParameterClassName($parameter));
› }
arguments: {
$abstract: "App\Modules\Base\Services\EmailService"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:873 {
Illuminate\Container\Container->resolveDependencies(array $dependencies) …
› ? $this->resolvePrimitive($dependency)
› : $this->resolveClass($dependency);
› }
arguments: {
$parameter: ReflectionParameter {#3547 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:834 {
Illuminate\Container\Container->build($concrete) …
› try {
› $instances = $this->resolveDependencies($dependencies);
› } catch (BindingResolutionException $e) {
arguments: {
$dependencies: array:3 [ …3]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
$raiseEvents: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:233 {
Illuminate\Routing\Route->getController() …
›
› $this->controller = $this->container->make(ltrim($class, '\\'));
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:833 {
Illuminate\Routing\Route->controllerMiddleware() …
› return $this->controllerDispatcher()->getMiddleware(
› $this->getController(), $this->getControllerMethod()
› );
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:794 {
Illuminate\Routing\Route->gatherMiddleware() …
› return $this->computedMiddleware = Router::uniqueMiddleware(array_merge(
› $this->middleware(), $this->controllerMiddleware()
› ));
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:694 {
Illuminate\Routing\Router->gatherRouteMiddleware(Route $route) …
› {
› $middleware = collect($route->gatherMiddleware())->map(function ($name) {
› return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:674 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
›
› $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
›
arguments: {
$route: Illuminate\Routing\Route {#2629 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#2629 …}
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#52 …}
$route: Illuminate\Routing\Route {#2629 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Http/Middleware/Cors.php:18 {
App\Http\Middleware\Cors->handle($request, Closure $next) …
› {
› $response = $next($request);
› $response->headers->set('Access-Control-Allow-Methods','OPTIONS, POST, GET, PUT, DELETE');
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Http/Middleware/CheckForMaintenance.php:33 {
App\Http\Middleware\CheckForMaintenance->handle($request, Closure $next) …
› {
› $response = $next($request);
› $route = $request->route();
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#221 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/public/index.php:53 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
}
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1049
2 => "Unknown database 'gft_anatereza_db'"
]
trace: {
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47 {
Doctrine\DBAL\Driver\PDOConnection->__construct($dsn, $user = null, $password = null, array $options = null) …
› } catch (\PDOException $exception) {
› throw new PDOException($exception);
› }
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 {
Illuminate\Database\Connectors\Connector->createPdoConnection($dsn, $username, $password, $options) …
› if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
› return new PDOConnection($dsn, $username, $password, $options);
› }
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$user: "gft_anatereza"
$password: "jkS48qREed%t"
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 {
Illuminate\Database\Connectors\Connector->createConnection($dsn, array $config, array $options) …
› return $this->createPdoConnection(
› $dsn, $username, $password, $options
› );
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$username: "gft_anatereza"
$password: "jkS48qREed%t"
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 {
Illuminate\Database\Connectors\MySqlConnector->connect(array $config) …
› // connection's behavior, and some might be specified by the developers.
› $connection = $this->createConnection($dsn, $config, $options);
›
arguments: {
$dsn: "mysql:host=10.100.85.31;dbname=gft_anatereza_db"
$config: array:11 [ …11]
$options: array:6 [ …6]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 {
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure} …
› try {
› return $this->createConnector($config)->connect($config);
› } catch (PDOException $e) {
arguments: {
$config: array:11 [ …11]
}
}
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() {}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:924 {
Illuminate\Database\Connection->getPdo() …
› if ($this->pdo instanceof Closure) {
› return $this->pdo = call_user_func($this->pdo);
› }
arguments: {
$function_name: Closure() {#3561 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:959 {
Illuminate\Database\Connection->getReadPdo() …
›
› return $this->readPdo ?: $this->getPdo();
› }
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:404 {
Illuminate\Database\Connection->getPdoForSelect($useReadPdo = true) …
› {
› return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
› }
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:330 {
Illuminate\Database\Connection->Illuminate\Database\{closure} …
› // 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/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:662 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"select * from `estabelecimentos` limit 1"
[]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:629 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$callback: Closure($query, $bindings) {#3574 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$callback: Closure($query, $bindings) {#3574 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2159 {
Illuminate\Database\Query\Builder->runSelect() …
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$useReadPdo: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2147 {
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure} …
› return collect($this->onceWithColumns(Arr::wrap($columns), function () {
› return $this->processor->processSelect($this, $this->runSelect());
› }));
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2619 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2148 {
Illuminate\Database\Query\Builder->get($columns = […1]) …
› return $this->processor->processSelect($this, $this->runSelect());
› }));
› }
arguments: {
$columns: array:1 [ …1]
$callback: Closure() {#3573 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:546 {
Illuminate\Database\Eloquent\Builder->getModels($columns = […1]) …
› return $this->model->hydrate(
› $this->query->get($columns)->all()
› )->all();
arguments: {
$columns: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:530 {
Illuminate\Database\Eloquent\Builder->get($columns = […1]) …
› // 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/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:143 {
Illuminate\Database\Eloquent\Builder->first($columns = […1]) …
› {
› return $this->take(1)->get($columns)->first();
› }
arguments: {
$columns: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23 {
Illuminate\Database\Eloquent\Model->forwardCallTo($object, $method, $parameters) …
› try {
› return $object->{$method}(...$parameters);
› } catch (Error|BadMethodCallException $e) {
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1622 {
Illuminate\Database\Eloquent\Model->__call($method, $parameters) …
›
› return $this->forwardCallTo($this->newQuery(), $method, $parameters);
› }
arguments: {
$object: Illuminate\Database\Eloquent\Builder {#3572 …}
$method: "first"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1634 {
Illuminate\Database\Eloquent\Model::__callStatic($method, $parameters) …
› {
› return (new static)->$method(...$parameters);
› }
arguments: {
$method: "first"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Modules/Base/Services/EmailService.php:27 {
App\Modules\Base\Services\EmailService->__construct(ConfiguracaoRepository $configuracaoRepository) …
›
› $estabelecimento = Estabelecimento::first();
›
arguments: {
$method: "first"
$parameters: []
}
}
App\Modules\Base\Services\EmailService->__construct() {}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:843 {
Illuminate\Container\Container->build($concrete) …
›
› return $reflector->newInstanceArgs($instances);
› }
arguments: {
$args: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
$raiseEvents: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:945 {
Illuminate\Container\Container->resolveClass(ReflectionParameter $parameter) …
› try {
› return $this->make(Util::getParameterClassName($parameter));
› }
arguments: {
$abstract: "App\Modules\Base\Services\EmailService"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:873 {
Illuminate\Container\Container->resolveDependencies(array $dependencies) …
› ? $this->resolvePrimitive($dependency)
› : $this->resolveClass($dependency);
› }
arguments: {
$parameter: ReflectionParameter {#3547 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:834 {
Illuminate\Container\Container->build($concrete) …
› try {
› $instances = $this->resolveDependencies($dependencies);
› } catch (BindingResolutionException $e) {
arguments: {
$dependencies: array:3 [ …3]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
$raiseEvents: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:233 {
Illuminate\Routing\Route->getController() …
›
› $this->controller = $this->container->make(ltrim($class, '\\'));
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:833 {
Illuminate\Routing\Route->controllerMiddleware() …
› return $this->controllerDispatcher()->getMiddleware(
› $this->getController(), $this->getControllerMethod()
› );
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:794 {
Illuminate\Routing\Route->gatherMiddleware() …
› return $this->computedMiddleware = Router::uniqueMiddleware(array_merge(
› $this->middleware(), $this->controllerMiddleware()
› ));
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:694 {
Illuminate\Routing\Router->gatherRouteMiddleware(Route $route) …
› {
› $middleware = collect($route->gatherMiddleware())->map(function ($name) {
› return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:674 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
›
› $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
›
arguments: {
$route: Illuminate\Routing\Route {#2629 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#2629 …}
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#52 …}
$route: Illuminate\Routing\Route {#2629 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Http/Middleware/Cors.php:18 {
App\Http\Middleware\Cors->handle($request, Closure $next) …
› {
› $response = $next($request);
› $response->headers->set('Access-Control-Allow-Methods','OPTIONS, POST, GET, PUT, DELETE');
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Http/Middleware/CheckForMaintenance.php:33 {
App\Http\Middleware\CheckForMaintenance->handle($request, Closure $next) …
› {
› $response = $next($request);
› $route = $request->route();
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#221 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/public/index.php:53 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
}
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1049
2 => "Unknown database 'gft_anatereza_db'"
]
trace: {
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› catch (Exception $e) {
› throw new QueryException(
› $query, $this->prepareBindings($bindings), $e
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:629 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$callback: Closure($query, $bindings) {#3574 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$callback: Closure($query, $bindings) {#3574 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2159 {
Illuminate\Database\Query\Builder->runSelect() …
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
arguments: {
$query: "select * from `estabelecimentos` limit 1"
$bindings: []
$useReadPdo: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2147 {
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure} …
› return collect($this->onceWithColumns(Arr::wrap($columns), function () {
› return $this->processor->processSelect($this, $this->runSelect());
› }));
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2619 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2148 {
Illuminate\Database\Query\Builder->get($columns = […1]) …
› return $this->processor->processSelect($this, $this->runSelect());
› }));
› }
arguments: {
$columns: array:1 [ …1]
$callback: Closure() {#3573 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:546 {
Illuminate\Database\Eloquent\Builder->getModels($columns = […1]) …
› return $this->model->hydrate(
› $this->query->get($columns)->all()
› )->all();
arguments: {
$columns: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:530 {
Illuminate\Database\Eloquent\Builder->get($columns = […1]) …
› // 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/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:143 {
Illuminate\Database\Eloquent\Builder->first($columns = […1]) …
› {
› return $this->take(1)->get($columns)->first();
› }
arguments: {
$columns: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23 {
Illuminate\Database\Eloquent\Model->forwardCallTo($object, $method, $parameters) …
› try {
› return $object->{$method}(...$parameters);
› } catch (Error|BadMethodCallException $e) {
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1622 {
Illuminate\Database\Eloquent\Model->__call($method, $parameters) …
›
› return $this->forwardCallTo($this->newQuery(), $method, $parameters);
› }
arguments: {
$object: Illuminate\Database\Eloquent\Builder {#3572 …}
$method: "first"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1634 {
Illuminate\Database\Eloquent\Model::__callStatic($method, $parameters) …
› {
› return (new static)->$method(...$parameters);
› }
arguments: {
$method: "first"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Modules/Base/Services/EmailService.php:27 {
App\Modules\Base\Services\EmailService->__construct(ConfiguracaoRepository $configuracaoRepository) …
›
› $estabelecimento = Estabelecimento::first();
›
arguments: {
$method: "first"
$parameters: []
}
}
App\Modules\Base\Services\EmailService->__construct() {}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:843 {
Illuminate\Container\Container->build($concrete) …
›
› return $reflector->newInstanceArgs($instances);
› }
arguments: {
$args: array:1 [ …1]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
$raiseEvents: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:945 {
Illuminate\Container\Container->resolveClass(ReflectionParameter $parameter) …
› try {
› return $this->make(Util::getParameterClassName($parameter));
› }
arguments: {
$abstract: "App\Modules\Base\Services\EmailService"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:873 {
Illuminate\Container\Container->resolveDependencies(array $dependencies) …
› ? $this->resolvePrimitive($dependency)
› : $this->resolveClass($dependency);
› }
arguments: {
$parameter: ReflectionParameter {#3547 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:834 {
Illuminate\Container\Container->build($concrete) …
› try {
› $instances = $this->resolveDependencies($dependencies);
› } catch (BindingResolutionException $e) {
arguments: {
$dependencies: array:3 [ …3]
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
$raiseEvents: true
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
$parameters: []
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:233 {
Illuminate\Routing\Route->getController() …
›
› $this->controller = $this->container->make(ltrim($class, '\\'));
› }
arguments: {
$abstract: "App\Modules\Tenant\Controllers\TenantController"
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:833 {
Illuminate\Routing\Route->controllerMiddleware() …
› return $this->controllerDispatcher()->getMiddleware(
› $this->getController(), $this->getControllerMethod()
› );
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Route.php:794 {
Illuminate\Routing\Route->gatherMiddleware() …
› return $this->computedMiddleware = Router::uniqueMiddleware(array_merge(
› $this->middleware(), $this->controllerMiddleware()
› ));
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:694 {
Illuminate\Routing\Router->gatherRouteMiddleware(Route $route) …
› {
› $middleware = collect($route->gatherMiddleware())->map(function ($name) {
› return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:674 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
›
› $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
›
arguments: {
$route: Illuminate\Routing\Route {#2629 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#2629 …}
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#52 …}
$route: Illuminate\Routing\Route {#2629 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Http/Middleware/Cors.php:18 {
App\Http\Middleware\Cors->handle($request, Closure $next) …
› {
› $response = $next($request);
› $response->headers->set('Access-Control-Allow-Methods','OPTIONS, POST, GET, PUT, DELETE');
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/app/Http/Middleware/CheckForMaintenance.php:33 {
App\Http\Middleware\CheckForMaintenance->handle($request, Closure $next) …
› {
› $response = $next($request);
› $route = $request->route();
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#52 …}
$next: Closure($passable) {#2688 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#221 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
/var/www/moduloweb/moduloweb/releases/20160304152700/public/index.php:53 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#52 …}
}
}
}
}