Error 500 Internal Server Error

GET https://imobiliare.n46.net/en/real-estate-developers

Exceptions

An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a0_.slug' in 'SELECT'

Exceptions 3

Doctrine\DBAL\Exception\ InvalidFieldNameException

Show exception properties
Doctrine\DBAL\Exception\InvalidFieldNameException {#1189
  -query: Doctrine\DBAL\Query {#1172
    -sql: "SELECT a0_.id AS id_0, a0_.slug AS slug_1, a0_.name AS name_2 FROM ax_district a0_"
    -params: []
    -types: []
  }
}
  1. 1557,
  2. 1569,
  3. 1586 => new UniqueConstraintViolationException($exception, $query),
  4. 1054,
  5. 1166,
  6. 1611 => new InvalidFieldNameException($exception, $query),
  7. 1052,
  8. 1060,
  9. 1110 => new NonUniqueFieldNameException($exception, $query),
  10. 1064,
  11. 1149,
  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/Connection.php -> convertExceptionDuringQuery (line 809)
  1. $result = $connection->query($sql);
  2. }
  3. return new Result($result, $this);
  4. } catch (Driver\Exception $e) {
  5. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  6. }
  7. }
  8. /**
  9. * Executes a caching query.
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. ) {
  2. }
  3. public function getEntities(): array
  4. {
  5. return $this->queryBuilder->getQuery()->execute();
  6. }
  7. public function getEntitiesByIds(string $identifier, array $values): array
  8. {
  9. if (null !== $this->queryBuilder->getMaxResults() || 0 < (int) $this->queryBuilder->getFirstResult()) {
  1. }
  2. protected function loadChoices(): iterable
  3. {
  4. return $this->objectLoader
  5. ? $this->objectLoader->getEntities()
  6. : $this->manager->getRepository($this->class)->findAll();
  7. }
  8. protected function doLoadValuesForChoices(array $choices): array
  9. {
  1. /**
  2. * @final
  3. */
  4. public function loadChoiceList(?callable $value = null): ChoiceListInterface
  5. {
  6. return new ArrayChoiceList($this->choices ??= $this->loadChoices(), $value);
  7. }
  8. public function loadChoicesForValues(array $values, ?callable $value = null): array
  9. {
  10. if (!$values) {
  1. $this->value = null === $value ? null : $value(...);
  2. }
  3. public function getChoices(): array
  4. {
  5. return $this->loader->loadChoiceList($this->value)->getChoices();
  6. }
  7. public function getValues(): array
  8. {
  9. return $this->loader->loadChoiceList($this->value)->getValues();
  1. public function createView(ChoiceListInterface $list, array|callable|null $preferredChoices = null, callable|false|null $label = null, ?callable $index = null, ?callable $groupBy = null, array|callable|null $attr = null, array|callable $labelTranslationParameters = [], bool $duplicatePreferredChoices = true): ChoiceListView
  2. {
  3. $preferredViews = [];
  4. $preferredViewsOrder = [];
  5. $otherViews = [];
  6. $choices = $list->getChoices();
  7. $keys = $list->getOriginalKeys();
  8. if (!\is_callable($preferredChoices)) {
  9. if (!$preferredChoices) {
  10. $preferredChoices = null;
  1. if ($labelTranslationParameters instanceof PropertyPath) {
  2. $labelTranslationParameters = static fn ($choice) => $accessor->getValue($choice, $labelTranslationParameters);
  3. }
  4. return $this->decoratedFactory->createView(
  5. $list,
  6. $preferredChoices,
  7. $label,
  8. $index,
  9. $groupBy,
  1. } elseif ([] !== $labelTranslationParameters) {
  2. $cache = false;
  3. }
  4. if (!$cache) {
  5. return $this->decoratedFactory->createView(
  6. $list,
  7. $preferredChoices,
  8. $label,
  9. $index,
  10. $groupBy,
  1. );
  2. }
  3. private function createChoiceListView(ChoiceListInterface $choiceList, array $options): ChoiceListView
  4. {
  5. return $this->choiceListFactory->createView(
  6. $choiceList,
  7. $options['preferred_choices'],
  8. $options['choice_label'],
  9. $options['choice_name'],
  10. $options['group_by'],
in vendor/symfony/form/Extension/Core/Type/ChoiceType.php -> createChoiceListView (line 233)
  1. $choiceList = $form->getConfig()->getAttribute('choice_list');
  2. /** @var ChoiceListView $choiceListView */
  3. $choiceListView = $form->getConfig()->hasAttribute('choice_list_view')
  4. ? $form->getConfig()->getAttribute('choice_list_view')
  5. : $this->createChoiceListView($choiceList, $options);
  6. $view->vars = array_replace($view->vars, [
  7. 'multiple' => $options['multiple'],
  8. 'expanded' => $options['expanded'],
  9. 'preferred_choices' => $choiceListView->preferredChoices,
  1. public function buildView(FormView $view, FormInterface $form, array $options): void
  2. {
  3. $this->parent?->buildView($view, $form, $options);
  4. $this->innerType->buildView($view, $form, $options);
  5. foreach ($this->typeExtensions as $extension) {
  6. $extension->buildView($view, $form, $options);
  7. }
  8. }
  1. $this->proxiedType->buildForm($builder, $options);
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->proxiedType->buildView($view, $form, $options);
  6. }
  7. public function finishView(FormView $view, FormInterface $form, array $options): void
  8. {
  9. $this->proxiedType->finishView($view, $form, $options);
  1. }
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->parent?->buildView($view, $form, $options);
  6. $this->innerType->buildView($view, $form, $options);
  7. foreach ($this->typeExtensions as $extension) {
  8. $extension->buildView($view, $form, $options);
  1. $this->proxiedType->buildForm($builder, $options);
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->proxiedType->buildView($view, $form, $options);
  6. }
  7. public function finishView(FormView $view, FormInterface $form, array $options): void
  8. {
  9. $this->proxiedType->finishView($view, $form, $options);
in vendor/symfony/form/Form.php -> buildView (line 892)
  1. // The methods createView(), buildView() and finishView() are called
  2. // explicitly here in order to be able to override either of them
  3. // in a custom resolved form type.
  4. $view = $type->createView($this, $parent);
  5. $type->buildView($view, $this, $options);
  6. foreach ($this->children as $name => $child) {
  7. $view->children[$name] = $child->createView($view);
  8. }
in vendor/symfony/form/Form.php -> createView (line 895)
  1. $view = $type->createView($this, $parent);
  2. $type->buildView($view, $this, $options);
  3. foreach ($this->children as $name => $child) {
  4. $view->children[$name] = $child->createView($view);
  5. }
  6. $this->sort($view->children);
  7. $type->finishView($view, $this, $options);
  1. throw new \LogicException(\sprintf('You cannot use the "%s" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".', $method));
  2. }
  3. foreach ($parameters as $k => $v) {
  4. if ($v instanceof FormInterface) {
  5. $parameters[$k] = $v->createView();
  6. }
  7. }
  8. if (null !== $block) {
  9. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/DeveloperController.php (line 47)
  1. 'method' => 'GET'
  2. ]);
  3. $page = $request->query->getInt('page', 1);
  4. $result = $developers->findAllByBusinessType('developer', $page);
  5. return $this->render('web/list_real_estate_developers.html.twig', [
  6. 'total_developers' => $developers->countAllByBusinessType('developer'),
  7. 'paginator' => $result,
  8. 'form' => $form
  9. ]);
  10. }
in vendor/symfony/http-kernel/HttpKernel.php -> listDevelopers (line 183)
  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('/var/www/vhosts/1007/domains/n46.net/imobiliare/vendor/autoload_runtime.php') in public_html/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[42S22]: Column not found: 1054 Unknown column 'a0_.slug' in 'SELECT'

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. $stmt = $this->connection->query($sql);
  2. assert($stmt instanceof PDOStatement);
  3. return new Result($stmt);
  4. } catch (PDOException $exception) {
  5. throw Exception::new($exception);
  6. }
  7. }
  8. public function quote(string $value): string
  9. {
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. public function query(string $sql): Result
  2. {
  3. $this->logger->debug('Executing query: {sql}', ['sql' => $sql]);
  4. return parent::query($sql);
  5. }
  6. public function exec(string $sql): int|string
  7. {
  8. $this->logger->debug('Executing statement: {sql}', ['sql' => $sql]);
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::query($sql);
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. $this->bindParameters($stmt, $params, $types);
  2. $result = $stmt->execute();
  3. } else {
  4. $result = $connection->query($sql);
  5. }
  6. return new Result($result, $this);
  7. } catch (Driver\Exception $e) {
  8. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. ) {
  2. }
  3. public function getEntities(): array
  4. {
  5. return $this->queryBuilder->getQuery()->execute();
  6. }
  7. public function getEntitiesByIds(string $identifier, array $values): array
  8. {
  9. if (null !== $this->queryBuilder->getMaxResults() || 0 < (int) $this->queryBuilder->getFirstResult()) {
  1. }
  2. protected function loadChoices(): iterable
  3. {
  4. return $this->objectLoader
  5. ? $this->objectLoader->getEntities()
  6. : $this->manager->getRepository($this->class)->findAll();
  7. }
  8. protected function doLoadValuesForChoices(array $choices): array
  9. {
  1. /**
  2. * @final
  3. */
  4. public function loadChoiceList(?callable $value = null): ChoiceListInterface
  5. {
  6. return new ArrayChoiceList($this->choices ??= $this->loadChoices(), $value);
  7. }
  8. public function loadChoicesForValues(array $values, ?callable $value = null): array
  9. {
  10. if (!$values) {
  1. $this->value = null === $value ? null : $value(...);
  2. }
  3. public function getChoices(): array
  4. {
  5. return $this->loader->loadChoiceList($this->value)->getChoices();
  6. }
  7. public function getValues(): array
  8. {
  9. return $this->loader->loadChoiceList($this->value)->getValues();
  1. public function createView(ChoiceListInterface $list, array|callable|null $preferredChoices = null, callable|false|null $label = null, ?callable $index = null, ?callable $groupBy = null, array|callable|null $attr = null, array|callable $labelTranslationParameters = [], bool $duplicatePreferredChoices = true): ChoiceListView
  2. {
  3. $preferredViews = [];
  4. $preferredViewsOrder = [];
  5. $otherViews = [];
  6. $choices = $list->getChoices();
  7. $keys = $list->getOriginalKeys();
  8. if (!\is_callable($preferredChoices)) {
  9. if (!$preferredChoices) {
  10. $preferredChoices = null;
  1. if ($labelTranslationParameters instanceof PropertyPath) {
  2. $labelTranslationParameters = static fn ($choice) => $accessor->getValue($choice, $labelTranslationParameters);
  3. }
  4. return $this->decoratedFactory->createView(
  5. $list,
  6. $preferredChoices,
  7. $label,
  8. $index,
  9. $groupBy,
  1. } elseif ([] !== $labelTranslationParameters) {
  2. $cache = false;
  3. }
  4. if (!$cache) {
  5. return $this->decoratedFactory->createView(
  6. $list,
  7. $preferredChoices,
  8. $label,
  9. $index,
  10. $groupBy,
  1. );
  2. }
  3. private function createChoiceListView(ChoiceListInterface $choiceList, array $options): ChoiceListView
  4. {
  5. return $this->choiceListFactory->createView(
  6. $choiceList,
  7. $options['preferred_choices'],
  8. $options['choice_label'],
  9. $options['choice_name'],
  10. $options['group_by'],
in vendor/symfony/form/Extension/Core/Type/ChoiceType.php -> createChoiceListView (line 233)
  1. $choiceList = $form->getConfig()->getAttribute('choice_list');
  2. /** @var ChoiceListView $choiceListView */
  3. $choiceListView = $form->getConfig()->hasAttribute('choice_list_view')
  4. ? $form->getConfig()->getAttribute('choice_list_view')
  5. : $this->createChoiceListView($choiceList, $options);
  6. $view->vars = array_replace($view->vars, [
  7. 'multiple' => $options['multiple'],
  8. 'expanded' => $options['expanded'],
  9. 'preferred_choices' => $choiceListView->preferredChoices,
  1. public function buildView(FormView $view, FormInterface $form, array $options): void
  2. {
  3. $this->parent?->buildView($view, $form, $options);
  4. $this->innerType->buildView($view, $form, $options);
  5. foreach ($this->typeExtensions as $extension) {
  6. $extension->buildView($view, $form, $options);
  7. }
  8. }
  1. $this->proxiedType->buildForm($builder, $options);
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->proxiedType->buildView($view, $form, $options);
  6. }
  7. public function finishView(FormView $view, FormInterface $form, array $options): void
  8. {
  9. $this->proxiedType->finishView($view, $form, $options);
  1. }
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->parent?->buildView($view, $form, $options);
  6. $this->innerType->buildView($view, $form, $options);
  7. foreach ($this->typeExtensions as $extension) {
  8. $extension->buildView($view, $form, $options);
  1. $this->proxiedType->buildForm($builder, $options);
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->proxiedType->buildView($view, $form, $options);
  6. }
  7. public function finishView(FormView $view, FormInterface $form, array $options): void
  8. {
  9. $this->proxiedType->finishView($view, $form, $options);
in vendor/symfony/form/Form.php -> buildView (line 892)
  1. // The methods createView(), buildView() and finishView() are called
  2. // explicitly here in order to be able to override either of them
  3. // in a custom resolved form type.
  4. $view = $type->createView($this, $parent);
  5. $type->buildView($view, $this, $options);
  6. foreach ($this->children as $name => $child) {
  7. $view->children[$name] = $child->createView($view);
  8. }
in vendor/symfony/form/Form.php -> createView (line 895)
  1. $view = $type->createView($this, $parent);
  2. $type->buildView($view, $this, $options);
  3. foreach ($this->children as $name => $child) {
  4. $view->children[$name] = $child->createView($view);
  5. }
  6. $this->sort($view->children);
  7. $type->finishView($view, $this, $options);
  1. throw new \LogicException(\sprintf('You cannot use the "%s" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".', $method));
  2. }
  3. foreach ($parameters as $k => $v) {
  4. if ($v instanceof FormInterface) {
  5. $parameters[$k] = $v->createView();
  6. }
  7. }
  8. if (null !== $block) {
  9. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/DeveloperController.php (line 47)
  1. 'method' => 'GET'
  2. ]);
  3. $page = $request->query->getInt('page', 1);
  4. $result = $developers->findAllByBusinessType('developer', $page);
  5. return $this->render('web/list_real_estate_developers.html.twig', [
  6. 'total_developers' => $developers->countAllByBusinessType('developer'),
  7. 'paginator' => $result,
  8. 'form' => $form
  9. ]);
  10. }
in vendor/symfony/http-kernel/HttpKernel.php -> listDevelopers (line 183)
  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('/var/www/vhosts/1007/domains/n46.net/imobiliare/vendor/autoload_runtime.php') in public_html/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[42S22]: Column not found: 1054 Unknown column 'a0_.slug' in 'SELECT'

  1. }
  2. public function query(string $sql): Result
  3. {
  4. try {
  5. $stmt = $this->connection->query($sql);
  6. assert($stmt instanceof PDOStatement);
  7. return new Result($stmt);
  8. } catch (PDOException $exception) {
  9. throw Exception::new($exception);
  1. }
  2. public function query(string $sql): Result
  3. {
  4. try {
  5. $stmt = $this->connection->query($sql);
  6. assert($stmt instanceof PDOStatement);
  7. return new Result($stmt);
  8. } catch (PDOException $exception) {
  9. throw Exception::new($exception);
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. public function query(string $sql): Result
  2. {
  3. $this->logger->debug('Executing query: {sql}', ['sql' => $sql]);
  4. return parent::query($sql);
  5. }
  6. public function exec(string $sql): int|string
  7. {
  8. $this->logger->debug('Executing statement: {sql}', ['sql' => $sql]);
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::query($sql);
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. $this->bindParameters($stmt, $params, $types);
  2. $result = $stmt->execute();
  3. } else {
  4. $result = $connection->query($sql);
  5. }
  6. return new Result($result, $this);
  7. } catch (Driver\Exception $e) {
  8. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. ) {
  2. }
  3. public function getEntities(): array
  4. {
  5. return $this->queryBuilder->getQuery()->execute();
  6. }
  7. public function getEntitiesByIds(string $identifier, array $values): array
  8. {
  9. if (null !== $this->queryBuilder->getMaxResults() || 0 < (int) $this->queryBuilder->getFirstResult()) {
  1. }
  2. protected function loadChoices(): iterable
  3. {
  4. return $this->objectLoader
  5. ? $this->objectLoader->getEntities()
  6. : $this->manager->getRepository($this->class)->findAll();
  7. }
  8. protected function doLoadValuesForChoices(array $choices): array
  9. {
  1. /**
  2. * @final
  3. */
  4. public function loadChoiceList(?callable $value = null): ChoiceListInterface
  5. {
  6. return new ArrayChoiceList($this->choices ??= $this->loadChoices(), $value);
  7. }
  8. public function loadChoicesForValues(array $values, ?callable $value = null): array
  9. {
  10. if (!$values) {
  1. $this->value = null === $value ? null : $value(...);
  2. }
  3. public function getChoices(): array
  4. {
  5. return $this->loader->loadChoiceList($this->value)->getChoices();
  6. }
  7. public function getValues(): array
  8. {
  9. return $this->loader->loadChoiceList($this->value)->getValues();
  1. public function createView(ChoiceListInterface $list, array|callable|null $preferredChoices = null, callable|false|null $label = null, ?callable $index = null, ?callable $groupBy = null, array|callable|null $attr = null, array|callable $labelTranslationParameters = [], bool $duplicatePreferredChoices = true): ChoiceListView
  2. {
  3. $preferredViews = [];
  4. $preferredViewsOrder = [];
  5. $otherViews = [];
  6. $choices = $list->getChoices();
  7. $keys = $list->getOriginalKeys();
  8. if (!\is_callable($preferredChoices)) {
  9. if (!$preferredChoices) {
  10. $preferredChoices = null;
  1. if ($labelTranslationParameters instanceof PropertyPath) {
  2. $labelTranslationParameters = static fn ($choice) => $accessor->getValue($choice, $labelTranslationParameters);
  3. }
  4. return $this->decoratedFactory->createView(
  5. $list,
  6. $preferredChoices,
  7. $label,
  8. $index,
  9. $groupBy,
  1. } elseif ([] !== $labelTranslationParameters) {
  2. $cache = false;
  3. }
  4. if (!$cache) {
  5. return $this->decoratedFactory->createView(
  6. $list,
  7. $preferredChoices,
  8. $label,
  9. $index,
  10. $groupBy,
  1. );
  2. }
  3. private function createChoiceListView(ChoiceListInterface $choiceList, array $options): ChoiceListView
  4. {
  5. return $this->choiceListFactory->createView(
  6. $choiceList,
  7. $options['preferred_choices'],
  8. $options['choice_label'],
  9. $options['choice_name'],
  10. $options['group_by'],
in vendor/symfony/form/Extension/Core/Type/ChoiceType.php -> createChoiceListView (line 233)
  1. $choiceList = $form->getConfig()->getAttribute('choice_list');
  2. /** @var ChoiceListView $choiceListView */
  3. $choiceListView = $form->getConfig()->hasAttribute('choice_list_view')
  4. ? $form->getConfig()->getAttribute('choice_list_view')
  5. : $this->createChoiceListView($choiceList, $options);
  6. $view->vars = array_replace($view->vars, [
  7. 'multiple' => $options['multiple'],
  8. 'expanded' => $options['expanded'],
  9. 'preferred_choices' => $choiceListView->preferredChoices,
  1. public function buildView(FormView $view, FormInterface $form, array $options): void
  2. {
  3. $this->parent?->buildView($view, $form, $options);
  4. $this->innerType->buildView($view, $form, $options);
  5. foreach ($this->typeExtensions as $extension) {
  6. $extension->buildView($view, $form, $options);
  7. }
  8. }
  1. $this->proxiedType->buildForm($builder, $options);
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->proxiedType->buildView($view, $form, $options);
  6. }
  7. public function finishView(FormView $view, FormInterface $form, array $options): void
  8. {
  9. $this->proxiedType->finishView($view, $form, $options);
  1. }
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->parent?->buildView($view, $form, $options);
  6. $this->innerType->buildView($view, $form, $options);
  7. foreach ($this->typeExtensions as $extension) {
  8. $extension->buildView($view, $form, $options);
  1. $this->proxiedType->buildForm($builder, $options);
  2. }
  3. public function buildView(FormView $view, FormInterface $form, array $options): void
  4. {
  5. $this->proxiedType->buildView($view, $form, $options);
  6. }
  7. public function finishView(FormView $view, FormInterface $form, array $options): void
  8. {
  9. $this->proxiedType->finishView($view, $form, $options);
in vendor/symfony/form/Form.php -> buildView (line 892)
  1. // The methods createView(), buildView() and finishView() are called
  2. // explicitly here in order to be able to override either of them
  3. // in a custom resolved form type.
  4. $view = $type->createView($this, $parent);
  5. $type->buildView($view, $this, $options);
  6. foreach ($this->children as $name => $child) {
  7. $view->children[$name] = $child->createView($view);
  8. }
in vendor/symfony/form/Form.php -> createView (line 895)
  1. $view = $type->createView($this, $parent);
  2. $type->buildView($view, $this, $options);
  3. foreach ($this->children as $name => $child) {
  4. $view->children[$name] = $child->createView($view);
  5. }
  6. $this->sort($view->children);
  7. $type->finishView($view, $this, $options);
  1. throw new \LogicException(\sprintf('You cannot use the "%s" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".', $method));
  2. }
  3. foreach ($parameters as $k => $v) {
  4. if ($v instanceof FormInterface) {
  5. $parameters[$k] = $v->createView();
  6. }
  7. }
  8. if (null !== $block) {
  9. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/DeveloperController.php (line 47)
  1. 'method' => 'GET'
  2. ]);
  3. $page = $request->query->getInt('page', 1);
  4. $result = $developers->findAllByBusinessType('developer', $page);
  5. return $this->render('web/list_real_estate_developers.html.twig', [
  6. 'total_developers' => $developers->countAllByBusinessType('developer'),
  7. 'paginator' => $result,
  8. 'form' => $form
  9. ]);
  10. }
in vendor/symfony/http-kernel/HttpKernel.php -> listDevelopers (line 183)
  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('/var/www/vhosts/1007/domains/n46.net/imobiliare/vendor/autoload_runtime.php') in public_html/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 22:21:00 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "00a391"
    },
    "request_uri": "https://imobiliare.n46.net/_profiler/00a391",
    "method": "GET"
}

Stack Traces 3

[3/3] InvalidFieldNameException
Doctrine\DBAL\Exception\InvalidFieldNameException:
An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a0_.slug' in 'SELECT'

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:63
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1460)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1396)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Connection.php:809)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
  at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
     (vendor/doctrine/orm/src/Query.php:296)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/src/AbstractQuery.php:930)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/src/AbstractQuery.php:886)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/symfony/doctrine-bridge/Form/ChoiceList/ORMQueryBuilderLoader.php:35)
  at Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader->getEntities()
     (vendor/symfony/doctrine-bridge/Form/ChoiceList/DoctrineChoiceLoader.php:53)
  at Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader->loadChoices()
     (vendor/symfony/form/ChoiceList/Loader/AbstractChoiceLoader.php:29)
  at Symfony\Component\Form\ChoiceList\Loader\AbstractChoiceLoader->loadChoiceList()
     (vendor/symfony/form/ChoiceList/LazyChoiceList.php:56)
  at Symfony\Component\Form\ChoiceList\LazyChoiceList->getChoices()
     (vendor/symfony/form/ChoiceList/Factory/DefaultChoiceListFactory.php:60)
  at Symfony\Component\Form\ChoiceList\Factory\DefaultChoiceListFactory->createView()
     (vendor/symfony/form/ChoiceList/Factory/PropertyAccessDecorator.php:178)
  at Symfony\Component\Form\ChoiceList\Factory\PropertyAccessDecorator->createView()
     (vendor/symfony/form/ChoiceList/Factory/CachingFactoryDecorator.php:187)
  at Symfony\Component\Form\ChoiceList\Factory\CachingFactoryDecorator->createView()
     (vendor/symfony/form/Extension/Core/Type/ChoiceType.php:478)
  at Symfony\Component\Form\Extension\Core\Type\ChoiceType->createChoiceListView()
     (vendor/symfony/form/Extension/Core/Type/ChoiceType.php:233)
  at Symfony\Component\Form\Extension\Core\Type\ChoiceType->buildView()
     (vendor/symfony/form/ResolvedFormType.php:111)
  at Symfony\Component\Form\ResolvedFormType->buildView()
     (vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:78)
  at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->buildView()
     (vendor/symfony/form/ResolvedFormType.php:109)
  at Symfony\Component\Form\ResolvedFormType->buildView()
     (vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:78)
  at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->buildView()
     (vendor/symfony/form/Form.php:892)
  at Symfony\Component\Form\Form->createView()
     (vendor/symfony/form/Form.php:895)
  at Symfony\Component\Form\Form->createView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:454)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:279)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/DeveloperController.php:47)
  at App\Controller\DeveloperController->listDevelopers()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/var/www/vhosts/1007/domains/n46.net/imobiliare/vendor/autoload_runtime.php')
     (public_html/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a0_.slug' in 'SELECT'

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Connection.php:62)
  at Doctrine\DBAL\Driver\PDO\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/doctrine/dbal/src/Logging/Connection.php:39)
  at Doctrine\DBAL\Logging\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Connection.php:55)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Connection->query()
     (vendor/doctrine/dbal/src/Connection.php:804)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
  at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
     (vendor/doctrine/orm/src/Query.php:296)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/src/AbstractQuery.php:930)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/src/AbstractQuery.php:886)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/symfony/doctrine-bridge/Form/ChoiceList/ORMQueryBuilderLoader.php:35)
  at Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader->getEntities()
     (vendor/symfony/doctrine-bridge/Form/ChoiceList/DoctrineChoiceLoader.php:53)
  at Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader->loadChoices()
     (vendor/symfony/form/ChoiceList/Loader/AbstractChoiceLoader.php:29)
  at Symfony\Component\Form\ChoiceList\Loader\AbstractChoiceLoader->loadChoiceList()
     (vendor/symfony/form/ChoiceList/LazyChoiceList.php:56)
  at Symfony\Component\Form\ChoiceList\LazyChoiceList->getChoices()
     (vendor/symfony/form/ChoiceList/Factory/DefaultChoiceListFactory.php:60)
  at Symfony\Component\Form\ChoiceList\Factory\DefaultChoiceListFactory->createView()
     (vendor/symfony/form/ChoiceList/Factory/PropertyAccessDecorator.php:178)
  at Symfony\Component\Form\ChoiceList\Factory\PropertyAccessDecorator->createView()
     (vendor/symfony/form/ChoiceList/Factory/CachingFactoryDecorator.php:187)
  at Symfony\Component\Form\ChoiceList\Factory\CachingFactoryDecorator->createView()
     (vendor/symfony/form/Extension/Core/Type/ChoiceType.php:478)
  at Symfony\Component\Form\Extension\Core\Type\ChoiceType->createChoiceListView()
     (vendor/symfony/form/Extension/Core/Type/ChoiceType.php:233)
  at Symfony\Component\Form\Extension\Core\Type\ChoiceType->buildView()
     (vendor/symfony/form/ResolvedFormType.php:111)
  at Symfony\Component\Form\ResolvedFormType->buildView()
     (vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:78)
  at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->buildView()
     (vendor/symfony/form/ResolvedFormType.php:109)
  at Symfony\Component\Form\ResolvedFormType->buildView()
     (vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:78)
  at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->buildView()
     (vendor/symfony/form/Form.php:892)
  at Symfony\Component\Form\Form->createView()
     (vendor/symfony/form/Form.php:895)
  at Symfony\Component\Form\Form->createView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:454)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:279)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/DeveloperController.php:47)
  at App\Controller\DeveloperController->listDevelopers()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/var/www/vhosts/1007/domains/n46.net/imobiliare/vendor/autoload_runtime.php')
     (public_html/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a0_.slug' in 'SELECT'

  at vendor/doctrine/dbal/src/Driver/PDO/Connection.php:57
  at PDO->query()
     (vendor/doctrine/dbal/src/Driver/PDO/Connection.php:57)
  at Doctrine\DBAL\Driver\PDO\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/doctrine/dbal/src/Logging/Connection.php:39)
  at Doctrine\DBAL\Logging\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Connection.php:55)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Connection->query()
     (vendor/doctrine/dbal/src/Connection.php:804)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
  at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
     (vendor/doctrine/orm/src/Query.php:296)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/src/AbstractQuery.php:930)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/src/AbstractQuery.php:886)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/symfony/doctrine-bridge/Form/ChoiceList/ORMQueryBuilderLoader.php:35)
  at Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader->getEntities()
     (vendor/symfony/doctrine-bridge/Form/ChoiceList/DoctrineChoiceLoader.php:53)
  at Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader->loadChoices()
     (vendor/symfony/form/ChoiceList/Loader/AbstractChoiceLoader.php:29)
  at Symfony\Component\Form\ChoiceList\Loader\AbstractChoiceLoader->loadChoiceList()
     (vendor/symfony/form/ChoiceList/LazyChoiceList.php:56)
  at Symfony\Component\Form\ChoiceList\LazyChoiceList->getChoices()
     (vendor/symfony/form/ChoiceList/Factory/DefaultChoiceListFactory.php:60)
  at Symfony\Component\Form\ChoiceList\Factory\DefaultChoiceListFactory->createView()
     (vendor/symfony/form/ChoiceList/Factory/PropertyAccessDecorator.php:178)
  at Symfony\Component\Form\ChoiceList\Factory\PropertyAccessDecorator->createView()
     (vendor/symfony/form/ChoiceList/Factory/CachingFactoryDecorator.php:187)
  at Symfony\Component\Form\ChoiceList\Factory\CachingFactoryDecorator->createView()
     (vendor/symfony/form/Extension/Core/Type/ChoiceType.php:478)
  at Symfony\Component\Form\Extension\Core\Type\ChoiceType->createChoiceListView()
     (vendor/symfony/form/Extension/Core/Type/ChoiceType.php:233)
  at Symfony\Component\Form\Extension\Core\Type\ChoiceType->buildView()
     (vendor/symfony/form/ResolvedFormType.php:111)
  at Symfony\Component\Form\ResolvedFormType->buildView()
     (vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:78)
  at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->buildView()
     (vendor/symfony/form/ResolvedFormType.php:109)
  at Symfony\Component\Form\ResolvedFormType->buildView()
     (vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:78)
  at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->buildView()
     (vendor/symfony/form/Form.php:892)
  at Symfony\Component\Form\Form->createView()
     (vendor/symfony/form/Form.php:895)
  at Symfony\Component\Form\Form->createView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:454)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:279)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/DeveloperController.php:47)
  at App\Controller\DeveloperController->listDevelopers()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/var/www/vhosts/1007/domains/n46.net/imobiliare/vendor/autoload_runtime.php')
     (public_html/index.php:5)