^ Illuminate\Database\QueryException {#271
#sql: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
#bindings: []
#message: "SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) (SQL: SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order)"
#code: 1045
#file: "/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
#line: 669
-previous: Doctrine\DBAL\Driver\PDOException {#274
-errorCode: 1045
-sqlState: 1045
#message: "SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)"
#code: 1045
#file: "/var/www/html/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 31
-previous: PDOException {#273
#message: "SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)"
#code: 1045
#file: "/var/www/html/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 27
+errorInfo: null
trace: {
/var/www/html/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 {
Doctrine\DBAL\Driver\PDOConnection->__construct($dsn, $user = null, $password = null, array $options = null) …
› try {
› parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
› $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
arguments: {
$dsn: "mysql:host=localhost;port=3306;dbname=hunting_staging"
$username: "admin"
$passwd: "Cruxosoft@123"
$options: array:5 [ …5]
}
}
/var/www/html/staging/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=localhost;port=3306;dbname=hunting_staging"
$user: "admin"
$password: "Cruxosoft@123"
$options: array:5 [ …5]
}
}
/var/www/html/staging/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=localhost;port=3306;dbname=hunting_staging"
$username: "admin"
$password: "Cruxosoft@123"
$options: array:5 [ …5]
}
}
/var/www/html/staging/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=localhost;port=3306;dbname=hunting_staging"
$config: array:13 [ …13]
$options: array:5 [ …5]
}
}
/var/www/html/staging/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:13 [ …13]
}
}
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() {}
/var/www/html/staging/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() {#266 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:959 {
Illuminate\Database\Connection->getReadPdo() …
›
› return $this->readPdo ?: $this->getPdo();
› }
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:404 {
Illuminate\Database\Connection->getPdoForSelect($useReadPdo = true) …
› {
› return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
› }
}
/var/www/html/staging/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/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:662 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
[]
}
}
/var/www/html/staging/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 provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
$bindings: []
$callback: Closure($query, $bindings) {#270 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
$bindings: []
$callback: Closure($query, $bindings) {#270 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:349 {
Illuminate\Database\DatabaseManager->__call($method, $parameters) …
› {
› return $this->connection()->$method(...$parameters);
› }
arguments: {
$query: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
}
}
/var/www/html/staging/Corals/modules/ModulesServiceProvider.php:30 {
Corals\Modules\ModulesServiceProvider->register() …
›
› $modules = app('db')->select("SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order");
›
arguments: {
$method: "select"
$parameters: array:1 [ …1]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:616 {
Illuminate\Foundation\Application->register($provider, $force = false) …
›
› $provider->register();
›
}
/var/www/html/staging/Corals/core/CoralServiceProvider.php:41 {
Corals\CoralServiceProvider->register() …
› if (class_exists(ModulesServiceProvider::class)) {\r
› $this->app->register(ModulesServiceProvider::class);\r
› }\r
arguments: {
$provider: Corals\Modules\ModulesServiceProvider {#262 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:616 {
Illuminate\Foundation\Application->register($provider, $force = false) …
›
› $provider->register();
›
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75 {
Illuminate\Foundation\ProviderRepository->load(array $providers) …
› foreach ($manifest['eager'] as $provider) {
› $this->app->register($provider);
› }
arguments: {
$provider: Corals\CoralServiceProvider {#215 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:593 {
Illuminate\Foundation\Application->registerConfiguredProviders() …
› (new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
› ->load($providers->collapse()->toArray());
› }
arguments: {
$providers: array:60 [ …60]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17 {
Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Application $app) …
› {
› $app->registerConfiguredProviders();
› }
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:219 {
Illuminate\Foundation\Application->bootstrapWith(array $bootstrappers) …
›
› $this->make($bootstrapper)->bootstrap($this);
›
arguments: {
$app: Illuminate\Foundation\Application {#2 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:156 {
Illuminate\Foundation\Http\Kernel->bootstrap() …
› if (! $this->app->hasBeenBootstrapped()) {
› $this->app->bootstrapWith($this->bootstrappers());
› }
arguments: {
$bootstrappers: array:6 [ …6]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
›
› $this->bootstrap();
›
}
/var/www/html/staging/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 {#51 …}
}
}
/var/www/html/staging/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
}
}
+errorInfo: null
trace: {
/var/www/html/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 {
Doctrine\DBAL\Driver\PDOConnection->__construct($dsn, $user = null, $password = null, array $options = null) …
› } catch (\PDOException $exception) {
› throw new PDOException($exception);
› }
}
/var/www/html/staging/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=localhost;port=3306;dbname=hunting_staging"
$user: "admin"
$password: "Cruxosoft@123"
$options: array:5 [ …5]
}
}
/var/www/html/staging/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=localhost;port=3306;dbname=hunting_staging"
$username: "admin"
$password: "Cruxosoft@123"
$options: array:5 [ …5]
}
}
/var/www/html/staging/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=localhost;port=3306;dbname=hunting_staging"
$config: array:13 [ …13]
$options: array:5 [ …5]
}
}
/var/www/html/staging/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:13 [ …13]
}
}
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() {}
/var/www/html/staging/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() {#266 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:959 {
Illuminate\Database\Connection->getReadPdo() …
›
› return $this->readPdo ?: $this->getPdo();
› }
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:404 {
Illuminate\Database\Connection->getPdoForSelect($useReadPdo = true) …
› {
› return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
› }
}
/var/www/html/staging/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/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:662 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
[]
}
}
/var/www/html/staging/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 provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
$bindings: []
$callback: Closure($query, $bindings) {#270 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
$bindings: []
$callback: Closure($query, $bindings) {#270 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:349 {
Illuminate\Database\DatabaseManager->__call($method, $parameters) …
› {
› return $this->connection()->$method(...$parameters);
› }
arguments: {
$query: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
}
}
/var/www/html/staging/Corals/modules/ModulesServiceProvider.php:30 {
Corals\Modules\ModulesServiceProvider->register() …
›
› $modules = app('db')->select("SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order");
›
arguments: {
$method: "select"
$parameters: array:1 [ …1]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:616 {
Illuminate\Foundation\Application->register($provider, $force = false) …
›
› $provider->register();
›
}
/var/www/html/staging/Corals/core/CoralServiceProvider.php:41 {
Corals\CoralServiceProvider->register() …
› if (class_exists(ModulesServiceProvider::class)) {\r
› $this->app->register(ModulesServiceProvider::class);\r
› }\r
arguments: {
$provider: Corals\Modules\ModulesServiceProvider {#262 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:616 {
Illuminate\Foundation\Application->register($provider, $force = false) …
›
› $provider->register();
›
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75 {
Illuminate\Foundation\ProviderRepository->load(array $providers) …
› foreach ($manifest['eager'] as $provider) {
› $this->app->register($provider);
› }
arguments: {
$provider: Corals\CoralServiceProvider {#215 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:593 {
Illuminate\Foundation\Application->registerConfiguredProviders() …
› (new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
› ->load($providers->collapse()->toArray());
› }
arguments: {
$providers: array:60 [ …60]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17 {
Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Application $app) …
› {
› $app->registerConfiguredProviders();
› }
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:219 {
Illuminate\Foundation\Application->bootstrapWith(array $bootstrappers) …
›
› $this->make($bootstrapper)->bootstrap($this);
›
arguments: {
$app: Illuminate\Foundation\Application {#2 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:156 {
Illuminate\Foundation\Http\Kernel->bootstrap() …
› if (! $this->app->hasBeenBootstrapped()) {
› $this->app->bootstrapWith($this->bootstrappers());
› }
arguments: {
$bootstrappers: array:6 [ …6]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
›
› $this->bootstrap();
›
}
/var/www/html/staging/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 {#51 …}
}
}
/var/www/html/staging/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
}
}
+errorInfo: null
trace: {
/var/www/html/staging/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/html/staging/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 provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
$bindings: []
$callback: Closure($query, $bindings) {#270 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
$bindings: []
$callback: Closure($query, $bindings) {#270 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:349 {
Illuminate\Database\DatabaseManager->__call($method, $parameters) …
› {
› return $this->connection()->$method(...$parameters);
› }
arguments: {
$query: "SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order"
}
}
/var/www/html/staging/Corals/modules/ModulesServiceProvider.php:30 {
Corals\Modules\ModulesServiceProvider->register() …
›
› $modules = app('db')->select("SELECT provider,id,code FROM modules where enabled=1 and provider is not null and type <> 'core' order by load_order");
›
arguments: {
$method: "select"
$parameters: array:1 [ …1]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:616 {
Illuminate\Foundation\Application->register($provider, $force = false) …
›
› $provider->register();
›
}
/var/www/html/staging/Corals/core/CoralServiceProvider.php:41 {
Corals\CoralServiceProvider->register() …
› if (class_exists(ModulesServiceProvider::class)) {\r
› $this->app->register(ModulesServiceProvider::class);\r
› }\r
arguments: {
$provider: Corals\Modules\ModulesServiceProvider {#262 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:616 {
Illuminate\Foundation\Application->register($provider, $force = false) …
›
› $provider->register();
›
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75 {
Illuminate\Foundation\ProviderRepository->load(array $providers) …
› foreach ($manifest['eager'] as $provider) {
› $this->app->register($provider);
› }
arguments: {
$provider: Corals\CoralServiceProvider {#215 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:593 {
Illuminate\Foundation\Application->registerConfiguredProviders() …
› (new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
› ->load($providers->collapse()->toArray());
› }
arguments: {
$providers: array:60 [ …60]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17 {
Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Application $app) …
› {
› $app->registerConfiguredProviders();
› }
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:219 {
Illuminate\Foundation\Application->bootstrapWith(array $bootstrappers) …
›
› $this->make($bootstrapper)->bootstrap($this);
›
arguments: {
$app: Illuminate\Foundation\Application {#2 …}
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:156 {
Illuminate\Foundation\Http\Kernel->bootstrap() …
› if (! $this->app->hasBeenBootstrapped()) {
› $this->app->bootstrapWith($this->bootstrappers());
› }
arguments: {
$bootstrappers: array:6 [ …6]
}
}
/var/www/html/staging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
›
› $this->bootstrap();
›
}
/var/www/html/staging/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 {#51 …}
}
}
/var/www/html/staging/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
}
}