Error 500 Internal Server Error

GET https://backend.portfolio.amarsyll.pro/portfolio

Forwarded to ErrorController (1cdf0d)

Exceptions

An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.uploaded_at' in 'field list'

Exceptions 3

Doctrine\DBAL\Exception\ InvalidFieldNameException

Show exception properties
Doctrine\DBAL\Exception\InvalidFieldNameException {#4583
  -query: Doctrine\DBAL\Query {#4612
    -sql: "SELECT t0.id AS id_1, t0.path AS path_2, t0.uploaded_at AS uploaded_at_3, t0.name AS name_4, t0.project_id AS project_id_5 FROM image t0 WHERE t0.project_id = ?"
    -params: array:1 [
      0 => 1
    ]
    -types: array:1 [
      0 => "integer"
    ]
  }
}
  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. $sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
  3. [$params, $types] = $this->expandToManyParameters($parameters);
  4. return $this->conn->executeQuery($sql, $params, $types);
  5. }
  6. /**
  7. * {@inheritDoc}
  8. */
  1. AssociationMapping $assoc,
  2. object $sourceEntity,
  3. PersistentCollection $collection,
  4. ): mixed {
  5. assert($assoc instanceof OneToManyAssociationMapping);
  6. $stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
  7. return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
  8. }
  9. /** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 2729)
  1. $assoc = $collection->getMapping();
  2. $persister = $this->getEntityPersister($assoc->targetEntity);
  3. switch ($assoc->type()) {
  4. case ClassMetadata::ONE_TO_MANY:
  5. $persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
  6. break;
  7. case ClassMetadata::MANY_TO_MANY:
  8. $persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
  9. break;
  1. if ($this->isDirty) {
  2. $newlyAddedDirtyObjects = $this->unwrap()->toArray();
  3. }
  4. $this->unwrap()->clear();
  5. $this->getUnitOfWork()->loadCollection($this);
  6. $this->takeSnapshot();
  7. if ($newlyAddedDirtyObjects) {
  8. $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9. }
  1. {
  2. if ($this->initialized || ! $this->association) {
  3. return;
  4. }
  5. $this->doInitialize();
  6. $this->initialized = true;
  7. }
  8. /**
  1. * @phpstan-return Traversable<TKey,T>
  2. */
  3. #[ReturnTypeWillChange]
  4. public function getIterator()
  5. {
  6. $this->initialize();
  7. return $this->collection->getIterator();
  8. }
  9. /**
in vendor/symfony/serializer/Serializer.php -> getIterator (line 169)
  1. if ($data instanceof \Countable && ($context[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS] ?? false) && !\count($data)) {
  2. return new \ArrayObject();
  3. }
  4. $normalized = [];
  5. foreach ($data as $key => $val) {
  6. $normalized[$key] = $this->normalize($val, $format, $context);
  7. }
  8. return $normalized;
  9. }
  1. throw new LogicException(\sprintf('Cannot normalize attribute "%s" because the injected serializer is not a normalizer.', $attribute));
  2. }
  3. $childContext = $this->createChildContext($attributeContext, $attribute, $format);
  4. $normalizedData = $this->updateData($normalizedData, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext, $attributesMetadata, $classMetadata);
  5. }
  6. $preserveEmptyObjects = $context[self::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[self::PRESERVE_EMPTY_OBJECTS] ?? false;
  7. if ($preserveEmptyObjects && !$normalizedData) {
  8. return new \ArrayObject();
  1. if (!$this->normalizer instanceof NormalizerInterface) {
  2. throw new \BadMethodCallException(\sprintf('The "%s()" method cannot be called as nested normalizer doesn\'t implements "%s".', __METHOD__, NormalizerInterface::class));
  3. }
  4. $startTime = microtime(true);
  5. $normalized = $this->normalizer->normalize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. if ($traceId = ($context[TraceableSerializer::DEBUG_TRACE_ID] ?? null)) {
  8. $this->dataCollector->collectNormalization($traceId, $this->normalizer::class, $time, $this->serializerName);
  9. }
  1. public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
  2. {
  3. // If a normalizer supports the given data, use it
  4. if ($normalizer = $this->getNormalizer($data, $format, $context)) {
  5. return $normalizer->normalize($data, $format, $context);
  6. }
  7. if (null === $data || \is_scalar($data)) {
  8. return $data;
  9. }
  1. return new \ArrayObject();
  2. }
  3. $normalized = [];
  4. foreach ($data as $key => $val) {
  5. $normalized[$key] = $this->normalize($val, $format, $context);
  6. }
  7. return $normalized;
  8. }
  1. throw new LogicException(\sprintf('Cannot normalize attribute "%s" because the injected serializer is not a normalizer.', $attribute));
  2. }
  3. $childContext = $this->createChildContext($attributeContext, $attribute, $format);
  4. $normalizedData = $this->updateData($normalizedData, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext, $attributesMetadata, $classMetadata);
  5. }
  6. $preserveEmptyObjects = $context[self::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[self::PRESERVE_EMPTY_OBJECTS] ?? false;
  7. if ($preserveEmptyObjects && !$normalizedData) {
  8. return new \ArrayObject();
  1. if (!$this->normalizer instanceof NormalizerInterface) {
  2. throw new \BadMethodCallException(\sprintf('The "%s()" method cannot be called as nested normalizer doesn\'t implements "%s".', __METHOD__, NormalizerInterface::class));
  3. }
  4. $startTime = microtime(true);
  5. $normalized = $this->normalizer->normalize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. if ($traceId = ($context[TraceableSerializer::DEBUG_TRACE_ID] ?? null)) {
  8. $this->dataCollector->collectNormalization($traceId, $this->normalizer::class, $time, $this->serializerName);
  9. }
  1. public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
  2. {
  3. // If a normalizer supports the given data, use it
  4. if ($normalizer = $this->getNormalizer($data, $format, $context)) {
  5. return $normalizer->normalize($data, $format, $context);
  6. }
  7. if (null === $data || \is_scalar($data)) {
  8. return $data;
  9. }
  1. if (!$this->supportsEncoding($format, $context)) {
  2. throw new UnsupportedFormatException(\sprintf('Serialization for the format "%s" is not supported.', $format));
  3. }
  4. if ($this->encoder->needsNormalization($format, $context)) {
  5. $data = $this->normalize($data, $format, $context);
  6. }
  7. return $this->encode($data, $format, $context);
  8. }
  1. public function serialize(mixed $data, string $format, array $context = []): string
  2. {
  3. $context[self::DEBUG_TRACE_ID] = $traceId = bin2hex(random_bytes(4));
  4. $startTime = microtime(true);
  5. $result = $this->serializer->serialize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. $caller = $this->getCaller(__FUNCTION__, SerializerInterface::class);
  8. $this->dataCollector->collectSerialize($traceId, $data, $format, $context, $time, $caller, $this->serializerName);
  1. * @param int $status The HTTP status code (200 "OK" by default)
  2. */
  3. protected function json(mixed $data, int $status = 200, array $headers = [], array $context = []): JsonResponse
  4. {
  5. if ($this->container->has('serializer')) {
  6. $json = $this->container->get('serializer')->serialize($data, 'json', array_merge([
  7. 'json_encode_options' => JsonResponse::DEFAULT_ENCODING_OPTIONS,
  8. ], $context));
  9. return new JsonResponse($json, $status, $headers, true);
  10. }
AbstractController->json() in src/Controller/PortfolioController.php (line 129)
  1. }
  2. }
  3. $userData = $this->userRepository->findUserWithDetails();
  4. return $this->json($userData, Response::HTTP_OK, [], ['groups' => 'group-portfolio']);
  5. }
  6. /**
  7. * @throws TransportExceptionInterface
  8. * @throws \JsonException
  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/portfolio_dashboard_backend/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[42S22]: Column not found: 1054 Unknown column 't0.uploaded_at' in 'field list'

  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. $stmt = $connection->prepare($sql);
  2. $this->bindParameters($stmt, $params, $types);
  3. $result = $stmt->execute();
  4. } else {
  5. $result = $connection->query($sql);
  6. }
  7. return new Result($result, $this);
  1. }
  2. $sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
  3. [$params, $types] = $this->expandToManyParameters($parameters);
  4. return $this->conn->executeQuery($sql, $params, $types);
  5. }
  6. /**
  7. * {@inheritDoc}
  8. */
  1. AssociationMapping $assoc,
  2. object $sourceEntity,
  3. PersistentCollection $collection,
  4. ): mixed {
  5. assert($assoc instanceof OneToManyAssociationMapping);
  6. $stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
  7. return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
  8. }
  9. /** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 2729)
  1. $assoc = $collection->getMapping();
  2. $persister = $this->getEntityPersister($assoc->targetEntity);
  3. switch ($assoc->type()) {
  4. case ClassMetadata::ONE_TO_MANY:
  5. $persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
  6. break;
  7. case ClassMetadata::MANY_TO_MANY:
  8. $persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
  9. break;
  1. if ($this->isDirty) {
  2. $newlyAddedDirtyObjects = $this->unwrap()->toArray();
  3. }
  4. $this->unwrap()->clear();
  5. $this->getUnitOfWork()->loadCollection($this);
  6. $this->takeSnapshot();
  7. if ($newlyAddedDirtyObjects) {
  8. $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9. }
  1. {
  2. if ($this->initialized || ! $this->association) {
  3. return;
  4. }
  5. $this->doInitialize();
  6. $this->initialized = true;
  7. }
  8. /**
  1. * @phpstan-return Traversable<TKey,T>
  2. */
  3. #[ReturnTypeWillChange]
  4. public function getIterator()
  5. {
  6. $this->initialize();
  7. return $this->collection->getIterator();
  8. }
  9. /**
in vendor/symfony/serializer/Serializer.php -> getIterator (line 169)
  1. if ($data instanceof \Countable && ($context[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS] ?? false) && !\count($data)) {
  2. return new \ArrayObject();
  3. }
  4. $normalized = [];
  5. foreach ($data as $key => $val) {
  6. $normalized[$key] = $this->normalize($val, $format, $context);
  7. }
  8. return $normalized;
  9. }
  1. throw new LogicException(\sprintf('Cannot normalize attribute "%s" because the injected serializer is not a normalizer.', $attribute));
  2. }
  3. $childContext = $this->createChildContext($attributeContext, $attribute, $format);
  4. $normalizedData = $this->updateData($normalizedData, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext, $attributesMetadata, $classMetadata);
  5. }
  6. $preserveEmptyObjects = $context[self::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[self::PRESERVE_EMPTY_OBJECTS] ?? false;
  7. if ($preserveEmptyObjects && !$normalizedData) {
  8. return new \ArrayObject();
  1. if (!$this->normalizer instanceof NormalizerInterface) {
  2. throw new \BadMethodCallException(\sprintf('The "%s()" method cannot be called as nested normalizer doesn\'t implements "%s".', __METHOD__, NormalizerInterface::class));
  3. }
  4. $startTime = microtime(true);
  5. $normalized = $this->normalizer->normalize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. if ($traceId = ($context[TraceableSerializer::DEBUG_TRACE_ID] ?? null)) {
  8. $this->dataCollector->collectNormalization($traceId, $this->normalizer::class, $time, $this->serializerName);
  9. }
  1. public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
  2. {
  3. // If a normalizer supports the given data, use it
  4. if ($normalizer = $this->getNormalizer($data, $format, $context)) {
  5. return $normalizer->normalize($data, $format, $context);
  6. }
  7. if (null === $data || \is_scalar($data)) {
  8. return $data;
  9. }
  1. return new \ArrayObject();
  2. }
  3. $normalized = [];
  4. foreach ($data as $key => $val) {
  5. $normalized[$key] = $this->normalize($val, $format, $context);
  6. }
  7. return $normalized;
  8. }
  1. throw new LogicException(\sprintf('Cannot normalize attribute "%s" because the injected serializer is not a normalizer.', $attribute));
  2. }
  3. $childContext = $this->createChildContext($attributeContext, $attribute, $format);
  4. $normalizedData = $this->updateData($normalizedData, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext, $attributesMetadata, $classMetadata);
  5. }
  6. $preserveEmptyObjects = $context[self::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[self::PRESERVE_EMPTY_OBJECTS] ?? false;
  7. if ($preserveEmptyObjects && !$normalizedData) {
  8. return new \ArrayObject();
  1. if (!$this->normalizer instanceof NormalizerInterface) {
  2. throw new \BadMethodCallException(\sprintf('The "%s()" method cannot be called as nested normalizer doesn\'t implements "%s".', __METHOD__, NormalizerInterface::class));
  3. }
  4. $startTime = microtime(true);
  5. $normalized = $this->normalizer->normalize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. if ($traceId = ($context[TraceableSerializer::DEBUG_TRACE_ID] ?? null)) {
  8. $this->dataCollector->collectNormalization($traceId, $this->normalizer::class, $time, $this->serializerName);
  9. }
  1. public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
  2. {
  3. // If a normalizer supports the given data, use it
  4. if ($normalizer = $this->getNormalizer($data, $format, $context)) {
  5. return $normalizer->normalize($data, $format, $context);
  6. }
  7. if (null === $data || \is_scalar($data)) {
  8. return $data;
  9. }
  1. if (!$this->supportsEncoding($format, $context)) {
  2. throw new UnsupportedFormatException(\sprintf('Serialization for the format "%s" is not supported.', $format));
  3. }
  4. if ($this->encoder->needsNormalization($format, $context)) {
  5. $data = $this->normalize($data, $format, $context);
  6. }
  7. return $this->encode($data, $format, $context);
  8. }
  1. public function serialize(mixed $data, string $format, array $context = []): string
  2. {
  3. $context[self::DEBUG_TRACE_ID] = $traceId = bin2hex(random_bytes(4));
  4. $startTime = microtime(true);
  5. $result = $this->serializer->serialize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. $caller = $this->getCaller(__FUNCTION__, SerializerInterface::class);
  8. $this->dataCollector->collectSerialize($traceId, $data, $format, $context, $time, $caller, $this->serializerName);
  1. * @param int $status The HTTP status code (200 "OK" by default)
  2. */
  3. protected function json(mixed $data, int $status = 200, array $headers = [], array $context = []): JsonResponse
  4. {
  5. if ($this->container->has('serializer')) {
  6. $json = $this->container->get('serializer')->serialize($data, 'json', array_merge([
  7. 'json_encode_options' => JsonResponse::DEFAULT_ENCODING_OPTIONS,
  8. ], $context));
  9. return new JsonResponse($json, $status, $headers, true);
  10. }
AbstractController->json() in src/Controller/PortfolioController.php (line 129)
  1. }
  2. }
  3. $userData = $this->userRepository->findUserWithDetails();
  4. return $this->json($userData, Response::HTTP_OK, [], ['groups' => 'group-portfolio']);
  5. }
  6. /**
  7. * @throws TransportExceptionInterface
  8. * @throws \JsonException
  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/portfolio_dashboard_backend/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[42S22]: Column not found: 1054 Unknown column 't0.uploaded_at' in 'field list'

  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. $stmt = $connection->prepare($sql);
  2. $this->bindParameters($stmt, $params, $types);
  3. $result = $stmt->execute();
  4. } else {
  5. $result = $connection->query($sql);
  6. }
  7. return new Result($result, $this);
  1. }
  2. $sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
  3. [$params, $types] = $this->expandToManyParameters($parameters);
  4. return $this->conn->executeQuery($sql, $params, $types);
  5. }
  6. /**
  7. * {@inheritDoc}
  8. */
  1. AssociationMapping $assoc,
  2. object $sourceEntity,
  3. PersistentCollection $collection,
  4. ): mixed {
  5. assert($assoc instanceof OneToManyAssociationMapping);
  6. $stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
  7. return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
  8. }
  9. /** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 2729)
  1. $assoc = $collection->getMapping();
  2. $persister = $this->getEntityPersister($assoc->targetEntity);
  3. switch ($assoc->type()) {
  4. case ClassMetadata::ONE_TO_MANY:
  5. $persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
  6. break;
  7. case ClassMetadata::MANY_TO_MANY:
  8. $persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
  9. break;
  1. if ($this->isDirty) {
  2. $newlyAddedDirtyObjects = $this->unwrap()->toArray();
  3. }
  4. $this->unwrap()->clear();
  5. $this->getUnitOfWork()->loadCollection($this);
  6. $this->takeSnapshot();
  7. if ($newlyAddedDirtyObjects) {
  8. $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9. }
  1. {
  2. if ($this->initialized || ! $this->association) {
  3. return;
  4. }
  5. $this->doInitialize();
  6. $this->initialized = true;
  7. }
  8. /**
  1. * @phpstan-return Traversable<TKey,T>
  2. */
  3. #[ReturnTypeWillChange]
  4. public function getIterator()
  5. {
  6. $this->initialize();
  7. return $this->collection->getIterator();
  8. }
  9. /**
in vendor/symfony/serializer/Serializer.php -> getIterator (line 169)
  1. if ($data instanceof \Countable && ($context[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS] ?? false) && !\count($data)) {
  2. return new \ArrayObject();
  3. }
  4. $normalized = [];
  5. foreach ($data as $key => $val) {
  6. $normalized[$key] = $this->normalize($val, $format, $context);
  7. }
  8. return $normalized;
  9. }
  1. throw new LogicException(\sprintf('Cannot normalize attribute "%s" because the injected serializer is not a normalizer.', $attribute));
  2. }
  3. $childContext = $this->createChildContext($attributeContext, $attribute, $format);
  4. $normalizedData = $this->updateData($normalizedData, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext, $attributesMetadata, $classMetadata);
  5. }
  6. $preserveEmptyObjects = $context[self::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[self::PRESERVE_EMPTY_OBJECTS] ?? false;
  7. if ($preserveEmptyObjects && !$normalizedData) {
  8. return new \ArrayObject();
  1. if (!$this->normalizer instanceof NormalizerInterface) {
  2. throw new \BadMethodCallException(\sprintf('The "%s()" method cannot be called as nested normalizer doesn\'t implements "%s".', __METHOD__, NormalizerInterface::class));
  3. }
  4. $startTime = microtime(true);
  5. $normalized = $this->normalizer->normalize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. if ($traceId = ($context[TraceableSerializer::DEBUG_TRACE_ID] ?? null)) {
  8. $this->dataCollector->collectNormalization($traceId, $this->normalizer::class, $time, $this->serializerName);
  9. }
  1. public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
  2. {
  3. // If a normalizer supports the given data, use it
  4. if ($normalizer = $this->getNormalizer($data, $format, $context)) {
  5. return $normalizer->normalize($data, $format, $context);
  6. }
  7. if (null === $data || \is_scalar($data)) {
  8. return $data;
  9. }
  1. return new \ArrayObject();
  2. }
  3. $normalized = [];
  4. foreach ($data as $key => $val) {
  5. $normalized[$key] = $this->normalize($val, $format, $context);
  6. }
  7. return $normalized;
  8. }
  1. throw new LogicException(\sprintf('Cannot normalize attribute "%s" because the injected serializer is not a normalizer.', $attribute));
  2. }
  3. $childContext = $this->createChildContext($attributeContext, $attribute, $format);
  4. $normalizedData = $this->updateData($normalizedData, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext, $attributesMetadata, $classMetadata);
  5. }
  6. $preserveEmptyObjects = $context[self::PRESERVE_EMPTY_OBJECTS] ?? $this->defaultContext[self::PRESERVE_EMPTY_OBJECTS] ?? false;
  7. if ($preserveEmptyObjects && !$normalizedData) {
  8. return new \ArrayObject();
  1. if (!$this->normalizer instanceof NormalizerInterface) {
  2. throw new \BadMethodCallException(\sprintf('The "%s()" method cannot be called as nested normalizer doesn\'t implements "%s".', __METHOD__, NormalizerInterface::class));
  3. }
  4. $startTime = microtime(true);
  5. $normalized = $this->normalizer->normalize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. if ($traceId = ($context[TraceableSerializer::DEBUG_TRACE_ID] ?? null)) {
  8. $this->dataCollector->collectNormalization($traceId, $this->normalizer::class, $time, $this->serializerName);
  9. }
  1. public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
  2. {
  3. // If a normalizer supports the given data, use it
  4. if ($normalizer = $this->getNormalizer($data, $format, $context)) {
  5. return $normalizer->normalize($data, $format, $context);
  6. }
  7. if (null === $data || \is_scalar($data)) {
  8. return $data;
  9. }
  1. if (!$this->supportsEncoding($format, $context)) {
  2. throw new UnsupportedFormatException(\sprintf('Serialization for the format "%s" is not supported.', $format));
  3. }
  4. if ($this->encoder->needsNormalization($format, $context)) {
  5. $data = $this->normalize($data, $format, $context);
  6. }
  7. return $this->encode($data, $format, $context);
  8. }
  1. public function serialize(mixed $data, string $format, array $context = []): string
  2. {
  3. $context[self::DEBUG_TRACE_ID] = $traceId = bin2hex(random_bytes(4));
  4. $startTime = microtime(true);
  5. $result = $this->serializer->serialize($data, $format, $context);
  6. $time = microtime(true) - $startTime;
  7. $caller = $this->getCaller(__FUNCTION__, SerializerInterface::class);
  8. $this->dataCollector->collectSerialize($traceId, $data, $format, $context, $time, $caller, $this->serializerName);
  1. * @param int $status The HTTP status code (200 "OK" by default)
  2. */
  3. protected function json(mixed $data, int $status = 200, array $headers = [], array $context = []): JsonResponse
  4. {
  5. if ($this->container->has('serializer')) {
  6. $json = $this->container->get('serializer')->serialize($data, 'json', array_merge([
  7. 'json_encode_options' => JsonResponse::DEFAULT_ENCODING_OPTIONS,
  8. ], $context));
  9. return new JsonResponse($json, $status, $headers, true);
  10. }
AbstractController->json() in src/Controller/PortfolioController.php (line 129)
  1. }
  2. }
  3. $userData = $this->userRepository->findUserWithDetails();
  4. return $this->json($userData, Response::HTTP_OK, [], ['groups' => 'group-portfolio']);
  5. }
  6. /**
  7. * @throws TransportExceptionInterface
  8. * @throws \JsonException
  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/portfolio_dashboard_backend/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 02:47:02 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "https://backend.portfolio.amarsyll.pro/_profiler/latest?ip=184.105.139.68&type=request",
    "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 't0.uploaded_at' in 'field list'

  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/Persisters/Entity/BasicEntityPersister.php:1872)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1817)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection()
     (vendor/doctrine/orm/src/UnitOfWork.php:2729)
  at Doctrine\ORM\UnitOfWork->loadCollection()
     (vendor/doctrine/orm/src/PersistentCollection.php:636)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:186)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:315)
  at Doctrine\Common\Collections\AbstractLazyCollection->getIterator()
     (vendor/symfony/serializer/Serializer.php:169)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:226)
  at Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize()
     (vendor/symfony/serializer/Debug/TraceableNormalizer.php:50)
  at Symfony\Component\Serializer\Debug\TraceableNormalizer->normalize()
     (vendor/symfony/serializer/Serializer.php:152)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Serializer.php:170)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:226)
  at Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize()
     (vendor/symfony/serializer/Debug/TraceableNormalizer.php:50)
  at Symfony\Component\Serializer\Debug\TraceableNormalizer->normalize()
     (vendor/symfony/serializer/Serializer.php:152)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Serializer.php:131)
  at Symfony\Component\Serializer\Serializer->serialize()
     (vendor/symfony/serializer/Debug/TraceableSerializer.php:44)
  at Symfony\Component\Serializer\Debug\TraceableSerializer->serialize()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:153)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->json()
     (src/Controller/PortfolioController.php:129)
  at App\Controller\PortfolioController->index()
     (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/portfolio_dashboard_backend/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.uploaded_at' in 'field list'

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (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/Connection.php:802)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1872)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1817)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection()
     (vendor/doctrine/orm/src/UnitOfWork.php:2729)
  at Doctrine\ORM\UnitOfWork->loadCollection()
     (vendor/doctrine/orm/src/PersistentCollection.php:636)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:186)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:315)
  at Doctrine\Common\Collections\AbstractLazyCollection->getIterator()
     (vendor/symfony/serializer/Serializer.php:169)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:226)
  at Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize()
     (vendor/symfony/serializer/Debug/TraceableNormalizer.php:50)
  at Symfony\Component\Serializer\Debug\TraceableNormalizer->normalize()
     (vendor/symfony/serializer/Serializer.php:152)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Serializer.php:170)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:226)
  at Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize()
     (vendor/symfony/serializer/Debug/TraceableNormalizer.php:50)
  at Symfony\Component\Serializer\Debug\TraceableNormalizer->normalize()
     (vendor/symfony/serializer/Serializer.php:152)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Serializer.php:131)
  at Symfony\Component\Serializer\Serializer->serialize()
     (vendor/symfony/serializer/Debug/TraceableSerializer.php:44)
  at Symfony\Component\Serializer\Debug\TraceableSerializer->serialize()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:153)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->json()
     (src/Controller/PortfolioController.php:129)
  at App\Controller\PortfolioController->index()
     (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/portfolio_dashboard_backend/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.uploaded_at' in 'field list'

  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/Connection.php:802)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1872)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1817)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection()
     (vendor/doctrine/orm/src/UnitOfWork.php:2729)
  at Doctrine\ORM\UnitOfWork->loadCollection()
     (vendor/doctrine/orm/src/PersistentCollection.php:636)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:186)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:315)
  at Doctrine\Common\Collections\AbstractLazyCollection->getIterator()
     (vendor/symfony/serializer/Serializer.php:169)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:226)
  at Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize()
     (vendor/symfony/serializer/Debug/TraceableNormalizer.php:50)
  at Symfony\Component\Serializer\Debug\TraceableNormalizer->normalize()
     (vendor/symfony/serializer/Serializer.php:152)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Serializer.php:170)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:226)
  at Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize()
     (vendor/symfony/serializer/Debug/TraceableNormalizer.php:50)
  at Symfony\Component\Serializer\Debug\TraceableNormalizer->normalize()
     (vendor/symfony/serializer/Serializer.php:152)
  at Symfony\Component\Serializer\Serializer->normalize()
     (vendor/symfony/serializer/Serializer.php:131)
  at Symfony\Component\Serializer\Serializer->serialize()
     (vendor/symfony/serializer/Debug/TraceableSerializer.php:44)
  at Symfony\Component\Serializer\Debug\TraceableSerializer->serialize()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:153)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->json()
     (src/Controller/PortfolioController.php:129)
  at App\Controller\PortfolioController->index()
     (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/portfolio_dashboard_backend/vendor/autoload_runtime.php')
     (public/index.php:5)