exception |
Doctrine\DBAL\ConnectionException {#1345
#message: "There is no active transaction."
#code: 0
#file: "/home/infostatmut/validation_resto_new/vendor/doctrine/dbal/src/ConnectionException.php"
#line: 16
trace: {
/home/infostatmut/validation_resto_new/vendor/doctrine/dbal/src/ConnectionException.php:16 {
Doctrine\DBAL\ConnectionException::noActiveTransaction() …
› {
› return new self('There is no active transaction.');
› }
}
/home/infostatmut/validation_resto_new/vendor/doctrine/dbal/src/Connection.php:1771 {
Doctrine\DBAL\Connection->isRollbackOnly() …
› if ($this->transactionNestingLevel === 0) {
› throw ConnectionException::noActiveTransaction();
› }
}
/home/infostatmut/validation_resto_new/vendor/symfony/property-access/PropertyAccessor.php:406 {
Symfony\Component\PropertyAccess\PropertyAccessor->readProperty(array $zval, string $property, bool $ignoreInvalidProperty = false): array …
› try {
› $result[self::VALUE] = $object->$name();
› } catch (\TypeError $e) {
}
/home/infostatmut/validation_resto_new/vendor/symfony/property-access/PropertyAccessor.php:115 {
Symfony\Component\PropertyAccess\PropertyAccessor->getValue(object|array $objectOrArray, Symfony\Component\PropertyAccess\PropertyPathInterface|string $propertyPath): mixed …
› if (\is_object($objectOrArray) && false === strpbrk((string) $propertyPath, '.[')) {
› return $this->readProperty($zval, $propertyPath, $this->ignoreInvalidProperty)[self::VALUE];
› }
arguments: {
$zval: [ …1]
$property: "rollbackOnly"
$ignoreInvalidProperty: false
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Normalizer/ObjectNormalizer.php:140 {
Symfony\Component\Serializer\Normalizer\ObjectNormalizer->getAttributeValue(object $object, string $attribute, string $format = null, array $context = []): mixed …
›
› return $attribute === $this->discriminatorCache[$cacheKey] ? $this->classDiscriminatorResolver->getTypeForMappedObject($object) : $this->propertyAccessor->getValue($object, $attribute);
› }
arguments: {
$objectOrArray: Doctrine\DBAL\Connection {#335 …}
$propertyPath: "rollbackOnly"
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:182 {
Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize(mixed $object, string $format = null, array $context = []) …
› try {
› $attributeValue = $this->getAttributeValue($object, $attribute, $format, $attributeContext);
› } catch (UninitializedPropertyException $e) {
arguments: {
$object: Doctrine\DBAL\Connection {#335 …}
$attribute: "rollbackOnly"
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:161 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› if ($normalizer = $this->getNormalizer($data, $format, $context)) {
› return $normalizer->normalize($data, $format, $context);
› }
arguments: {
$object: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:216 {
Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize(mixed $object, string $format = null, array $context = []) …
›
› $data = $this->updateData($data, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext);
› }
arguments: {
$data: [ …15]
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:161 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› if ($normalizer = $this->getNormalizer($data, $format, $context)) {
› return $normalizer->normalize($data, $format, $context);
› }
arguments: {
$object: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:216 {
Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize(mixed $object, string $format = null, array $context = []) …
›
› $data = $this->updateData($data, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext);
› }
arguments: {
$data: [ …15]
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:161 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› if ($normalizer = $this->getNormalizer($data, $format, $context)) {
› return $normalizer->normalize($data, $format, $context);
› }
arguments: {
$object: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:216 {
Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer->normalize(mixed $object, string $format = null, array $context = []) …
›
› $data = $this->updateData($data, $attribute, $this->serializer->normalize($attributeValue, $format, $childContext), $class, $format, $attributeContext);
› }
arguments: {
$data: [ …15]
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:161 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› if ($normalizer = $this->getNormalizer($data, $format, $context)) {
› return $normalizer->normalize($data, $format, $context);
› }
arguments: {
$object: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …3]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:179 {
Symfony\Component\Serializer\Serializer->normalize(mixed $data, string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null …
› foreach ($data as $key => $val) {
› $normalized[$key] = $this->normalize($val, $format, $context);
› }
arguments: {
$data: Doctrine\DBAL\Exception\DriverException {#1080 …}
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/serializer/Serializer.php:134 {
Symfony\Component\Serializer\Serializer->serialize(mixed $data, string $format, array $context = []): string …
› if ($this->encoder->needsNormalization($format, $context)) {
› $data = $this->normalize($data, $format, $context);
› }
arguments: {
$data: [ …1]
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/framework-bundle/Controller/AbstractController.php:146 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->json(mixed $data, int $status = 200, array $headers = [], array $context = []): JsonResponse …
› $json = $this->container->get('serializer')->serialize($data, 'json', array_merge([
› 'json_encode_options' => JsonResponse::DEFAULT_ENCODING_OPTIONS,
› ], $context));
arguments: {
$data: [ …1]
$format: "json"
$context: [ …1]
}
}
/home/infostatmut/validation_resto_new/src/Controller/API/APIController.php:761 {
App\Controller\API\APIController->updatePoiPos(Request $request, RestaurantRepository $repo) …
› }catch(\Exception $e){
› return $this->json(["erreur"=>$e],500);
› }
arguments: {
$data: [ …1]
$status: 500
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/http-kernel/HttpKernel.php:163 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$repo: App\Repository\RestaurantRepository {#269 …}
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/http-kernel/HttpKernel.php:75 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/http-kernel/Kernel.php:202 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
$catch: true
}
}
/home/infostatmut/validation_resto_new/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
› $response->send();
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
}
}
/home/infostatmut/validation_resto_new/vendor/autoload_runtime.php:29 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/home/infostatmut/validation_resto_new/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/home/infostatmut/validation_resto_new/vendor/autoload_runtime.php"
}
}
}
} |