www.buycode.us
Open in
urlscan Pro
104.21.26.138
Public Scan
URL:
https://www.buycode.us/
Submission: On December 04 via api from US — Scanned from US
Submission: On December 04 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
SYMFONY EXCEPTION Symfony Docs PDOEXCEPTION QUERYEXCEPTION HTTP 500 INTERNAL SERVER ERROR SQLSTATE[42000] [1044] ACCESS DENIED FOR USER 'BUYCODE_USER'@'LOCALHOST' TO DATABASE 'BUYCODE_D' (SQL: SELECT * FROM `LANGUAGES`) * Exceptions 2 * Stack Traces 2 EXCEPTIONS 2 ILLUMINATE\DATABASE\ QUERYEXCEPTION in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php (line 760) 755. 756. // If an exception occurs when attempting to run a query, we'll format the error 757. // message to include the bindings with SQL, which will make this exception a 758. // lot more helpful to the developer instead of just the database's errors. 759. catch (Exception $e) { 760. throw new QueryException( 761. $query, $this->prepareBindings($bindings), $e 762. ); 763. } 764. } 765. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> runQueryCallback (line 720) 715. 716. // Here we will run this query. If an exception occurs we'll determine if it was 717. // caused by a connection that has been lost. If that is the cause, we'll try 718. // to re-establish connection and re-run the query with a fresh connection. 719. try { 720. $result = $this->runQueryCallback($query, $bindings, $callback); 721. } catch (QueryException $e) { 722. $result = $this->handleQueryException( 723. $e, $query, $bindings, $callback 724. ); 725. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> run (line 422) 417. $this->bindValues($statement, $this->prepareBindings($bindings)); 418. 419. $statement->execute(); 420. 421. return $statement->fetchAll(); 422. }); 423. } 424. 425. /** 426. * Run a select statement against the database and returns a generator. 427. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> select (line 2654) 2649. * @return array 2650. */ 2651. protected function runSelect() 2652. { 2653. return $this->connection->select( 2654. $this->toSql(), $this->getBindings(), ! $this->useWritePdo 2655. ); 2656. } 2657. 2658. /** 2659. * Paginate the given query into a simple paginator. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> runSelect (line 2642) 2637. * @return \Illuminate\Support\Collection 2638. */ 2639. public function get($columns = ['*']) 2640. { 2641. return collect($this->onceWithColumns(Arr::wrap($columns), function () { 2642. return $this->processor->processSelect($this, $this->runSelect()); 2643. })); 2644. } 2645. 2646. /** 2647. * Run the query as a "select" statement against the connection. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> Illuminate\Database\Query\{closure} (line 3178) 3173. 3174. if (is_null($original)) { 3175. $this->columns = $columns; 3176. } 3177. 3178. $result = $callback(); 3179. 3180. $this->columns = $original; 3181. 3182. return $result; 3183. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> onceWithColumns (line 2643) 2638. */ 2639. public function get($columns = ['*']) 2640. { 2641. return collect($this->onceWithColumns(Arr::wrap($columns), function () { 2642. return $this->processor->processSelect($this, $this->runSelect()); 2643. })); 2644. } 2645. 2646. /** 2647. * Run the query as a "select" statement against the connection. 2648. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php -> get (line 702) 697. * @return \Illuminate\Database\Eloquent\Model[]|static[] 698. */ 699. public function getModels($columns = ['*']) 700. { 701. return $this->model->hydrate( 702. $this->query->get($columns)->all() 703. )->all(); 704. } 705. 706. /** 707. * Eager load the relationships for the models. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php -> getModels (line 686) 681. $builder = $this->applyScopes(); 682. 683. // If we actually found models we will also eager load any relationships that 684. // have been specified as needing to be eager loaded, which will solve the 685. // n+1 query issue for the developers to avoid running a lot of queries. 686. if (count($models = $builder->getModels($columns)) > 0) { 687. $models = $builder->eagerLoadRelations($models); 688. } 689. 690. return $builder->getModel()->newCollection($models); 691. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php -> get (line 674) 669. * @return \Illuminate\Database\Eloquent\Collection<int, static> 670. */ 671. public static function all($columns = ['*']) 672. { 673. return static::query()->get( 674. is_array($columns) ? $columns : func_get_args() 675. ); 676. } 677. 678. /** 679. * Begin querying a model with eager loading. Model::all() in /home/buycode/public_html/core/app/Providers/AppServiceProvider.php (line 45) 40. $general = gs(); 41. $activeTemplate = activeTemplate(); 42. $viewShare['general'] = $general; 43. $viewShare['activeTemplate'] = $activeTemplate; 44. $viewShare['activeTemplateTrue'] = activeTemplate(true); 45. $viewShare['language'] = Language::all(); 46. $viewShare['emptyMessage'] = 'Data not found'; 47. $viewShare['emptyMsgImage'] = getContent('empty_message.content', true); 48. $viewShare['categories'] = Category::active()->with(['subcategories', 'categoryFeature'])->withCount('subcategories')->orderBy('subcategories_count', 'desc')->get(); 49. view()->share($viewShare); 50. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php -> boot (line 36) 31. if (static::isCallableWithAtSign($callback) || $defaultMethod) { 32. return static::callClass($container, $callback, $parameters, $defaultMethod); 33. } 34. 35. return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) { 36. return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters))); 37. }); 38. } 39. 40. /** 41. * Call a string reference to a class using Class@method syntax. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41) 36. * @param mixed ...$args 37. * @return mixed 38. */ 39. public static function unwrapIfClosure($value, ...$args) 40. { 41. return $value instanceof Closure ? $value(...$args) : $value; 42. } 43. 44. /** 45. * Get the class name of the given parameter's type, if possible. 46. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php :: unwrapIfClosure (line 93) 88. 89. if ($container->hasMethodBinding($method)) { 90. return $container->callMethodBinding($method, $callback[0]); 91. } 92. 93. return Util::unwrapIfClosure($default); 94. } 95. 96. /** 97. * Normalize the given callback into a Class@method string. 98. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php :: callBoundMethod (line 37) 32. return static::callClass($container, $callback, $parameters, $defaultMethod); 33. } 34. 35. return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) { 36. return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters))); 37. }); 38. } 39. 40. /** 41. * Call a string reference to a class using Class@method syntax. 42. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Container.php :: call (line 651) 646. * 647. * @throws \InvalidArgumentException 648. */ 649. public function call($callback, array $parameters = [], $defaultMethod = null) 650. { 651. return BoundMethod::call($this, $callback, $parameters, $defaultMethod); 652. } 653. 654. /** 655. * Get a closure to resolve the given type from the container. 656. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php -> call (line 933) 928. protected function bootProvider(ServiceProvider $provider) 929. { 930. $provider->callBootingCallbacks(); 931. 932. if (method_exists($provider, 'boot')) { 933. $this->call([$provider, 'boot']); 934. } 935. 936. $provider->callBootedCallbacks(); 937. } 938. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php -> bootProvider (line 914) 909. // for any listeners that need to do work after this initial booting gets 910. // finished. This is useful when ordering the boot-up processes we run. 911. $this->fireAppCallbacks($this->bootingCallbacks); 912. 913. array_walk($this->serviceProviders, function ($p) { 914. $this->bootProvider($p); 915. }); 916. 917. $this->booted = true; 918. 919. $this->fireAppCallbacks($this->bootedCallbacks); Application->Illuminate\Foundation\{closure}() in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php array_walk (line 915) 910. // finished. This is useful when ordering the boot-up processes we run. 911. $this->fireAppCallbacks($this->bootingCallbacks); 912. 913. array_walk($this->serviceProviders, function ($p) { 914. $this->bootProvider($p); 915. }); 916. 917. $this->booted = true; 918. 919. $this->fireAppCallbacks($this->bootedCallbacks); 920. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php -> boot (line 17) 12. * @param \Illuminate\Contracts\Foundation\Application $app 13. * @return void 14. */ 15. public function bootstrap(Application $app) 16. { 17. $app->boot(); 18. } 19. } 20. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php -> bootstrap (line 242) 237. $this->hasBeenBootstrapped = true; 238. 239. foreach ($bootstrappers as $bootstrapper) { 240. $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]); 241. 242. $this->make($bootstrapper)->bootstrap($this); 243. 244. $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]); 245. } 246. } 247. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php -> bootstrapWith (line 176) 171. * @return void 172. */ 173. public function bootstrap() 174. { 175. if (! $this->app->hasBeenBootstrapped()) { 176. $this->app->bootstrapWith($this->bootstrappers()); 177. } 178. } 179. 180. /** 181. * Get the route dispatcher callback. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php -> bootstrap (line 160) 155. { 156. $this->app->instance('request', $request); 157. 158. Facade::clearResolvedInstance('request'); 159. 160. $this->bootstrap(); 161. 162. return (new Pipeline($this->app)) 163. ->send($request) 164. ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) 165. ->then($this->dispatchToRouter()); in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php -> sendRequestThroughRouter (line 134) 129. $this->requestStartedAt = Carbon::now(); 130. 131. try { 132. $request->enableHttpMethodParameterOverride(); 133. 134. $response = $this->sendRequestThroughRouter($request); 135. } catch (Throwable $e) { 136. $this->reportException($e); 137. 138. $response = $this->renderException($request, $e); 139. } Kernel->handle() in /home/buycode/public_html/index.php (line 52) 47. $app = require_once __DIR__.'/core/bootstrap/app.php'; 48. 49. $kernel = $app->make(Kernel::class); 50. 51. $response = $kernel->handle( 52. $request = Request::capture() 53. )->send(); 54. 55. $kernel->terminate($request, $response); 56. PDOEXCEPTION SQLSTATE[42000] [1044] Access denied for user 'buycode_User'@'localhost' to database 'buycode_D' in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php (line 70) 65. { 66. if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) { 67. return new PDOConnection($dsn, $username, $password, $options); 68. } 69. 70. return new PDO($dsn, $username, $password, $options); 71. } 72. 73. /** 74. * Determine if the connection is persistent. 75. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php -> __construct (line 70) 65. { 66. if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) { 67. return new PDOConnection($dsn, $username, $password, $options); 68. } 69. 70. return new PDO($dsn, $username, $password, $options); 71. } 72. 73. /** 74. * Determine if the connection is persistent. 75. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php -> createPdoConnection (line 46) 41. $config['username'] ?? null, $config['password'] ?? null, 42. ]; 43. 44. try { 45. return $this->createPdoConnection( 46. $dsn, $username, $password, $options 47. ); 48. } catch (Exception $e) { 49. return $this->tryAgainIfCausedByLostConnection( 50. $e, $dsn, $username, $password, $options 51. ); in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php -> createConnection (line 24) 19. $options = $this->getOptions($config); 20. 21. // We need to grab the PDO options that should be used while making the brand 22. // new connection instance. The PDO options control various aspects of the 23. // connection's behavior, and some might be specified by the developers. 24. $connection = $this->createConnection($dsn, $config, $options); 25. 26. if (! empty($config['database'])) { 27. $connection->exec("use `{$config['database']}`;"); 28. } 29. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php -> connect (line 184) 179. return function () use ($config) { 180. foreach (Arr::shuffle($this->parseHosts($config)) as $host) { 181. $config['host'] = $host; 182. 183. try { 184. return $this->createConnector($config)->connect($config); 185. } catch (PDOException $e) { 186. continue; 187. } 188. } 189. ConnectionFactory->Illuminate\Database\Connectors\{closure}() in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php call_user_func (line 1181) 1176. * @return \PDO 1177. */ 1178. public function getPdo() 1179. { 1180. if ($this->pdo instanceof Closure) { 1181. return $this->pdo = call_user_func($this->pdo); 1182. } 1183. 1184. return $this->pdo; 1185. } 1186. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> getPdo (line 1217) 1212. 1213. if ($this->readPdo instanceof Closure) { 1214. return $this->readPdo = call_user_func($this->readPdo); 1215. } 1216. 1217. return $this->readPdo ?: $this->getPdo(); 1218. } 1219. 1220. /** 1221. * Get the current read PDO connection parameter without executing any reconnect logic. 1222. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> getReadPdo (line 486) 481. * @param bool $useReadPdo 482. * @return \PDO 483. */ 484. protected function getPdoForSelect($useReadPdo = true) 485. { 486. return $useReadPdo ? $this->getReadPdo() : $this->getPdo(); 487. } 488. 489. /** 490. * Run an insert statement against the database. 491. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> getPdoForSelect (line 414) 409. 410. // For select statements, we'll simply execute the query and return an array 411. // of the database result set. Each element in the array will be a single 412. // row from the database table, and will either be an array or objects. 413. $statement = $this->prepared( 414. $this->getPdoForSelect($useReadPdo)->prepare($query) 415. ); 416. 417. $this->bindValues($statement, $this->prepareBindings($bindings)); 418. 419. $statement->execute(); in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> Illuminate\Database\{closure} (line 753) 748. { 749. // To execute the statement, we'll simply call the callback, which will actually 750. // run the SQL against the PDO connection. Then we can calculate the time it 751. // took to execute and log the query SQL, bindings and time in our memory. 752. try { 753. return $callback($query, $bindings); 754. } 755. 756. // If an exception occurs when attempting to run a query, we'll format the error 757. // message to include the bindings with SQL, which will make this exception a 758. // lot more helpful to the developer instead of just the database's errors. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> runQueryCallback (line 720) 715. 716. // Here we will run this query. If an exception occurs we'll determine if it was 717. // caused by a connection that has been lost. If that is the cause, we'll try 718. // to re-establish connection and re-run the query with a fresh connection. 719. try { 720. $result = $this->runQueryCallback($query, $bindings, $callback); 721. } catch (QueryException $e) { 722. $result = $this->handleQueryException( 723. $e, $query, $bindings, $callback 724. ); 725. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php -> run (line 422) 417. $this->bindValues($statement, $this->prepareBindings($bindings)); 418. 419. $statement->execute(); 420. 421. return $statement->fetchAll(); 422. }); 423. } 424. 425. /** 426. * Run a select statement against the database and returns a generator. 427. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> select (line 2654) 2649. * @return array 2650. */ 2651. protected function runSelect() 2652. { 2653. return $this->connection->select( 2654. $this->toSql(), $this->getBindings(), ! $this->useWritePdo 2655. ); 2656. } 2657. 2658. /** 2659. * Paginate the given query into a simple paginator. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> runSelect (line 2642) 2637. * @return \Illuminate\Support\Collection 2638. */ 2639. public function get($columns = ['*']) 2640. { 2641. return collect($this->onceWithColumns(Arr::wrap($columns), function () { 2642. return $this->processor->processSelect($this, $this->runSelect()); 2643. })); 2644. } 2645. 2646. /** 2647. * Run the query as a "select" statement against the connection. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> Illuminate\Database\Query\{closure} (line 3178) 3173. 3174. if (is_null($original)) { 3175. $this->columns = $columns; 3176. } 3177. 3178. $result = $callback(); 3179. 3180. $this->columns = $original; 3181. 3182. return $result; 3183. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php -> onceWithColumns (line 2643) 2638. */ 2639. public function get($columns = ['*']) 2640. { 2641. return collect($this->onceWithColumns(Arr::wrap($columns), function () { 2642. return $this->processor->processSelect($this, $this->runSelect()); 2643. })); 2644. } 2645. 2646. /** 2647. * Run the query as a "select" statement against the connection. 2648. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php -> get (line 702) 697. * @return \Illuminate\Database\Eloquent\Model[]|static[] 698. */ 699. public function getModels($columns = ['*']) 700. { 701. return $this->model->hydrate( 702. $this->query->get($columns)->all() 703. )->all(); 704. } 705. 706. /** 707. * Eager load the relationships for the models. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php -> getModels (line 686) 681. $builder = $this->applyScopes(); 682. 683. // If we actually found models we will also eager load any relationships that 684. // have been specified as needing to be eager loaded, which will solve the 685. // n+1 query issue for the developers to avoid running a lot of queries. 686. if (count($models = $builder->getModels($columns)) > 0) { 687. $models = $builder->eagerLoadRelations($models); 688. } 689. 690. return $builder->getModel()->newCollection($models); 691. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php -> get (line 674) 669. * @return \Illuminate\Database\Eloquent\Collection<int, static> 670. */ 671. public static function all($columns = ['*']) 672. { 673. return static::query()->get( 674. is_array($columns) ? $columns : func_get_args() 675. ); 676. } 677. 678. /** 679. * Begin querying a model with eager loading. Model::all() in /home/buycode/public_html/core/app/Providers/AppServiceProvider.php (line 45) 40. $general = gs(); 41. $activeTemplate = activeTemplate(); 42. $viewShare['general'] = $general; 43. $viewShare['activeTemplate'] = $activeTemplate; 44. $viewShare['activeTemplateTrue'] = activeTemplate(true); 45. $viewShare['language'] = Language::all(); 46. $viewShare['emptyMessage'] = 'Data not found'; 47. $viewShare['emptyMsgImage'] = getContent('empty_message.content', true); 48. $viewShare['categories'] = Category::active()->with(['subcategories', 'categoryFeature'])->withCount('subcategories')->orderBy('subcategories_count', 'desc')->get(); 49. view()->share($viewShare); 50. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php -> boot (line 36) 31. if (static::isCallableWithAtSign($callback) || $defaultMethod) { 32. return static::callClass($container, $callback, $parameters, $defaultMethod); 33. } 34. 35. return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) { 36. return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters))); 37. }); 38. } 39. 40. /** 41. * Call a string reference to a class using Class@method syntax. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41) 36. * @param mixed ...$args 37. * @return mixed 38. */ 39. public static function unwrapIfClosure($value, ...$args) 40. { 41. return $value instanceof Closure ? $value(...$args) : $value; 42. } 43. 44. /** 45. * Get the class name of the given parameter's type, if possible. 46. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php :: unwrapIfClosure (line 93) 88. 89. if ($container->hasMethodBinding($method)) { 90. return $container->callMethodBinding($method, $callback[0]); 91. } 92. 93. return Util::unwrapIfClosure($default); 94. } 95. 96. /** 97. * Normalize the given callback into a Class@method string. 98. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php :: callBoundMethod (line 37) 32. return static::callClass($container, $callback, $parameters, $defaultMethod); 33. } 34. 35. return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) { 36. return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters))); 37. }); 38. } 39. 40. /** 41. * Call a string reference to a class using Class@method syntax. 42. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Container.php :: call (line 651) 646. * 647. * @throws \InvalidArgumentException 648. */ 649. public function call($callback, array $parameters = [], $defaultMethod = null) 650. { 651. return BoundMethod::call($this, $callback, $parameters, $defaultMethod); 652. } 653. 654. /** 655. * Get a closure to resolve the given type from the container. 656. * in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php -> call (line 933) 928. protected function bootProvider(ServiceProvider $provider) 929. { 930. $provider->callBootingCallbacks(); 931. 932. if (method_exists($provider, 'boot')) { 933. $this->call([$provider, 'boot']); 934. } 935. 936. $provider->callBootedCallbacks(); 937. } 938. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php -> bootProvider (line 914) 909. // for any listeners that need to do work after this initial booting gets 910. // finished. This is useful when ordering the boot-up processes we run. 911. $this->fireAppCallbacks($this->bootingCallbacks); 912. 913. array_walk($this->serviceProviders, function ($p) { 914. $this->bootProvider($p); 915. }); 916. 917. $this->booted = true; 918. 919. $this->fireAppCallbacks($this->bootedCallbacks); Application->Illuminate\Foundation\{closure}() in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php array_walk (line 915) 910. // finished. This is useful when ordering the boot-up processes we run. 911. $this->fireAppCallbacks($this->bootingCallbacks); 912. 913. array_walk($this->serviceProviders, function ($p) { 914. $this->bootProvider($p); 915. }); 916. 917. $this->booted = true; 918. 919. $this->fireAppCallbacks($this->bootedCallbacks); 920. } in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php -> boot (line 17) 12. * @param \Illuminate\Contracts\Foundation\Application $app 13. * @return void 14. */ 15. public function bootstrap(Application $app) 16. { 17. $app->boot(); 18. } 19. } 20. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php -> bootstrap (line 242) 237. $this->hasBeenBootstrapped = true; 238. 239. foreach ($bootstrappers as $bootstrapper) { 240. $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]); 241. 242. $this->make($bootstrapper)->bootstrap($this); 243. 244. $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]); 245. } 246. } 247. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php -> bootstrapWith (line 176) 171. * @return void 172. */ 173. public function bootstrap() 174. { 175. if (! $this->app->hasBeenBootstrapped()) { 176. $this->app->bootstrapWith($this->bootstrappers()); 177. } 178. } 179. 180. /** 181. * Get the route dispatcher callback. in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php -> bootstrap (line 160) 155. { 156. $this->app->instance('request', $request); 157. 158. Facade::clearResolvedInstance('request'); 159. 160. $this->bootstrap(); 161. 162. return (new Pipeline($this->app)) 163. ->send($request) 164. ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) 165. ->then($this->dispatchToRouter()); in /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php -> sendRequestThroughRouter (line 134) 129. $this->requestStartedAt = Carbon::now(); 130. 131. try { 132. $request->enableHttpMethodParameterOverride(); 133. 134. $response = $this->sendRequestThroughRouter($request); 135. } catch (Throwable $e) { 136. $this->reportException($e); 137. 138. $response = $this->renderException($request, $e); 139. } Kernel->handle() in /home/buycode/public_html/index.php (line 52) 47. $app = require_once __DIR__.'/core/bootstrap/app.php'; 48. 49. $kernel = $app->make(Kernel::class); 50. 51. $response = $kernel->handle( 52. $request = Request::capture() 53. )->send(); 54. 55. $kernel->terminate($request, $response); 56. STACK TRACES 2 [2/2] QueryException Illuminate\Database\QueryException: SQLSTATE[42000] [1044] Access denied for user 'buycode_User'@'localhost' to database 'buycode_D' (SQL: select * from `languages`) at /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\Database\Connection->runQueryCallback() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720) at Illuminate\Database\Connection->run() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422) at Illuminate\Database\Connection->select() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2654) at Illuminate\Database\Query\Builder->runSelect() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2642) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3178) at Illuminate\Database\Query\Builder->onceWithColumns() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2643) at Illuminate\Database\Query\Builder->get() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:702) at Illuminate\Database\Eloquent\Builder->getModels() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:686) at Illuminate\Database\Eloquent\Builder->get() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:674) at Illuminate\Database\Eloquent\Model::all() (/home/buycode/public_html/core/app/Providers/AppServiceProvider.php:45) at App\Providers\AppServiceProvider->boot() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36) at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Util.php:41) at Illuminate\Container\Util::unwrapIfClosure() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93) at Illuminate\Container\BoundMethod::callBoundMethod() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37) at Illuminate\Container\BoundMethod::call() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Container.php:651) at Illuminate\Container\Container->call() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:933) at Illuminate\Foundation\Application->bootProvider() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:914) at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() at array_walk() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:915) at Illuminate\Foundation\Application->boot() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17) at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:242) at Illuminate\Foundation\Application->bootstrapWith() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176) at Illuminate\Foundation\Http\Kernel->bootstrap() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:160) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/buycode/public_html/index.php:52) [1/2] PDOException PDOException: SQLSTATE[42000] [1044] Access denied for user 'buycode_User'@'localhost' to database 'buycode_D' at /home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 at PDO->__construct() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70) at Illuminate\Database\Connectors\Connector->createPdoConnection() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46) at Illuminate\Database\Connectors\Connector->createConnection() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184) at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() at call_user_func() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1181) at Illuminate\Database\Connection->getPdo() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1217) at Illuminate\Database\Connection->getReadPdo() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:486) at Illuminate\Database\Connection->getPdoForSelect() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414) at Illuminate\Database\Connection->Illuminate\Database\{closure}() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:753) at Illuminate\Database\Connection->runQueryCallback() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720) at Illuminate\Database\Connection->run() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422) at Illuminate\Database\Connection->select() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2654) at Illuminate\Database\Query\Builder->runSelect() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2642) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3178) at Illuminate\Database\Query\Builder->onceWithColumns() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2643) at Illuminate\Database\Query\Builder->get() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:702) at Illuminate\Database\Eloquent\Builder->getModels() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:686) at Illuminate\Database\Eloquent\Builder->get() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:674) at Illuminate\Database\Eloquent\Model::all() (/home/buycode/public_html/core/app/Providers/AppServiceProvider.php:45) at App\Providers\AppServiceProvider->boot() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36) at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Util.php:41) at Illuminate\Container\Util::unwrapIfClosure() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93) at Illuminate\Container\BoundMethod::callBoundMethod() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37) at Illuminate\Container\BoundMethod::call() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Container/Container.php:651) at Illuminate\Container\Container->call() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:933) at Illuminate\Foundation\Application->bootProvider() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:914) at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() at array_walk() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:915) at Illuminate\Foundation\Application->boot() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17) at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:242) at Illuminate\Foundation\Application->bootstrapWith() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176) at Illuminate\Foundation\Http\Kernel->bootstrap() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:160) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/buycode/public_html/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/buycode/public_html/index.php:52)