Illuminate\Database\QueryException {#1252
#sql: "select * from `products`"
#bindings: []
#message: "SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from `products`)"
#code: 1045
#file: "/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
#line: 669
-previous: PDOException {#1160
#message: "SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)"
#code: 1045
#file: "/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php"
#line: 70
+errorInfo: array:3 [
0 => "HY000"
1 => 1045
2 => "Access denied for user 'root'@'localhost' (using password: NO)"
]
trace: {
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 {
Illuminate\Database\Connectors\Connector->createPdoConnection($dsn, $username, $password, $options) …
›
› return new PDO($dsn, $username, $password, $options);
› }
arguments: {
$dsn: "mysql:host=127.0.0.1;port=3306;dbname=laravel"
$username: "root"
$passwd: ""
$options: array:5 [ …5]
}
}
/home/logicomanapps/public_html/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=127.0.0.1;port=3306;dbname=laravel"
$username: "root"
$password: ""
$options: array:5 [ …5]
}
}
/home/logicomanapps/public_html/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=127.0.0.1;port=3306;dbname=laravel"
$config: array:15 [ …15]
$options: array:5 [ …5]
}
}
/home/logicomanapps/public_html/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:15 [ …15]
}
}
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() {}
/home/logicomanapps/public_html/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() {#220 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:959 {
Illuminate\Database\Connection->getReadPdo() …
›
› return $this->readPdo ?: $this->getPdo();
› }
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:404 {
Illuminate\Database\Connection->getPdoForSelect($useReadPdo = true) …
› {
› return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
› }
}
/home/logicomanapps/public_html/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
}
}
/home/logicomanapps/public_html/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 `products`"
[]
}
}
/home/logicomanapps/public_html/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 `products`"
$bindings: []
$callback: Closure($query, $bindings) {#1253 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `products`"
$bindings: []
$callback: Closure($query, $bindings) {#1253 …}
}
}
/home/logicomanapps/public_html/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 `products`"
$bindings: []
$useReadPdo: true
}
}
/home/logicomanapps/public_html/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());
› }));
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2619 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/home/logicomanapps/public_html/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() {#1251 …}
}
}
/home/logicomanapps/public_html/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]
}
}
/home/logicomanapps/public_html/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]
}
}
/home/logicomanapps/public_html/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) {
}
/home/logicomanapps/public_html/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 {#354 …}
$method: "get"
$parameters: []
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1634 {
Illuminate\Database\Eloquent\Model::__callStatic($method, $parameters) …
› {
› return (new static)->$method(...$parameters);
› }
arguments: {
$method: "get"
$parameters: []
}
}
/home/logicomanapps/public_html/app/Http/Controllers/HomeController.php:33 {
App\Http\Controllers\HomeController->index() …
› {\r
› $products = Product::get();\r
› $services = Service::get();\r
arguments: {
$method: "get"
$parameters: []
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return $this->{$method}(...array_values($parameters));
› }
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
› if (method_exists($controller, 'callAction')) {
› return $controller->callAction($method, $parameters);
› }
arguments: {
$method: "index"
$parameters: []
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
arguments: {
$route: Illuminate\Routing\Route {#231 …}
$controller: App\Http\Controllers\HomeController {#318 …}
$method: "index"
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 {
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
› ) {
› return tap($next($request), function ($response) use ($request) {
› if ($this->shouldAddXsrfTokenCookie()) {
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#312 …}
}
}
/home/logicomanapps/public_html/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 {#231 …}
$request: Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$route: Illuminate\Routing\Route {#231 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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) {#30 …}
}
}
/home/logicomanapps/public_html/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 …}
}
}
/home/logicomanapps/public_html/public/index.php:55 {
› $response = $kernel->handle(\r
› $request = Illuminate\Http\Request::capture()\r
› );\r
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
}
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1045
2 => "Access denied for user 'root'@'localhost' (using password: NO)"
]
trace: {
/home/logicomanapps/public_html/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
}
/home/logicomanapps/public_html/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 `products`"
$bindings: []
$callback: Closure($query, $bindings) {#1253 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:338 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
arguments: {
$query: "select * from `products`"
$bindings: []
$callback: Closure($query, $bindings) {#1253 …}
}
}
/home/logicomanapps/public_html/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 `products`"
$bindings: []
$useReadPdo: true
}
}
/home/logicomanapps/public_html/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());
› }));
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2619 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/home/logicomanapps/public_html/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() {#1251 …}
}
}
/home/logicomanapps/public_html/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]
}
}
/home/logicomanapps/public_html/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]
}
}
/home/logicomanapps/public_html/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) {
}
/home/logicomanapps/public_html/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 {#354 …}
$method: "get"
$parameters: []
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1634 {
Illuminate\Database\Eloquent\Model::__callStatic($method, $parameters) …
› {
› return (new static)->$method(...$parameters);
› }
arguments: {
$method: "get"
$parameters: []
}
}
/home/logicomanapps/public_html/app/Http/Controllers/HomeController.php:33 {
App\Http\Controllers\HomeController->index() …
› {\r
› $products = Product::get();\r
› $services = Service::get();\r
arguments: {
$method: "get"
$parameters: []
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return $this->{$method}(...array_values($parameters));
› }
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
› if (method_exists($controller, 'callAction')) {
› return $controller->callAction($method, $parameters);
› }
arguments: {
$method: "index"
$parameters: []
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
arguments: {
$route: Illuminate\Routing\Route {#231 …}
$controller: App\Http\Controllers\HomeController {#318 …}
$method: "index"
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 {
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
› ) {
› return tap($next($request), function ($response) use ($request) {
› if ($this->shouldAddXsrfTokenCookie()) {
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#312 …}
}
}
/home/logicomanapps/public_html/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 {#231 …}
$request: Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$route: Illuminate\Routing\Route {#231 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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 {#51 …}
$next: Closure($passable) {#277 …}
}
}
/home/logicomanapps/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#51 …}
}
}
/home/logicomanapps/public_html/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) {#30 …}
}
}
/home/logicomanapps/public_html/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 …}
}
}
/home/logicomanapps/public_html/public/index.php:55 {
› $response = $kernel->handle(\r
› $request = Illuminate\Http\Request::capture()\r
› );\r
arguments: {
$request: Illuminate\Http\Request {#51 …}
}
}
}
}