Error 500 Internal Server Error

GET https://spedi.ku.edu/register

Exceptions

An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'disorders_other' at row 1

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

Show exception properties
Doctrine\DBAL\Exception\DriverException {#1504
  -query: Doctrine\DBAL\Query {#1497
    -sql: "INSERT INTO users (username, email, roles, password, birth_year, gender, education_level, disorders, disorders_other, primary_language, secondary_language, region_dialect, reset_token, reset_token_expires_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
    -params: array:14 [
      1 => "Davidmerly"
      2 => "1gyhujjikk@anonmails.de"
      3 => []
      4 => "$2y$13$keaEyJnTISxRbS0EfnClWOyKLi2S7B2f6uRs4ye83Maveo6I8dRam"
      5 => 1937
      6 => "female"
      7 => "someCollege"
      8 => []
      9 => """
        <img src="https://i.ibb.co/4nRc7Mhd/1win.jpg">\n
        \n
        \n
            Для всех игроков: Эти поощрения доступны для всех клиентов, независимо от их опыта и статуса.\n
            Выберите удобный вариант регистрации: в 1 клик, через социальные сети или почтовый ящик.\n
        1Win Промокод Казахстан: 1W2026FREE предназначен для новых пользователей. Он позволяет получить бонус до 500%. При регистрации на 1win необходимо указать этот промокод, чтобы активировать все доступные акции и бонусы на вашем аккаунте. Срок действия промокода истекает 31 декабря 2026 года.\n
            Возможность выиграть крупные призы в розыгрышах, доступ к которым открывается только после использования промокода 1win.\n
        После того как вы зарегистрировались и ввели промокод 1win для пополнения счета и получения приветственного бонуса, вы можете начать игру. Однако, нельзя сразу вывести бонусные средства - сначала их нужно отыграть. <a href=https://mywrite.ru/blacksprut-sc-zerkalo.html><img src="https://san2.ru/smiles/smile.gif"></a>
        """
      10 => "en"
      11 => "en"
      12 => "en_JP"
      13 => null
      14 => null
    ]
    -types: array:14 [
      1 => "string"
      2 => "string"
      3 => "json"
      4 => "string"
      5 => "integer"
      6 => "string"
      7 => "string"
      8 => "json"
      9 => "string"
      10 => "string"
      11 => "string"
      12 => "string"
      13 => "string"
      14 => "datetime_immutable"
    ]
  }
}
  1. 1171,
  2. 1252,
  3. 1263,
  4. 1364,
  5. 1566 => new NotNullConstraintViolationException($exception, $query),
  6. default => new DriverException($exception, $query),
  7. };
  8. }
  9. }
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query,
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1396)
  1. Driver\Exception $e,
  2. string $sql,
  3. array $params = [],
  4. array $types = [],
  5. ): DriverException {
  6. return $this->handleDriverException($e, new Query($sql, $params, $types));
  7. }
  8. /** @internal */
  9. final public function convertException(Driver\Exception $e): DriverException
  10. {
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 108)
  1. return new Result(
  2. $this->stmt->execute(),
  3. $this->conn,
  4. );
  5. } catch (Driver\Exception $ex) {
  6. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  7. }
  8. }
  9. /**
  10. * Executes the statement with the currently bound parameters and return result.
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 1060)
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 403)
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates do not need to follow a particular order
  10. $this->executeUpdates();
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Controller/RegistrationController.php (line 38)
  1. // encode the plain password
  2. $user->setPassword($userPasswordHasher->hashPassword($user, $plainPassword));
  3. $entityManager->persist($user);
  4. $entityManager->flush();
  5. $this->addFlash('success', 'Registration successful! Please login.');
  6. return $this->redirectToRoute('app_login');
  7. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/spedi/spedi/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'disorders_other' at row 1

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. public function execute(): Result
  2. {
  3. try {
  4. $this->stmt->execute();
  5. } catch (PDOException $exception) {
  6. throw Exception::new($exception);
  7. }
  8. return new Result($this->stmt);
  9. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. /** @throws Exception */
  2. private function execute(): Result
  3. {
  4. try {
  5. return new Result(
  6. $this->stmt->execute(),
  7. $this->conn,
  8. );
  9. } catch (Driver\Exception $ex) {
  10. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  11. }
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 1060)
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 403)
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates do not need to follow a particular order
  10. $this->executeUpdates();
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Controller/RegistrationController.php (line 38)
  1. // encode the plain password
  2. $user->setPassword($userPasswordHasher->hashPassword($user, $plainPassword));
  3. $entityManager->persist($user);
  4. $entityManager->flush();
  5. $this->addFlash('success', 'Registration successful! Please login.');
  6. return $this->redirectToRoute('app_login');
  7. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/spedi/spedi/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

PDOException

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'disorders_other' at row 1

  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. /** @throws Exception */
  2. private function execute(): Result
  3. {
  4. try {
  5. return new Result(
  6. $this->stmt->execute(),
  7. $this->conn,
  8. );
  9. } catch (Driver\Exception $ex) {
  10. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  11. }
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 1060)
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 403)
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates do not need to follow a particular order
  10. $this->executeUpdates();
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Controller/RegistrationController.php (line 38)
  1. // encode the plain password
  2. $user->setPassword($userPasswordHasher->hashPassword($user, $plainPassword));
  3. $entityManager->persist($user);
  4. $entityManager->flush();
  5. $this->addFlash('success', 'Registration successful! Please login.');
  6. return $this->redirectToRoute('app_login');
  7. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/spedi/spedi/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 16:30:16 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "417302"
    },
    "request_uri": "https://spedi.ku.edu/_profiler/417302?panel=exception&type=request",
    "method": "GET"
}

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'disorders_other' at row 1

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:102
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), object(Query))
     (vendor/doctrine/dbal/src/Connection.php:1460)
  at Doctrine\DBAL\Connection->handleDriverException(object(Exception), object(Query))
     (vendor/doctrine/dbal/src/Connection.php:1396)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery(object(Exception), 'INSERT INTO users (username, email, roles, password, birth_year, gender, education_level, disorders, disorders_other, primary_language, secondary_language, region_dialect, reset_token, reset_token_expires_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array('Davidmerly', '1gyhujjikk@anonmails.de', array(), '$2y$13$keaEyJnTISxRbS0EfnClWOyKLi2S7B2f6uRs4ye83Maveo6I8dRam', 1937, 'female', 'someCollege', array(), '<img src="https://i.ibb.co/4nRc7Mhd/1win.jpg">    Для всех игроков: Эти поощрения доступны для всех клиентов, независимо от их опыта и статуса.    Выберите удобный вариант регистрации: в 1 клик, через социальные сети или почтовый ящик.1Win Промокод Казахстан: 1W2026FREE предназначен для новых пользователей. Он позволяет получить бонус до 500%. При регистрации на 1win необходимо указать этот промокод, чтобы активировать все доступные акции и бонусы на вашем аккаунте. Срок действия промокода истекает 31 декабря 2026 года.    Возможность выиграть крупные призы в розыгрышах, доступ к которым открывается только после использования промокода 1win.После того как вы зарегистрировались и ввели промокод 1win для пополнения счета и получения приветственного бонуса, вы можете начать игру. Однако, нельзя сразу вывести бонусные средства - сначала их нужно отыграть. <a href=https://mywrite.ru/blacksprut-sc-zerkalo.html><img src="https://san2.ru/smiles/smile.gif"></a>', 'en', 'en', 'en_JP', null, null), array('string', 'string', 'json', 'string', 'integer', 'string', 'string', 'json', 'string', 'string', 'string', 'string', 'string', 'datetime_immutable'))
     (vendor/doctrine/dbal/src/Statement.php:108)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:253)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:1060)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:403)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/src/EntityManager.php:268)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/RegistrationController.php:38)
  at App\Controller\RegistrationController->register(object(Request), object(UserPasswordHasher), object(EntityManager))
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/spedi/spedi/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'disorders_other' at row 1

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:57)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:104)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:253)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:1060)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:403)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/src/EntityManager.php:268)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/RegistrationController.php:38)
  at App\Controller\RegistrationController->register(object(Request), object(UserPasswordHasher), object(EntityManager))
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/spedi/spedi/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'disorders_other' at row 1

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:104)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:253)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:1060)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:403)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/src/EntityManager.php:268)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/RegistrationController.php:38)
  at App\Controller\RegistrationController->register(object(Request), object(UserPasswordHasher), object(EntityManager))
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/spedi/spedi/vendor/autoload_runtime.php')
     (public/index.php:5)