Symfony Exception

PDOException QueryException

HTTP 500 Internal Server Error

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'short.training_theme' doesn't exist (SQL: SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme
INNER join training_type on training_type.type_id = training_theme.type_id
INNER join training_form on training_type.form_id = training_form.form_id
where theme_id = 432)

Exceptions 2

Illuminate\Database\ QueryException

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.         return $result;
Connection->runQueryCallback('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'), object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php (line 652)
  1.         // Here we will run this query. If an exception occurs we'll determine if it was
  2.         // caused by a connection that has been lost. If that is the cause, we'll try
  3.         // to re-establish connection and re-run the query with a fresh connection.
  4.         try {
  5.             $result $this->runQueryCallback($query$bindings$callback);
  6.         } catch (QueryException $e) {
  7.             $result $this->handleQueryException(
  8.                 $e$query$bindings$callback
  9.             );
  10.         }
Connection->run('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'), object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php (line 360)
  1.             $this->bindValues($statement$this->prepareBindings($bindings));
  2.             $statement->execute();
  3.             return $statement->fetchAll();
  4.         });
  5.     }
  6.     /**
  7.      * Run a select statement against the database and returns a generator.
  8.      *
Connection->select('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432')) in C:\xampp\fcgie.training\vendor\illuminate\database\DatabaseManager.php (line 388)
  1.      * @param  array  $parameters
  2.      * @return mixed
  3.      */
  4.     public function __call($method$parameters)
  5.     {
  6.         return $this->connection()->$method(...$parameters);
  7.     }
  8. }
DatabaseManager->__call('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'))) in C:\xampp\fcgie.training\vendor\illuminate\support\Facades\Facade.php (line 261)
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
Facade::__callStatic('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'))) in C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php (line 612)
  1.     public function courseInformation($id)
  2.     {
  3.         return DB::select('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
  4.                             INNER join training_type on training_type.type_id = training_theme.type_id
  5.                             INNER join training_form on training_type.form_id = training_form.form_id
  6.                             where theme_id = ?', [$id]
  7.         );
  8.     }
  9. }
FillingDataController->courseInformation('432') in C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php (line 15)
  1. {
  2.     private $course null;
  3.     public function index($id$type '')
  4.     {
  5.         $info $this->courseInformation($id);
  6.         if (collect($info)->isNotEmpty()) {
  7.             $info $info[0];
  8.             return view('ur'compact(['info']));
  9.         }
FillingDataController->index('432', '') in C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php (line 36)
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
BoundMethod::Illuminate\Container\{closure}() in C:\xampp\fcgie.training\vendor\illuminate\container\Util.php (line 40)
  1.      * @param  mixed  $value
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value)
  5.     {
  6.         return $value instanceof Closure $value() : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
Util::unwrapIfClosure(object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php (line 93)
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
BoundMethod::callBoundMethod(object(Application), array(object(FillingDataController), 'index'), object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php (line 37)
  1.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
BoundMethod::call(object(Application), array(object(FillingDataController), 'index'), array('id' => '432'), null) in C:\xampp\fcgie.training\vendor\illuminate\container\Container.php (line 651)
  1.      *
  2.      * @throws \InvalidArgumentException
  3.      */
  4.     public function call($callback, array $parameters = [], $defaultMethod null)
  5.     {
  6.         return BoundMethod::call($this$callback$parameters$defaultMethod);
  7.     }
  8.     /**
  9.      * Get a closure to resolve the given type from the container.
  10.      *
Container->call(array(object(FillingDataController), 'index'), array('id' => '432')) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 386)
  1.      */
  2.     protected function callControllerCallable(callable $callable, array $parameters = [])
  3.     {
  4.         try {
  5.             return $this->prepareResponse(
  6.                 $this->call($callable$parameters)
  7.             );
  8.         } catch (HttpResponseException $e) {
  9.             return $e->getResponse();
  10.         }
  11.     }
Application->callControllerCallable(array(object(FillingDataController), 'index'), array('id' => '432')) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 329)
  1.         if ($instance instanceof LumenController) {
  2.             return $this->callLumenController($instance$method$routeInfo);
  3.         } else {
  4.             return $this->callControllerCallable(
  5.                 [$instance$method], $routeInfo[2]
  6.             );
  7.         }
  8.     }
  9.     /**
Application->callControllerAction(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 279)
  1.     protected function callActionOnArrayBasedRoute($routeInfo)
  2.     {
  3.         $action $routeInfo[1];
  4.         if (isset($action['uses'])) {
  5.             return $this->prepareResponse($this->callControllerAction($routeInfo));
  6.         }
  7.         foreach ($action as $value) {
  8.             if ($value instanceof Closure) {
  9.                 $callable $value->bindTo(new RoutingClosure);
Application->callActionOnArrayBasedRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 264)
  1.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  2.             }));
  3.         }
  4.         return $this->prepareResponse(
  5.             $this->callActionOnArrayBasedRoute($routeInfo)
  6.         );
  7.     }
  8.     /**
  9.      * Call the Closure or invokable on the array based route.
Application->handleFoundRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 234)
  1.             case Dispatcher::NOT_FOUND:
  2.                 throw new NotFoundHttpException;
  3.             case Dispatcher::METHOD_NOT_ALLOWED:
  4.                 throw new MethodNotAllowedHttpException($routeInfo[1]);
  5.             case Dispatcher::FOUND:
  6.                 return $this->handleFoundRoute($routeInfo);
  7.         }
  8.     }
  9.     /**
  10.      * Handle a route found by the dispatcher.
Application->handleDispatcherResponse(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 170)
  1.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  2.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  3.                 }
  4.                 return $this->handleDispatcherResponse(
  5.                     $this->createDispatcher()->dispatch($method$pathInfo)
  6.                 );
  7.             });
  8.         } catch (Throwable $e) {
  9.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  10.         }
Application->Laravel\Lumen\Concerns\{closure}(object(Request)) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 426)
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
Application->sendThroughPipeline(array(), object(Closure)) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 172)
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
Application->run() in C:\xampp\fcgie.training\public\index.php (line 28)
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

PDOException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'short.training_theme' doesn't exist

  1.             // For select statements, we'll simply execute the query and return an array
  2.             // of the database result set. Each element in the array will be a single
  3.             // row from the database table, and will either be an array or objects.
  4.             $statement $this->prepared(
  5.                 $this->getPdoForSelect($useReadPdo)->prepare($query)
  6.             );
  7.             $this->bindValues($statement$this->prepareBindings($bindings));
  8.             $statement->execute();
PDO->prepare('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?') in C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php (line 352)
  1.             // For select statements, we'll simply execute the query and return an array
  2.             // of the database result set. Each element in the array will be a single
  3.             // row from the database table, and will either be an array or objects.
  4.             $statement $this->prepared(
  5.                 $this->getPdoForSelect($useReadPdo)->prepare($query)
  6.             );
  7.             $this->bindValues($statement$this->prepareBindings($bindings));
  8.             $statement->execute();
Connection->Illuminate\Database\{closure}('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432')) in C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php (line 685)
  1.     {
  2.         // To execute the statement, we'll simply call the callback, which will actually
  3.         // run the SQL against the PDO connection. Then we can calculate the time it
  4.         // took to execute and log the query SQL, bindings and time in our memory.
  5.         try {
  6.             $result $callback($query$bindings);
  7.         }
  8.         // If an exception occurs when attempting to run a query, we'll format the error
  9.         // message to include the bindings with SQL, which will make this exception a
  10.         // lot more helpful to the developer instead of just the database's errors.
Connection->runQueryCallback('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'), object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php (line 652)
  1.         // Here we will run this query. If an exception occurs we'll determine if it was
  2.         // caused by a connection that has been lost. If that is the cause, we'll try
  3.         // to re-establish connection and re-run the query with a fresh connection.
  4.         try {
  5.             $result $this->runQueryCallback($query$bindings$callback);
  6.         } catch (QueryException $e) {
  7.             $result $this->handleQueryException(
  8.                 $e$query$bindings$callback
  9.             );
  10.         }
Connection->run('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'), object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php (line 360)
  1.             $this->bindValues($statement$this->prepareBindings($bindings));
  2.             $statement->execute();
  3.             return $statement->fetchAll();
  4.         });
  5.     }
  6.     /**
  7.      * Run a select statement against the database and returns a generator.
  8.      *
Connection->select('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432')) in C:\xampp\fcgie.training\vendor\illuminate\database\DatabaseManager.php (line 388)
  1.      * @param  array  $parameters
  2.      * @return mixed
  3.      */
  4.     public function __call($method$parameters)
  5.     {
  6.         return $this->connection()->$method(...$parameters);
  7.     }
  8. }
DatabaseManager->__call('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'))) in C:\xampp\fcgie.training\vendor\illuminate\support\Facades\Facade.php (line 261)
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
Facade::__callStatic('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name FROM training_theme INNER join training_type on training_type.type_id = training_theme.type_id INNER join training_form on training_type.form_id = training_form.form_id where theme_id = ?', array('432'))) in C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php (line 612)
  1.     public function courseInformation($id)
  2.     {
  3.         return DB::select('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
  4.                             INNER join training_type on training_type.type_id = training_theme.type_id
  5.                             INNER join training_form on training_type.form_id = training_form.form_id
  6.                             where theme_id = ?', [$id]
  7.         );
  8.     }
  9. }
FillingDataController->courseInformation('432') in C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php (line 15)
  1. {
  2.     private $course null;
  3.     public function index($id$type '')
  4.     {
  5.         $info $this->courseInformation($id);
  6.         if (collect($info)->isNotEmpty()) {
  7.             $info $info[0];
  8.             return view('ur'compact(['info']));
  9.         }
FillingDataController->index('432', '') in C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php (line 36)
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
BoundMethod::Illuminate\Container\{closure}() in C:\xampp\fcgie.training\vendor\illuminate\container\Util.php (line 40)
  1.      * @param  mixed  $value
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value)
  5.     {
  6.         return $value instanceof Closure $value() : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
Util::unwrapIfClosure(object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php (line 93)
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
BoundMethod::callBoundMethod(object(Application), array(object(FillingDataController), 'index'), object(Closure)) in C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php (line 37)
  1.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
BoundMethod::call(object(Application), array(object(FillingDataController), 'index'), array('id' => '432'), null) in C:\xampp\fcgie.training\vendor\illuminate\container\Container.php (line 651)
  1.      *
  2.      * @throws \InvalidArgumentException
  3.      */
  4.     public function call($callback, array $parameters = [], $defaultMethod null)
  5.     {
  6.         return BoundMethod::call($this$callback$parameters$defaultMethod);
  7.     }
  8.     /**
  9.      * Get a closure to resolve the given type from the container.
  10.      *
Container->call(array(object(FillingDataController), 'index'), array('id' => '432')) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 386)
  1.      */
  2.     protected function callControllerCallable(callable $callable, array $parameters = [])
  3.     {
  4.         try {
  5.             return $this->prepareResponse(
  6.                 $this->call($callable$parameters)
  7.             );
  8.         } catch (HttpResponseException $e) {
  9.             return $e->getResponse();
  10.         }
  11.     }
Application->callControllerCallable(array(object(FillingDataController), 'index'), array('id' => '432')) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 329)
  1.         if ($instance instanceof LumenController) {
  2.             return $this->callLumenController($instance$method$routeInfo);
  3.         } else {
  4.             return $this->callControllerCallable(
  5.                 [$instance$method], $routeInfo[2]
  6.             );
  7.         }
  8.     }
  9.     /**
Application->callControllerAction(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 279)
  1.     protected function callActionOnArrayBasedRoute($routeInfo)
  2.     {
  3.         $action $routeInfo[1];
  4.         if (isset($action['uses'])) {
  5.             return $this->prepareResponse($this->callControllerAction($routeInfo));
  6.         }
  7.         foreach ($action as $value) {
  8.             if ($value instanceof Closure) {
  9.                 $callable $value->bindTo(new RoutingClosure);
Application->callActionOnArrayBasedRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 264)
  1.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  2.             }));
  3.         }
  4.         return $this->prepareResponse(
  5.             $this->callActionOnArrayBasedRoute($routeInfo)
  6.         );
  7.     }
  8.     /**
  9.      * Call the Closure or invokable on the array based route.
Application->handleFoundRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 234)
  1.             case Dispatcher::NOT_FOUND:
  2.                 throw new NotFoundHttpException;
  3.             case Dispatcher::METHOD_NOT_ALLOWED:
  4.                 throw new MethodNotAllowedHttpException($routeInfo[1]);
  5.             case Dispatcher::FOUND:
  6.                 return $this->handleFoundRoute($routeInfo);
  7.         }
  8.     }
  9.     /**
  10.      * Handle a route found by the dispatcher.
Application->handleDispatcherResponse(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432'))) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 170)
  1.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  2.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  3.                 }
  4.                 return $this->handleDispatcherResponse(
  5.                     $this->createDispatcher()->dispatch($method$pathInfo)
  6.                 );
  7.             });
  8.         } catch (Throwable $e) {
  9.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  10.         }
Application->Laravel\Lumen\Concerns\{closure}(object(Request)) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 426)
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
Application->sendThroughPipeline(array(), object(Closure)) in C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php (line 172)
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
Application->run() in C:\xampp\fcgie.training\public\index.php (line 28)
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Traces 2

[2/2] QueryException
Illuminate\Database\QueryException:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'short.training_theme' doesn't exist (SQL: SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = 432)

  at C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:692
  at Illuminate\Database\Connection->runQueryCallback('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'), object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:652)
  at Illuminate\Database\Connection->run('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'), object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:360)
  at Illuminate\Database\Connection->select('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'))
     (C:\xampp\fcgie.training\vendor\illuminate\database\DatabaseManager.php:388)
  at Illuminate\Database\DatabaseManager->__call('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432')))
     (C:\xampp\fcgie.training\vendor\illuminate\support\Facades\Facade.php:261)
  at Illuminate\Support\Facades\Facade::__callStatic('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432')))
     (C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php:612)
  at App\Http\Controllers\FillingDataController->courseInformation('432')
     (C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php:15)
  at App\Http\Controllers\FillingDataController->index('432', '')
     (C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (C:\xampp\fcgie.training\vendor\illuminate\container\Util.php:40)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), array(object(FillingDataController), 'index'), object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call(object(Application), array(object(FillingDataController), 'index'), array('id' => '432'), null)
     (C:\xampp\fcgie.training\vendor\illuminate\container\Container.php:651)
  at Illuminate\Container\Container->call(array(object(FillingDataController), 'index'), array('id' => '432'))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:386)
  at Laravel\Lumen\Application->callControllerCallable(array(object(FillingDataController), 'index'), array('id' => '432'))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:329)
  at Laravel\Lumen\Application->callControllerAction(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:279)
  at Laravel\Lumen\Application->callActionOnArrayBasedRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:264)
  at Laravel\Lumen\Application->handleFoundRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:234)
  at Laravel\Lumen\Application->handleDispatcherResponse(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:170)
  at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(object(Request))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:426)
  at Laravel\Lumen\Application->sendThroughPipeline(array(), object(Closure))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:172)
  at Laravel\Lumen\Application->dispatch(null)
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:109)
  at Laravel\Lumen\Application->run()
     (C:\xampp\fcgie.training\public\index.php:28)                
[1/2] PDOException
PDOException:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'short.training_theme' doesn't exist

  at C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:352
  at PDO->prepare('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?')
     (C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:352)
  at Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'))
     (C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:685)
  at Illuminate\Database\Connection->runQueryCallback('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'), object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:652)
  at Illuminate\Database\Connection->run('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'), object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\database\Connection.php:360)
  at Illuminate\Database\Connection->select('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432'))
     (C:\xampp\fcgie.training\vendor\illuminate\database\DatabaseManager.php:388)
  at Illuminate\Database\DatabaseManager->__call('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432')))
     (C:\xampp\fcgie.training\vendor\illuminate\support\Facades\Facade.php:261)
  at Illuminate\Support\Facades\Facade::__callStatic('select', array('SELECT * , training_type.name as type_name , training_form.name as form_name  FROM training_theme
                            INNER join training_type on training_type.type_id = training_theme.type_id
                            INNER join training_form on training_type.form_id = training_form.form_id
                            where theme_id = ?', array('432')))
     (C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php:612)
  at App\Http\Controllers\FillingDataController->courseInformation('432')
     (C:\xampp\fcgie.training\app\Http\Controllers\FillingDataController.php:15)
  at App\Http\Controllers\FillingDataController->index('432', '')
     (C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (C:\xampp\fcgie.training\vendor\illuminate\container\Util.php:40)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), array(object(FillingDataController), 'index'), object(Closure))
     (C:\xampp\fcgie.training\vendor\illuminate\container\BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call(object(Application), array(object(FillingDataController), 'index'), array('id' => '432'), null)
     (C:\xampp\fcgie.training\vendor\illuminate\container\Container.php:651)
  at Illuminate\Container\Container->call(array(object(FillingDataController), 'index'), array('id' => '432'))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:386)
  at Laravel\Lumen\Application->callControllerCallable(array(object(FillingDataController), 'index'), array('id' => '432'))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:329)
  at Laravel\Lumen\Application->callControllerAction(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:279)
  at Laravel\Lumen\Application->callActionOnArrayBasedRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:264)
  at Laravel\Lumen\Application->handleFoundRoute(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:234)
  at Laravel\Lumen\Application->handleDispatcherResponse(array(1, array('as' => 'theme', 'uses' => 'App\\Http\\Controllers\\FillingDataController@index'), array('id' => '432')))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:170)
  at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(object(Request))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:426)
  at Laravel\Lumen\Application->sendThroughPipeline(array(), object(Closure))
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:172)
  at Laravel\Lumen\Application->dispatch(null)
     (C:\xampp\fcgie.training\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php:109)
  at Laravel\Lumen\Application->run()
     (C:\xampp\fcgie.training\public\index.php:28)