^ Illuminate\Database\QueryException {#311
#sql: "select `id`, `banner_id`, `lobby_location`, `banner_type`, `lobby_image`, `lobby_link`, `lobby_video`, `currenttime`, `screen_type` from `al_lobbybanners` where (`lobby_location` = ? and `screen_type` = ?) or (`lobby_location` = ? and `screen_type` = ?)"
#bindings: array:4 [
0 => "lobby"
1 => "both"
2 => "lobby"
3 => "logout"
]
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'screen_type' in 'field list' (SQL: select `id`, `banner_id`, `lobby_location`, `banner_type`, `lobby_image`, `lobby_link`, `lobby_video`, `currenttime`, `screen_type` from `al_lobbybanners` where (`lobby_location` = lobby and `screen_type` = both) or (`lobby_location` = lobby and `screen_type` = logout))"
#code: "42S22"
#file: "/usr/src/app/vendor/illuminate/database/Connection.php"
#line: 664
-previous: PDOException {#444
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'screen_type' in 'field list'"
#code: "42S22"
#file: "/usr/src/app/vendor/illuminate/database/Connection.php"
#line: 326
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 'screen_type' in 'field list'"
]
trace: {
/usr/src/app/vendor/illuminate/database/Connection.php:326 {
Illuminate\Database\Connection->Illuminate\Database\{closure} …
› $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
› ->prepare($query));
›
}
/usr/src/app/vendor/illuminate/database/Connection.php:657 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
}
/usr/src/app/vendor/illuminate/database/Connection.php:624 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
}
/usr/src/app/vendor/illuminate/database/Connection.php:333 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2130 {
Illuminate\Database\Query\Builder->runSelect() …
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2118 {
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure} …
› return collect($this->onceWithColumns(Arr::wrap($columns), function () {
› return $this->processor->processSelect($this, $this->runSelect());
› }));
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2604 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2119 {
Illuminate\Database\Query\Builder->get($columns = […1]) …
› return $this->processor->processSelect($this, $this->runSelect());
› }));
› }
}
/usr/src/app/app/Http/Controllers/XrDynamicController.php:1355 {
App\Http\Controllers\XrDynamicController->gethomepagealldata(Request $request, $platform, $usertype, $user_id) …
› }
› $lobbymobilebanner=DB::table('al_lobbybanners')->select('id','banner_id','lobby_location','banner_type','lobby_image','lobby_link','lobby_video','currenttime','screen_type')->where([['lobby_location','lobby'],['screen_type','both']])->orWhere([['lobby_location','lobby'],['screen_type',$typeee]])->get();
› $all_data['lobbybanners']=array(
}
App\Http\Controllers\XrDynamicController->gethomepagealldata() {}
/usr/src/app/vendor/illuminate/container/BoundMethod.php:32 {
Illuminate\Container\BoundMethod::Illuminate\Container\{closure} …
› return call_user_func_array(
› $callback, static::getMethodDependencies($container, $callback, $parameters)
› );
}
/usr/src/app/vendor/illuminate/container/BoundMethod.php:90 {
Illuminate\Container\BoundMethod::callBoundMethod($container, $callback, $default) …
›
› return $default instanceof Closure ? $default() : $default;
› }
}
/usr/src/app/vendor/illuminate/container/BoundMethod.php:34 {
Illuminate\Container\BoundMethod::call($container, $callback, array $parameters = [], $defaultMethod = null) …
› );
› });
› }
}
/usr/src/app/vendor/illuminate/container/Container.php:576 {
Illuminate\Container\Container->call($callback, array $parameters = [], $defaultMethod = null) …
› {
› return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:376 {
Laravel\Lumen\Application->callControllerCallable(callable $callable, array $parameters = []) …
› return $this->prepareResponse(
› $this->call($callable, $parameters)
› );
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:342 {
Laravel\Lumen\Application->callLumenController($instance, $method, $routeInfo) …
› return $this->callControllerCallable(
› [$instance, $method], $routeInfo[2]
› );
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:316 {
Laravel\Lumen\Application->callControllerAction($routeInfo) …
› if ($instance instanceof LumenController) {
› return $this->callLumenController($instance, $method, $routeInfo);
› } else {
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:278 {
Laravel\Lumen\Application->callActionOnArrayBasedRoute($routeInfo) …
› if (isset($action['uses'])) {
› return $this->prepareResponse($this->callControllerAction($routeInfo));
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:263 {
Laravel\Lumen\Application->handleFoundRoute($routeInfo) …
› return $this->prepareResponse(
› $this->callActionOnArrayBasedRoute($routeInfo)
› );
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:233 {
Laravel\Lumen\Application->handleDispatcherResponse($routeInfo) …
› case Dispatcher::FOUND:
› return $this->handleFoundRoute($routeInfo);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:169 {
Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure} …
› return $this->handleDispatcherResponse(
› $this->createDispatcher()->dispatch($method, $pathInfo)
› );
}
Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}() {}
/usr/src/app/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:52 {
Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure} …
› try {
› return call_user_func($destination, $passable);
› } catch (Exception $e) {
}
/usr/src/app/app/Http/Middleware/ConnectionMiddleware.php:86 {
App\Http\Middleware\ConnectionMiddleware->handle($request, Closure $next) …
› // Post-Middleware Action
› $response = $next($request);
›
}
/usr/src/app/vendor/illuminate/pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() {}
/usr/src/app/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:32 {
Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure} …
›
› return call_user_func($slice($stack, $pipe), $passable);
› } catch (Exception $e) {
}
/usr/src/app/vendor/illuminate/pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:413 {
Laravel\Lumen\Application->sendThroughPipeline(array $middleware, Closure $then) …
› ->through($middleware)
› ->then($then);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:171 {
Laravel\Lumen\Application->dispatch($request = null) …
› );
› });
› } catch (Throwable $e) {
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:108 {
Laravel\Lumen\Application->run($request = null) …
› {
› $response = $this->dispatch($request);
›
}
/usr/src/app/public/index.php:35 {
›
› $app->run();
›
}
}
}
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 'screen_type' in 'field list'"
]
trace: {
/usr/src/app/vendor/illuminate/database/Connection.php:664 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› catch (Exception $e) {
› throw new QueryException(
› $query, $this->prepareBindings($bindings), $e
}
/usr/src/app/vendor/illuminate/database/Connection.php:624 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
}
/usr/src/app/vendor/illuminate/database/Connection.php:333 {
Illuminate\Database\Connection->select($query, $bindings = [], $useReadPdo = true) …
› return $statement->fetchAll();
› });
› }
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2130 {
Illuminate\Database\Query\Builder->runSelect() …
› return $this->connection->select(
› $this->toSql(), $this->getBindings(), ! $this->useWritePdo
› );
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2118 {
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure} …
› return collect($this->onceWithColumns(Arr::wrap($columns), function () {
› return $this->processor->processSelect($this, $this->runSelect());
› }));
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2604 {
Illuminate\Database\Query\Builder->onceWithColumns($columns, $callback) …
›
› $result = $callback();
›
}
/usr/src/app/vendor/illuminate/database/Query/Builder.php:2119 {
Illuminate\Database\Query\Builder->get($columns = […1]) …
› return $this->processor->processSelect($this, $this->runSelect());
› }));
› }
}
/usr/src/app/app/Http/Controllers/XrDynamicController.php:1355 {
App\Http\Controllers\XrDynamicController->gethomepagealldata(Request $request, $platform, $usertype, $user_id) …
› }
› $lobbymobilebanner=DB::table('al_lobbybanners')->select('id','banner_id','lobby_location','banner_type','lobby_image','lobby_link','lobby_video','currenttime','screen_type')->where([['lobby_location','lobby'],['screen_type','both']])->orWhere([['lobby_location','lobby'],['screen_type',$typeee]])->get();
› $all_data['lobbybanners']=array(
}
App\Http\Controllers\XrDynamicController->gethomepagealldata() {}
/usr/src/app/vendor/illuminate/container/BoundMethod.php:32 {
Illuminate\Container\BoundMethod::Illuminate\Container\{closure} …
› return call_user_func_array(
› $callback, static::getMethodDependencies($container, $callback, $parameters)
› );
}
/usr/src/app/vendor/illuminate/container/BoundMethod.php:90 {
Illuminate\Container\BoundMethod::callBoundMethod($container, $callback, $default) …
›
› return $default instanceof Closure ? $default() : $default;
› }
}
/usr/src/app/vendor/illuminate/container/BoundMethod.php:34 {
Illuminate\Container\BoundMethod::call($container, $callback, array $parameters = [], $defaultMethod = null) …
› );
› });
› }
}
/usr/src/app/vendor/illuminate/container/Container.php:576 {
Illuminate\Container\Container->call($callback, array $parameters = [], $defaultMethod = null) …
› {
› return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:376 {
Laravel\Lumen\Application->callControllerCallable(callable $callable, array $parameters = []) …
› return $this->prepareResponse(
› $this->call($callable, $parameters)
› );
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:342 {
Laravel\Lumen\Application->callLumenController($instance, $method, $routeInfo) …
› return $this->callControllerCallable(
› [$instance, $method], $routeInfo[2]
› );
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:316 {
Laravel\Lumen\Application->callControllerAction($routeInfo) …
› if ($instance instanceof LumenController) {
› return $this->callLumenController($instance, $method, $routeInfo);
› } else {
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:278 {
Laravel\Lumen\Application->callActionOnArrayBasedRoute($routeInfo) …
› if (isset($action['uses'])) {
› return $this->prepareResponse($this->callControllerAction($routeInfo));
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:263 {
Laravel\Lumen\Application->handleFoundRoute($routeInfo) …
› return $this->prepareResponse(
› $this->callActionOnArrayBasedRoute($routeInfo)
› );
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:233 {
Laravel\Lumen\Application->handleDispatcherResponse($routeInfo) …
› case Dispatcher::FOUND:
› return $this->handleFoundRoute($routeInfo);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:169 {
Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure} …
› return $this->handleDispatcherResponse(
› $this->createDispatcher()->dispatch($method, $pathInfo)
› );
}
Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}() {}
/usr/src/app/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:52 {
Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure} …
› try {
› return call_user_func($destination, $passable);
› } catch (Exception $e) {
}
/usr/src/app/app/Http/Middleware/ConnectionMiddleware.php:86 {
App\Http\Middleware\ConnectionMiddleware->handle($request, Closure $next) …
› // Post-Middleware Action
› $response = $next($request);
›
}
/usr/src/app/vendor/illuminate/pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() {}
/usr/src/app/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:32 {
Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure} …
›
› return call_user_func($slice($stack, $pipe), $passable);
› } catch (Exception $e) {
}
/usr/src/app/vendor/illuminate/pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:413 {
Laravel\Lumen\Application->sendThroughPipeline(array $middleware, Closure $then) …
› ->through($middleware)
› ->then($then);
› }
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:171 {
Laravel\Lumen\Application->dispatch($request = null) …
› );
› });
› } catch (Throwable $e) {
}
/usr/src/app/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:108 {
Laravel\Lumen\Application->run($request = null) …
› {
› $response = $this->dispatch($request);
›
}
/usr/src/app/public/index.php:35 {
›
› $app->run();
›
}
}
}