QueryException {#242
  #sql: """
    select grupo_produto.id AS id_atual,\n
                                              grupo_produto.codigo AS gcodigo,\n
                                              grupo_produto.descricao AS descricao,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo2,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo3,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo4,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo5\n
    \n
                                                from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
    """
  #bindings: []
  #message: """
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'danjelco_site.grupo_produto' doesn't exist (SQL: select grupo_produto.id AS id_atual,\n
                                              grupo_produto.codigo AS gcodigo,\n
                                              grupo_produto.descricao AS descricao,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo2,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo3,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo4,\n
    \n
                                            ( SELECT produto.id\n
                                              FROM produto\n
                                              INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                              WHERE gp.grupo = id_atual\n
                                              ORDER BY rand()\n
                                              LIMIT 1) AS pcodigo5\n
    \n
                                                from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc)
    """
  #code: "42S02"
  #file: "/home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
  #line: 647
  -previous: PDOException {#255
    #message: "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'danjelco_site.grupo_produto' doesn't exist"
    #code: "42S02"
    #file: "/home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
    #line: 319
    +errorInfo: array:3 [
      0 => "42S02"
      1 => 1146
      2 => "Table 'danjelco_site.grupo_produto' doesn't exist"
    ]
    trace: {
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:319 {$statement = $this->prepared($this->getPdoForSelect($useReadPdo)                  ->prepare($query));arguments: {
          $statement: """
            select grupo_produto.id AS id_atual,\n
                                                      grupo_produto.codigo AS gcodigo,\n
                                                      grupo_produto.descricao AS descricao,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo2,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo3,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo4,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo5\n
            \n
                                                        from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
            """
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:640 {try {    $result = $callback($query, $bindings);}
        arguments: {
          """
            select grupo_produto.id AS id_atual,\n
                                                      grupo_produto.codigo AS gcodigo,\n
                                                      grupo_produto.descricao AS descricao,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo2,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo3,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo4,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo5\n
            \n
                                                        from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
            """
          []
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:607 {try {    $result = $this->runQueryCallback($query, $bindings, $callback);} catch (QueryException $e) {
        arguments: {
          $query: """
            select grupo_produto.id AS id_atual,\n
                                                      grupo_produto.codigo AS gcodigo,\n
                                                      grupo_produto.descricao AS descricao,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo2,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo3,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo4,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo5\n
            \n
                                                        from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
            """
          $bindings: []
          $callback: Closure {#260 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326 {        return $statement->fetchAll();    });}
        arguments: {
          $query: """
            select grupo_produto.id AS id_atual,\n
                                                      grupo_produto.codigo AS gcodigo,\n
                                                      grupo_produto.descricao AS descricao,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo2,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo3,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo4,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo5\n
            \n
                                                        from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
            """
          $bindings: []
          $callback: Closure {#260 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1705 {return $this->connection->select(    $this->toSql(), $this->getBindings(), ! $this->useWritePdo);
        arguments: {
          $query: """
            select grupo_produto.id AS id_atual,\n
                                                      grupo_produto.codigo AS gcodigo,\n
                                                      grupo_produto.descricao AS descricao,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo2,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo3,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo4,\n
            \n
                                                    ( SELECT produto.id\n
                                                      FROM produto\n
                                                      INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                      WHERE gp.grupo = id_atual\n
                                                      ORDER BY rand()\n
                                                      LIMIT 1) AS pcodigo5\n
            \n
                                                        from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
            """
          $bindings: []
          $useReadPdo: true
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1690 {
        › 
        › $results = $this->processor->processSelect($this, $this->runSelect());}
      /home/danjelco/public_html/app/Http/Controllers/ProdutoController.php:63 {->orderBy('descricao')->get();}
      App\Http\Controllers\ProdutoController->buscaAleatoriaPorGrupos() {}
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:55 {{    return call_user_func_array([$this, $method], $parameters);}
        arguments: {
          $function_name: array:2 [ …2]
          $parameters: []
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:44 {if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
        arguments: {
          $method: "buscaAleatoriaPorGrupos"
          $parameters: []
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:203 {return (new ControllerDispatcher($this->container))->dispatch(    $this, $this->getController(), $this->getControllerMethod());
        arguments: {
          $route: Route {#123 …}
          $controller: ProdutoController {#199 …}
          $method: "buscaAleatoriaPorGrupos"
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:160 {if ($this->isControllerAction()) {    return $this->runController();}
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:572 {return $this->prepareResponse(    $request, $route->run());
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
        › 
        ›     return $next($request);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:65 {) {    return $this->addCookieToResponse($request, $next($request));}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
        › 
        ›     return $next($request);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 {
        › 
        › $response = $next($request);arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {{    $response = $next($request);arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 {{    return $this->encrypt($next($this->decrypt($request)));}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
        › 
        ›     return $pipeline($this->passable);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:574 {                        );                    });}
        arguments: {
          $destination: Closure {#214 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:533 {
        › 
        › $response = $this->runRouteWithinStack($route, $request);arguments: {
          $route: Route {#123 …}
          $request: Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:511 {
        › 
        ›     return $this->dispatchToRoute($request);}
        arguments: {
          $request: Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
        › 
        ›     return $this->router->dispatch($request);};
        arguments: {
          $request: Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
        › 
        ›     return $next($request);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
        › 
        ›     return $next($request);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
        › 
        ›     return $next($request);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 {
        › 
        ›     return $next($request);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
        › 
        ›     return $pipe->{$this->method}(...$parameters);};
        arguments: {
          $request: Request {#38 …}
          $next: Closure {#178 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
        › 
        ›     return $callable($passable);} catch (Exception $e) {
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
        › 
        ›     return $pipeline($this->passable);}
        arguments: {
          Request {#38 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {                ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
        arguments: {
          $destination: Closure {#37 …}
        }
      }
      /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
        › 
        ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
        arguments: {
          $request: Request {#38 …}
        }
      }
      /home/danjelco/public_html/public/index.php:53 {$response = $kernel->handle(    $request = Illuminate\Http\Request::capture());
        arguments: {
          $request: Request {#38 …}
        }
      }
      /home/danjelco/public_html/index.php:21 {\rrequire_once __DIR__.'/public/index.php';arguments: {
          "/home/danjelco/public_html/public/index.php"
        }
      }
    }
  }
  +errorInfo: array:3 [
    0 => "42S02"
    1 => 1146
    2 => "Table 'danjelco_site.grupo_produto' doesn't exist"
  ]
  trace: {
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:647 {catch (Exception $e) {    throw new QueryException(        $query, $this->prepareBindings($bindings), $e
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:607 {try {    $result = $this->runQueryCallback($query, $bindings, $callback);} catch (QueryException $e) {
      arguments: {
        $query: """
          select grupo_produto.id AS id_atual,\n
                                                    grupo_produto.codigo AS gcodigo,\n
                                                    grupo_produto.descricao AS descricao,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo2,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo3,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo4,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo5\n
          \n
                                                      from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
          """
        $bindings: []
        $callback: Closure {#260 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326 {        return $statement->fetchAll();    });}
      arguments: {
        $query: """
          select grupo_produto.id AS id_atual,\n
                                                    grupo_produto.codigo AS gcodigo,\n
                                                    grupo_produto.descricao AS descricao,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo2,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo3,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo4,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo5\n
          \n
                                                      from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
          """
        $bindings: []
        $callback: Closure {#260 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1705 {return $this->connection->select(    $this->toSql(), $this->getBindings(), ! $this->useWritePdo);
      arguments: {
        $query: """
          select grupo_produto.id AS id_atual,\n
                                                    grupo_produto.codigo AS gcodigo,\n
                                                    grupo_produto.descricao AS descricao,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo2,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo3,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo4,\n
          \n
                                                  ( SELECT produto.id\n
                                                    FROM produto\n
                                                    INNER JOIN grupo_produto AS gp ON produto.grupo = gp.id\n
                                                    WHERE gp.grupo = id_atual\n
                                                    ORDER BY rand()\n
                                                    LIMIT 1) AS pcodigo5\n
          \n
                                                      from `grupo_produto` where `grupo_produto`.`grupo` is null order by `descricao` asc
          """
        $bindings: []
        $useReadPdo: true
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1690 {
      › 
      › $results = $this->processor->processSelect($this, $this->runSelect());}
    /home/danjelco/public_html/app/Http/Controllers/ProdutoController.php:63 {->orderBy('descricao')->get();}
    App\Http\Controllers\ProdutoController->buscaAleatoriaPorGrupos() {}
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:55 {{    return call_user_func_array([$this, $method], $parameters);}
      arguments: {
        $function_name: array:2 [ …2]
        $parameters: []
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:44 {if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
      arguments: {
        $method: "buscaAleatoriaPorGrupos"
        $parameters: []
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:203 {return (new ControllerDispatcher($this->container))->dispatch(    $this, $this->getController(), $this->getControllerMethod());
      arguments: {
        $route: Route {#123 …}
        $controller: ProdutoController {#199 …}
        $method: "buscaAleatoriaPorGrupos"
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:160 {if ($this->isControllerAction()) {    return $this->runController();}
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:572 {return $this->prepareResponse(    $request, $route->run());
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:65 {) {    return $this->addCookieToResponse($request, $next($request));}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 {
      › 
      › $response = $next($request);arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {{    $response = $next($request);arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 {{    return $this->encrypt($next($this->decrypt($request)));}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:574 {                        );                    });}
      arguments: {
        $destination: Closure {#214 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:533 {
      › 
      › $response = $this->runRouteWithinStack($route, $request);arguments: {
        $route: Route {#123 …}
        $request: Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:511 {
      › 
      ›     return $this->dispatchToRoute($request);}
      arguments: {
        $request: Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
      › 
      ›     return $this->router->dispatch($request);};
      arguments: {
        $request: Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#178 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#38 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {                ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
      arguments: {
        $destination: Closure {#37 …}
      }
    }
    /home/danjelco/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
      arguments: {
        $request: Request {#38 …}
      }
    }
    /home/danjelco/public_html/public/index.php:53 {$response = $kernel->handle(    $request = Illuminate\Http\Request::capture());
      arguments: {
        $request: Request {#38 …}
      }
    }
    /home/danjelco/public_html/index.php:21 {\rrequire_once __DIR__.'/public/index.php';arguments: {
        "/home/danjelco/public_html/public/index.php"
      }
    }
  }
}