01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\ParameterBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\ParameterBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#11649
#message : "Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php "
#line : 134
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:134 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:17 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:22 {
class_exists(string $class, bool $autoload = true): bool …
› // Help opcache.preload discover always-needed symbols
› class_exists(AttributeBag::class);
› class_exists(FlashBag::class);
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:134 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:17 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:22 {
class_exists(string $class, bool $autoload = true): bool …
› // Help opcache.preload discover always-needed symbols
› class_exists(AttributeBag::class);
› class_exists(FlashBag::class);
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#12080
#message : "Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php "
#line : 144
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:144 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:17 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:22 {
class_exists(string $class, bool $autoload = true): bool …
› // Help opcache.preload discover always-needed symbols
› class_exists(AttributeBag::class);
› class_exists(FlashBag::class);
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:144 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/http-foundation/ Session/Attribute/AttributeBag.php:17 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:22 {
class_exists(string $class, bool $autoload = true): bool …
› // Help opcache.preload discover always-needed symbols
› class_exists(AttributeBag::class);
› class_exists(FlashBag::class);
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#7067
#message : "Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/http-foundation/ Session/Session.php "
#line : 131
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/http-foundation/ Session/Session.php:131 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:30 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class Session implements SessionInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/http-foundation/ Session/Session.php:131 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:30 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class Session implements SessionInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#7246
#message : "Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/http-foundation/ Session/Session.php "
#line : 141
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/http-foundation/ Session/Session.php:141 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:30 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class Session implements SessionInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/http-foundation/ Session/Session.php:141 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/http-foundation/ Session/Session.php:30 {
class_exists(string $class, bool $autoload = true): bool …
› */
› class Session implements SessionInterface, \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/config/ Resource/ClassExistenceResource.php:81 {
Symfony\Component\Config\Resource \ ClassExistenceResource->isFresh(int $timestamp): bool …
› try {
› $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
› } catch (\Exception $e) {
}
/app/vendor /symfony/dependency-injection/ ContainerBuilder.php:348 {
Symfony\Component\DependencyInjection \ ContainerBuilder->getReflectionClass(?string $class, bool $throw = true): ?ReflectionClass …
› $resource = new ClassExistenceResource($class, false);
› $classReflector = $resource->isFresh(0) ? false : new \ReflectionClass($class);
› } else {
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:337 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableType(ContainerBuilder $container, string $id, Definition $definition) …
›
› if ('' === $id || '.' === $id[0] || $definition->isDeprecated() || !$reflectionClass = $container->getReflectionClass($definition->getClass(), false)) {
› return;
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:323 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->populateAvailableTypes(ContainerBuilder $container) …
› foreach ($container->getDefinitions() as $id => $definition) {
› $this->populateAvailableType($container, $id, $definition);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:433 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeAlternatives(ContainerBuilder $container, TypedReference $reference): string …
› if (null === $this->ambiguousServiceTypes) {
› $this->populateAvailableTypes($container);
› }
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:407 {
Symfony\Component\DependencyInjection\Compiler \ AutowirePass->createTypeNotFoundMessage(TypedReference $reference, string $label, string $currentId): string …
› } else {
› $alternatives = $this->createTypeAlternatives($this->container, $reference);
› $message = $this->container->has($type) ? 'this service is abstract' : 'no such service exists';
}
/app/vendor /symfony/dependency-injection/ Compiler/AutowirePass.php:388 {
Symfony\Component\DependencyInjection\Compiler\AutowirePass->Symfony\Component\DependencyInjection\Compiler \ {closure} …
› return (function () use ($reference, $label, $currentId) {
› return $this->createTypeNotFoundMessage($reference, $label, $currentId);
› })->bindTo($this->typesClone);
}
/app/vendor /symfony/dependency-injection/ Definition.php:909 {
Symfony\Component\DependencyInjection \ Definition->getErrors() …
› if ($error instanceof \Closure) {
› $this->errors[$i] = (string) $error();
› } elseif (!\is_string($error)) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:869 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addService(string $id, Definition $definition): array …
›
› if ($definition->hasErrors() && $e = $definition->getErrors()) {
› $this->addThrow = true;
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:1086 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->addServices(array &$services = null): string …
› if (!$definition->isSynthetic()) {
› $services[$id] = $this->addService($id, $definition);
› } elseif ($definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1])) {
}
/app/vendor /symfony/dependency-injection/ Dumper/PhpDumper.php:223 {
Symfony\Component\DependencyInjection\Dumper \ PhpDumper->dump(array $options = []) …
› $this->startClass($options['class'], $baseClass).
› $this->addServices($services).
› $this->addDeprecatedAliases().
}
/app/vendor /symfony/http-kernel/ Kernel.php:721 {
Symfony\Component\HttpKernel \ Kernel->dumpContainer(ConfigCache $cache, ContainerBuilder $container, string $class, string $baseClass) …
›
› $content = $dumper->dump([
› 'class' => $class,
}
/app/vendor /symfony/http-kernel/ Kernel.php:551 {
Symfony\Component\HttpKernel \ Kernel->initializeContainer() …
›
› $this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:780 {
Symfony\Component\HttpKernel \ Kernel->preBoot(): ContainerInterface …
› $this->initializeBundles();
› $this->initializeContainer();
›
}
/app/vendor /symfony/http-kernel/ Kernel.php:183 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› if (!$this->booted) {
› $container = $this->container ?? $this->preBoot();
›
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#8821
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/EventListener/AddFormatListener.php "
#line : 53
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/EventListener/AddFormatListener.php:53 {
ApiPlatform\Symfony\EventListener \ AddFormatListener->__construct(Negotiator $negotiator, $resourceMetadataFactory, array $formats = []) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface && $resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6322 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_AddFormatService() …
› {
› return $this->privates['api_platform.listener.request.add_format'] = new \ApiPlatform\Symfony\EventListener\AddFormatListener(new \Negotiation\Negotiator(), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), $this->parameters['api_platform.formats']);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2382 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.add_format'] ?? $this->getApiPlatform_Listener_Request_AddFormatService());
› }, 1 => 'onKernelRequest'], 28);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/EventListener/AddFormatListener.php:53 {
ApiPlatform\Symfony\EventListener \ AddFormatListener->__construct(Negotiator $negotiator, $resourceMetadataFactory, array $formats = []) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface && $resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6322 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_AddFormatService() …
› {
› return $this->privates['api_platform.listener.request.add_format'] = new \ApiPlatform\Symfony\EventListener\AddFormatListener(new \Negotiation\Negotiator(), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), $this->parameters['api_platform.formats']);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2382 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.add_format'] ?? $this->getApiPlatform_Listener_Request_AddFormatService());
› }, 1 => 'onKernelRequest'], 28);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#3351
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/EventListener/QueryParameterValidateListener.php "
#line : 52
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/EventListener/QueryParameterValidateListener.php:52 {
ApiPlatform\Symfony\EventListener \ QueryParameterValidateListener->__construct($resourceMetadataFactory, $queryParameterValidator, bool $enabled = true) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› } else {
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6388 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_ValidateQueryParametersService() …
› {
› return $this->privates['api_platform.listener.view.validate_query_parameters'] = new \ApiPlatform\Symfony\EventListener\QueryParameterValidateListener(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), new \ApiPlatform\Core\Filter\QueryParameterValidator(($this->privates['api_platform.filter_locator'] ?? $this->getApiPlatform_FilterLocatorService())), true);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2418 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.view.validate_query_parameters'] ?? $this->getApiPlatform_Listener_View_ValidateQueryParametersService());
› }, 1 => 'onKernelRequest'], 16);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/EventListener/QueryParameterValidateListener.php:52 {
ApiPlatform\Symfony\EventListener \ QueryParameterValidateListener->__construct($resourceMetadataFactory, $queryParameterValidator, bool $enabled = true) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› } else {
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6388 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_ValidateQueryParametersService() …
› {
› return $this->privates['api_platform.listener.view.validate_query_parameters'] = new \ApiPlatform\Symfony\EventListener\QueryParameterValidateListener(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), new \ApiPlatform\Core\Filter\QueryParameterValidator(($this->privates['api_platform.filter_locator'] ?? $this->getApiPlatform_FilterLocatorService())), true);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2418 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.view.validate_query_parameters'] ?? $this->getApiPlatform_Listener_View_ValidateQueryParametersService());
› }, 1 => 'onKernelRequest'], 16);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#12811
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Serializer/SerializerContextBuilder.php "
#line : 41
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Serializer/SerializerContextBuilder.php:41 {
ApiPlatform\Serializer \ SerializerContextBuilder->__construct($resourceMetadataFactory) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6665 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Serializer_ContextBuilder_FilterService() …
›
› return $this->privates['api_platform.serializer.context_builder.filter'] = new \ApiPlatform\Serializer\SerializerFilterContextBuilder($a, ($this->privates['api_platform.filter_locator'] ?? $this->getApiPlatform_FilterLocatorService()), new \ApiPlatform\Serializer\SerializerContextBuilder($a));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Serializer/SerializerContextBuilder.php:41 {
ApiPlatform\Serializer \ SerializerContextBuilder->__construct($resourceMetadataFactory) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6665 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Serializer_ContextBuilder_FilterService() …
›
› return $this->privates['api_platform.serializer.context_builder.filter'] = new \ApiPlatform\Serializer\SerializerFilterContextBuilder($a, ($this->privates['api_platform.filter_locator'] ?? $this->getApiPlatform_FilterLocatorService()), new \ApiPlatform\Serializer\SerializerContextBuilder($a));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#12887
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Serializer/SerializerFilterContextBuilder.php "
#line : 40
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Serializer/SerializerFilterContextBuilder.php:40 {
ApiPlatform\Serializer \ SerializerFilterContextBuilder->__construct($resourceMetadataFactory, ContainerInterface $filterLocator, SerializerContextBuilderInterface $decorated) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6665 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Serializer_ContextBuilder_FilterService() …
›
› return $this->privates['api_platform.serializer.context_builder.filter'] = new \ApiPlatform\Serializer\SerializerFilterContextBuilder($a, ($this->privates['api_platform.filter_locator'] ?? $this->getApiPlatform_FilterLocatorService()), new \ApiPlatform\Serializer\SerializerContextBuilder($a));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Serializer/SerializerFilterContextBuilder.php:40 {
ApiPlatform\Serializer \ SerializerFilterContextBuilder->__construct($resourceMetadataFactory, ContainerInterface $filterLocator, SerializerContextBuilderInterface $decorated) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6665 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Serializer_ContextBuilder_FilterService() …
›
› return $this->privates['api_platform.serializer.context_builder.filter'] = new \ApiPlatform\Serializer\SerializerFilterContextBuilder($a, ($this->privates['api_platform.filter_locator'] ?? $this->getApiPlatform_FilterLocatorService()), new \ApiPlatform\Serializer\SerializerContextBuilder($a));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Api\IdentifiersExtractor " is deprecated, use ApiPlatform\Api\IdentifiersExtractor instead.
[
"exception " => ErrorException {#11532
#message : "User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Api\IdentifiersExtractor" is deprecated, use ApiPlatform\Api\IdentifiersExtractor instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php "
#line : 49
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:49 {
ApiPlatform\Core\Api \ IdentifiersExtractor->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, PropertyAccessorInterface $propertyAccessor = null, ResourceClassResolverInterface $resourceClassResolver = null, bool $metadataBackwardCompatibilityLayer = null) …
› if ($metadataBackwardCompatibilityLayer) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('The service "%s" is deprecated, use %s instead.', self::class, NewIdentifiersExtractor::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6224 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_IdentifiersExtractor_CachedService() …
›
› return $this->privates['api_platform.identifiers_extractor.cached'] = new \ApiPlatform\Core\Api\CachedIdentifiersExtractor(($this->privates['api_platform.cache.identifiers_extractor'] ?? $this->getApiPlatform_Cache_IdentifiersExtractorService()), new \ApiPlatform\Core\Api\IdentifiersExtractor(($this->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), $a, $b, true), $a, $b);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6208 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Identifier_ConverterService() …
› {
› return $this->privates['api_platform.identifier.converter'] = new \ApiPlatform\Core\Identifier\IdentifierConverter(($this->privates['api_platform.identifiers_extractor.cached'] ?? $this->getApiPlatform_IdentifiersExtractor_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.identifier.integer'] ?? ($this->privates['api_platform.identifier.integer'] = new \ApiPlatform\Core\Identifier\Normalizer\IntegerDenormalizer()));
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:49 {
ApiPlatform\Core\Api \ IdentifiersExtractor->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, PropertyAccessorInterface $propertyAccessor = null, ResourceClassResolverInterface $resourceClassResolver = null, bool $metadataBackwardCompatibilityLayer = null) …
› if ($metadataBackwardCompatibilityLayer) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('The service "%s" is deprecated, use %s instead.', self::class, NewIdentifiersExtractor::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6224 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_IdentifiersExtractor_CachedService() …
›
› return $this->privates['api_platform.identifiers_extractor.cached'] = new \ApiPlatform\Core\Api\CachedIdentifiersExtractor(($this->privates['api_platform.cache.identifiers_extractor'] ?? $this->getApiPlatform_Cache_IdentifiersExtractorService()), new \ApiPlatform\Core\Api\IdentifiersExtractor(($this->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), $a, $b, true), $a, $b);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6208 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Identifier_ConverterService() …
› {
› return $this->privates['api_platform.identifier.converter'] = new \ApiPlatform\Core\Identifier\IdentifierConverter(($this->privates['api_platform.identifiers_extractor.cached'] ?? $this->getApiPlatform_IdentifiersExtractor_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.identifier.integer'] ?? ($this->privates['api_platform.identifier.integer'] = new \ApiPlatform\Core\Identifier\Normalizer\IntegerDenormalizer()));
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\ReadListener " is deprecated and will be replaced by "ApiPlatform\Symfony\EventListener\ReadListener " in 3.0.
[
"exception " => ErrorException {#12706
#message : "User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\ReadListener" is deprecated and will be replaced by "ApiPlatform\Symfony\EventListener\ReadListener" in 3.0. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/EventListener/ReadListener.php "
#line : 66
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/EventListener/ReadListener.php:66 {
ApiPlatform\Core\EventListener \ ReadListener->__construct(CollectionDataProviderInterface $collectionDataProvider, ItemDataProviderInterface $itemDataProvider, SubresourceDataProviderInterface $subresourceDataProvider = null, SerializerContextBuilderInterface $serializerContextBuilder = null, IdentifierConverterInterface $identifierConverter = null, ResourceMetadataFactoryInterface $resourceMetadataFactory = null, ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, bool $metadataBackwardCompatibilityLayer = null) …
› if ($metadataBackwardCompatibilityLayer || null === $metadataBackwardCompatibilityLayer) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('The listener "%s" is deprecated and will be replaced by "%s" in 3.0.', __CLASS__, SymfonyReadListener::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/EventListener/ReadListener.php:66 {
ApiPlatform\Core\EventListener \ ReadListener->__construct(CollectionDataProviderInterface $collectionDataProvider, ItemDataProviderInterface $itemDataProvider, SubresourceDataProviderInterface $subresourceDataProvider = null, SerializerContextBuilderInterface $serializerContextBuilder = null, IdentifierConverterInterface $identifierConverter = null, ResourceMetadataFactoryInterface $resourceMetadataFactory = null, ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, bool $metadataBackwardCompatibilityLayer = null) …
› if ($metadataBackwardCompatibilityLayer || null === $metadataBackwardCompatibilityLayer) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('The listener "%s" is deprecated and will be replaced by "%s" in 3.0.', __CLASS__, SymfonyReadListener::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6342 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_Read_LegacyService() …
› {
› return $this->privates['api_platform.listener.request.read.legacy'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2403 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read.legacy'] ?? $this->getApiPlatform_Listener_Request_Read_LegacyService());
› }, 1 => 'onKernelRequest'], 4);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in "ApiPlatform\Symfony\Security\ResourceAccessChecker::__construct() " is deprecated and will always be false in 3.0, you should stop using it.
[
"exception " => ErrorException {#7552
#message : "User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in "ApiPlatform\Symfony\Security\ResourceAccessChecker::__construct()" is deprecated and will always be false in 3.0, you should stop using it. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/Security/ResourceAccessChecker.php "
#line : 49
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/Security/ResourceAccessChecker.php:49 {
ApiPlatform\Symfony\Security \ ResourceAccessChecker->__construct(ExpressionLanguage $expressionLanguage = null, AuthenticationTrustResolverInterface $authenticationTrustResolver = null, RoleHierarchyInterface $roleHierarchy = null, TokenStorageInterface $tokenStorage = null, AuthorizationCheckerInterface $authorizationChecker = null, bool $exceptionOnNoToken = true) …
› $this->exceptionOnNoToken = $exceptionOnNoToken;
› trigger_deprecation('api-platform/core', '2.7', 'The $exceptionOnNoToken parameter in "%s()" is deprecated and will always be false in 3.0, you should stop using it.', __METHOD__);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6653 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Security_ResourceAccessCheckerService() …
› {
› return $this->privates['api_platform.security.resource_access_checker'] = new \ApiPlatform\Symfony\Security\ResourceAccessChecker(($this->privates['security.expression_language'] ?? $this->getSecurity_ExpressionLanguageService()), ($this->privates['security.authentication.trust_resolver'] ?? ($this->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), ($this->privates['security.role_hierarchy'] ?? $this->getSecurity_RoleHierarchyService()), ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->services['security.authorization_checker'] ?? $this->getSecurity_AuthorizationCheckerService()), false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6643 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Security_Listener_Request_DenyAccessService() …
› {
› return $this->privates['api_platform.security.listener.request.deny_access'] = new \ApiPlatform\Symfony\EventListener\DenyAccessListener(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.security.resource_access_checker'] ?? $this->getApiPlatform_Security_ResourceAccessCheckerService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2421 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.security.listener.request.deny_access'] ?? $this->getApiPlatform_Security_Listener_Request_DenyAccessService());
› }, 1 => 'onSecurity'], 3);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/Security/ResourceAccessChecker.php:49 {
ApiPlatform\Symfony\Security \ ResourceAccessChecker->__construct(ExpressionLanguage $expressionLanguage = null, AuthenticationTrustResolverInterface $authenticationTrustResolver = null, RoleHierarchyInterface $roleHierarchy = null, TokenStorageInterface $tokenStorage = null, AuthorizationCheckerInterface $authorizationChecker = null, bool $exceptionOnNoToken = true) …
› $this->exceptionOnNoToken = $exceptionOnNoToken;
› trigger_deprecation('api-platform/core', '2.7', 'The $exceptionOnNoToken parameter in "%s()" is deprecated and will always be false in 3.0, you should stop using it.', __METHOD__);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6653 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Security_ResourceAccessCheckerService() …
› {
› return $this->privates['api_platform.security.resource_access_checker'] = new \ApiPlatform\Symfony\Security\ResourceAccessChecker(($this->privates['security.expression_language'] ?? $this->getSecurity_ExpressionLanguageService()), ($this->privates['security.authentication.trust_resolver'] ?? ($this->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), ($this->privates['security.role_hierarchy'] ?? $this->getSecurity_RoleHierarchyService()), ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->services['security.authorization_checker'] ?? $this->getSecurity_AuthorizationCheckerService()), false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6643 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Security_Listener_Request_DenyAccessService() …
› {
› return $this->privates['api_platform.security.listener.request.deny_access'] = new \ApiPlatform\Symfony\EventListener\DenyAccessListener(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.security.resource_access_checker'] ?? $this->getApiPlatform_Security_ResourceAccessCheckerService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2421 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.security.listener.request.deny_access'] ?? $this->getApiPlatform_Security_Listener_Request_DenyAccessService());
› }, 1 => 'onSecurity'], 3);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#3477
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/JsonSchema/SchemaFactory.php "
#line : 70
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/JsonSchema/SchemaFactory.php:70 {
ApiPlatform\Core\JsonSchema \ SchemaFactory->__construct($typeFactory, $resourceMetadataFactory, $propertyNameCollectionFactory, $propertyMetadataFactory, NameConverterInterface $nameConverter = null, ResourceClassResolverInterface $resourceClassResolver = null) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6188 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService() …
›
› return $this->privates['api_platform.hydra.json_schema.schema_factory'] = new \ApiPlatform\Core\Hydra\JsonSchema\SchemaFactory(new \ApiPlatform\Core\JsonSchema\SchemaFactory($a, ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), ($this->privates['serializer.name_converter.metadata_aware'] ?? $this->getSerializer_NameConverter_MetadataAwareService()), ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService())));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6273 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_JsonSchema_TypeFactoryService() …
›
› $instance->setSchemaFactory(($this->privates['api_platform.hydra.json_schema.schema_factory'] ?? $this->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService()));
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6182 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService() …
› {
› $a = ($this->privates['api_platform.json_schema.type_factory'] ?? $this->getApiPlatform_JsonSchema_TypeFactoryService());
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:782 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› $m = new \ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer(new \ApiPlatform\Core\Swagger\Serializer\DocumentationNormalizer($h, $i, $j, ($this->privates['api_platform.hydra.json_schema.schema_factory'] ?? $this->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService()), ($this->privates['api_platform.json_schema.type_factory'] ?? $this->getApiPlatform_JsonSchema_TypeFactoryService()), ($this->privates['api_platform.operation_path_resolver.router'] ?? $this->getApiPlatform_OperationPathResolver_RouterService()), NULL, $k, NULL, false, 'oauth2', 'application', '/oauth/v2/token', '/oauth/v2/auth', [], $this->parameters['api_platform.swagger.api_keys'], ($this->privates['api_platform.subresource_operation_factory.cached'] ?? $this->getApiPlatform_SubresourceOperationFactory_CachedService()), true, 'page', true, 'itemsPerPage', $this->parameters['api_platform.formats'], true, 'pagination', [], $this->parameters['api_platform.swagger.versions'], $l, NULL, true, $f));
› $n = ($this->privates['api_platform.router'] ?? $this->getApiPlatform_RouterService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/JsonSchema/SchemaFactory.php:70 {
ApiPlatform\Core\JsonSchema \ SchemaFactory->__construct($typeFactory, $resourceMetadataFactory, $propertyNameCollectionFactory, $propertyMetadataFactory, NameConverterInterface $nameConverter = null, ResourceClassResolverInterface $resourceClassResolver = null) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6188 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService() …
›
› return $this->privates['api_platform.hydra.json_schema.schema_factory'] = new \ApiPlatform\Core\Hydra\JsonSchema\SchemaFactory(new \ApiPlatform\Core\JsonSchema\SchemaFactory($a, ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), ($this->privates['serializer.name_converter.metadata_aware'] ?? $this->getSerializer_NameConverter_MetadataAwareService()), ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService())));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6273 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_JsonSchema_TypeFactoryService() …
›
› $instance->setSchemaFactory(($this->privates['api_platform.hydra.json_schema.schema_factory'] ?? $this->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService()));
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6182 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService() …
› {
› $a = ($this->privates['api_platform.json_schema.type_factory'] ?? $this->getApiPlatform_JsonSchema_TypeFactoryService());
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:782 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› $m = new \ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer(new \ApiPlatform\Core\Swagger\Serializer\DocumentationNormalizer($h, $i, $j, ($this->privates['api_platform.hydra.json_schema.schema_factory'] ?? $this->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService()), ($this->privates['api_platform.json_schema.type_factory'] ?? $this->getApiPlatform_JsonSchema_TypeFactoryService()), ($this->privates['api_platform.operation_path_resolver.router'] ?? $this->getApiPlatform_OperationPathResolver_RouterService()), NULL, $k, NULL, false, 'oauth2', 'application', '/oauth/v2/token', '/oauth/v2/auth', [], $this->parameters['api_platform.swagger.api_keys'], ($this->privates['api_platform.subresource_operation_factory.cached'] ?? $this->getApiPlatform_SubresourceOperationFactory_CachedService()), true, 'page', true, 'itemsPerPage', $this->parameters['api_platform.formats'], true, 'pagination', [], $this->parameters['api_platform.swagger.versions'], $l, NULL, true, $f));
› $n = ($this->privates['api_platform.router'] ?? $this->getApiPlatform_RouterService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#7689
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Swagger/Serializer/DocumentationNormalizer.php "
#line : 170
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Swagger/Serializer/DocumentationNormalizer.php:170 {
ApiPlatform\Core\Swagger\Serializer \ DocumentationNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, $jsonSchemaFactory = null, $jsonSchemaTypeFactory = null, OperationPathResolverInterface $operationPathResolver = null, UrlGeneratorInterface $urlGenerator = null, $filterLocator = null, NameConverterInterface $nameConverter = null, bool $oauthEnabled = false, string $oauthType = '', string $oauthFlow = '', string $oauthTokenUrl = '', string $oauthAuthorizationUrl = '', array $oauthScopes = [], array $apiKeys = [], SubresourceOperationFactoryInterface $subresourceOperationFactory = null, bool $paginationEnabled = true, string $paginationPageParameterName = 'page', bool $clientItemsPerPage = false, string $itemsPerPageParameterName = '…12', $formats = [], bool $paginationClientEnabled = false, string $paginationClientEnabledParameterName = '…10', array $defaultContext = [], array $swaggerVersions = […2], IdentifiersExtractorInterface $identifiersExtractor = null, NormalizerInterface $openApiNormalizer = null, bool $legacyMode = false) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:782 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› $m = new \ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer(new \ApiPlatform\Core\Swagger\Serializer\DocumentationNormalizer($h, $i, $j, ($this->privates['api_platform.hydra.json_schema.schema_factory'] ?? $this->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService()), ($this->privates['api_platform.json_schema.type_factory'] ?? $this->getApiPlatform_JsonSchema_TypeFactoryService()), ($this->privates['api_platform.operation_path_resolver.router'] ?? $this->getApiPlatform_OperationPathResolver_RouterService()), NULL, $k, NULL, false, 'oauth2', 'application', '/oauth/v2/token', '/oauth/v2/auth', [], $this->parameters['api_platform.swagger.api_keys'], ($this->privates['api_platform.subresource_operation_factory.cached'] ?? $this->getApiPlatform_SubresourceOperationFactory_CachedService()), true, 'page', true, 'itemsPerPage', $this->parameters['api_platform.formats'], true, 'pagination', [], $this->parameters['api_platform.swagger.versions'], $l, NULL, true, $f));
› $n = ($this->privates['api_platform.router'] ?? $this->getApiPlatform_RouterService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Swagger/Serializer/DocumentationNormalizer.php:170 {
ApiPlatform\Core\Swagger\Serializer \ DocumentationNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, $jsonSchemaFactory = null, $jsonSchemaTypeFactory = null, OperationPathResolverInterface $operationPathResolver = null, UrlGeneratorInterface $urlGenerator = null, $filterLocator = null, NameConverterInterface $nameConverter = null, bool $oauthEnabled = false, string $oauthType = '', string $oauthFlow = '', string $oauthTokenUrl = '', string $oauthAuthorizationUrl = '', array $oauthScopes = [], array $apiKeys = [], SubresourceOperationFactoryInterface $subresourceOperationFactory = null, bool $paginationEnabled = true, string $paginationPageParameterName = 'page', bool $clientItemsPerPage = false, string $itemsPerPageParameterName = '…12', $formats = [], bool $paginationClientEnabled = false, string $paginationClientEnabledParameterName = '…10', array $defaultContext = [], array $swaggerVersions = […2], IdentifiersExtractorInterface $identifiersExtractor = null, NormalizerInterface $openApiNormalizer = null, bool $legacyMode = false) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:782 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› $m = new \ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer(new \ApiPlatform\Core\Swagger\Serializer\DocumentationNormalizer($h, $i, $j, ($this->privates['api_platform.hydra.json_schema.schema_factory'] ?? $this->getApiPlatform_Hydra_JsonSchema_SchemaFactoryService()), ($this->privates['api_platform.json_schema.type_factory'] ?? $this->getApiPlatform_JsonSchema_TypeFactoryService()), ($this->privates['api_platform.operation_path_resolver.router'] ?? $this->getApiPlatform_OperationPathResolver_RouterService()), NULL, $k, NULL, false, 'oauth2', 'application', '/oauth/v2/token', '/oauth/v2/auth', [], $this->parameters['api_platform.swagger.api_keys'], ($this->privates['api_platform.subresource_operation_factory.cached'] ?? $this->getApiPlatform_SubresourceOperationFactory_CachedService()), true, 'page', true, 'itemsPerPage', $this->parameters['api_platform.formats'], true, 'pagination', [], $this->parameters['api_platform.swagger.versions'], $l, NULL, true, $f));
› $n = ($this->privates['api_platform.router'] ?? $this->getApiPlatform_RouterService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Using "api_platform.iri_converter.legacy " is deprecated since API Platform 2.7. Use "ApiPlatform\Api\IriConverterInterface " instead.
[
"exception " => ErrorException {#6914
#message : "User Deprecated: Since api-platform/core 2.7: Using "api_platform.iri_converter.legacy" is deprecated since API Platform 2.7. Use "ApiPlatform\Api\IriConverterInterface" instead. "
#code : 0
#file : "/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php "
#line : 6236
#severity : E_USER_DEPRECATED
trace : {
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6236 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_IriConverter_LegacyService() …
› {
› trigger_deprecation('api-platform/core', '2.7', 'Using "api_platform.iri_converter.legacy" is deprecated since API Platform 2.7. Use "ApiPlatform\\Api\\IriConverterInterface" instead.');
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:786 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› $p = ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService());
› $q = ($this->privates['api_platform.iri_converter.legacy'] ?? $this->getApiPlatform_IriConverter_LegacyService());
› $r = ($this->privates['api_platform.jsonld.context_builder'] ?? $this->getApiPlatform_Jsonld_ContextBuilderService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6236 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_IriConverter_LegacyService() …
› {
› trigger_deprecation('api-platform/core', '2.7', 'Using "api_platform.iri_converter.legacy" is deprecated since API Platform 2.7. Use "ApiPlatform\\Api\\IriConverterInterface" instead.');
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:786 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› $p = ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService());
› $q = ($this->privates['api_platform.iri_converter.legacy'] ?? $this->getApiPlatform_IriConverter_LegacyService());
› $r = ($this->privates['api_platform.jsonld.context_builder'] ?? $this->getApiPlatform_Jsonld_ContextBuilderService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#12989
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/JsonLd/ContextBuilder.php "
#line : 76
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/JsonLd/ContextBuilder.php:76 {
ApiPlatform\JsonLd \ ContextBuilder->__construct(ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, $resourceMetadataFactory, $propertyNameCollectionFactory, $propertyMetadataFactory, UrlGeneratorInterface $urlGenerator, NameConverterInterface $nameConverter = null, IriConverterInterface $iriConverter = null) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6287 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Jsonld_ContextBuilderService() …
›
› return $this->privates['api_platform.jsonld.context_builder'] = new \ApiPlatform\JsonLd\ContextBuilder(($this->privates['api_platform.metadata.resource.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), $a, ($this->privates['serializer.name_converter.metadata_aware'] ?? $this->getSerializer_NameConverter_MetadataAwareService()), new \ApiPlatform\Symfony\Routing\SkolemIriConverter($a));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:787 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› $q = ($this->privates['api_platform.iri_converter.legacy'] ?? $this->getApiPlatform_IriConverter_LegacyService());
› $r = ($this->privates['api_platform.jsonld.context_builder'] ?? $this->getApiPlatform_Jsonld_ContextBuilderService());
› $s = ($this->privates['api_platform.serializer.mapping.class_metadata_factory'] ?? $this->getApiPlatform_Serializer_Mapping_ClassMetadataFactoryService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/JsonLd/ContextBuilder.php:76 {
ApiPlatform\JsonLd \ ContextBuilder->__construct(ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, $resourceMetadataFactory, $propertyNameCollectionFactory, $propertyMetadataFactory, UrlGeneratorInterface $urlGenerator, NameConverterInterface $nameConverter = null, IriConverterInterface $iriConverter = null) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6287 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Jsonld_ContextBuilderService() …
›
› return $this->privates['api_platform.jsonld.context_builder'] = new \ApiPlatform\JsonLd\ContextBuilder(($this->privates['api_platform.metadata.resource.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.property.metadata_factory.cached.legacy'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_Cached_LegacyService()), $a, ($this->privates['serializer.name_converter.metadata_aware'] ?? $this->getSerializer_NameConverter_MetadataAwareService()), new \ApiPlatform\Symfony\Routing\SkolemIriConverter($a));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:787 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› $q = ($this->privates['api_platform.iri_converter.legacy'] ?? $this->getApiPlatform_IriConverter_LegacyService());
› $r = ($this->privates['api_platform.jsonld.context_builder'] ?? $this->getApiPlatform_Jsonld_ContextBuilderService());
› $s = ($this->privates['api_platform.serializer.mapping.class_metadata_factory'] ?? $this->getApiPlatform_Serializer_Mapping_ClassMetadataFactoryService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#11156
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Hydra/Serializer/DocumentationNormalizer.php "
#line : 77
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Hydra/Serializer/DocumentationNormalizer.php:77 {
ApiPlatform\Hydra\Serializer \ DocumentationNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, ResourceClassResolverInterface $resourceClassResolver, ?OperationMethodResolverInterface $operationMethodResolver, UrlGeneratorInterface $urlGenerator, SubresourceOperationFactoryInterface $subresourceOperationFactory = null, NameConverterInterface $nameConverter = null) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Hydra/Serializer/DocumentationNormalizer.php:77 {
ApiPlatform\Hydra\Serializer \ DocumentationNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, ResourceClassResolverInterface $resourceClassResolver, ?OperationMethodResolverInterface $operationMethodResolver, UrlGeneratorInterface $urlGenerator, SubresourceOperationFactoryInterface $subresourceOperationFactory = null, NameConverterInterface $nameConverter = null) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface " instead of "ApiPlatform\Core\Api\IriConverterInterface ".
[
"exception " => ErrorException {#4572
#message : "User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Hydra/Serializer/EntrypointNormalizer.php "
#line : 46
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Hydra/Serializer/EntrypointNormalizer.php:46 {
ApiPlatform\Hydra\Serializer \ EntrypointNormalizer->__construct($resourceMetadataFactory, $iriConverter, UrlGeneratorInterface $urlGenerator) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Hydra/Serializer/EntrypointNormalizer.php:46 {
ApiPlatform\Hydra\Serializer \ EntrypointNormalizer->__construct($resourceMetadataFactory, $iriConverter, UrlGeneratorInterface $urlGenerator) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#11435
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Hydra/Serializer/EntrypointNormalizer.php "
#line : 51
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Hydra/Serializer/EntrypointNormalizer.php:51 {
ApiPlatform\Hydra\Serializer \ EntrypointNormalizer->__construct($resourceMetadataFactory, $iriConverter, UrlGeneratorInterface $urlGenerator) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Hydra/Serializer/EntrypointNormalizer.php:51 {
ApiPlatform\Hydra\Serializer \ EntrypointNormalizer->__construct($resourceMetadataFactory, $iriConverter, UrlGeneratorInterface $urlGenerator) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php (3 times)
User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface " instead of "ApiPlatform\Core\Api\IriConverterInterface ".
[
"exception " => ErrorException {#9083
#message : "User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php "
#line : 107
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php:107 {
ApiPlatform\Serializer \ AbstractItemNormalizer->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [], iterable $dataTransformers = [], $resourceMetadataFactory = null, ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:52 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› {
› parent::__construct($propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, $propertyAccessor, $nameConverter, $classMetadataFactory, null, false, $defaultContext, $dataTransformers, $resourceMetadataFactory, $resourceAccessChecker);
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php:107 {
ApiPlatform\Serializer \ AbstractItemNormalizer->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [], iterable $dataTransformers = [], $resourceMetadataFactory = null, ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:52 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› {
› parent::__construct($propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, $propertyAccessor, $nameConverter, $classMetadataFactory, null, false, $defaultContext, $dataTransformers, $resourceMetadataFactory, $resourceAccessChecker);
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#12056
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Messenger/DataTransformer.php "
#line : 42
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Messenger/DataTransformer.php:42 {
ApiPlatform\Core\Bridge\Symfony\Messenger \ DataTransformer->__construct($resourceMetadataFactory) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6426 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Messenger_DataTransformerService() …
›
› return $this->privates['api_platform.messenger.data_transformer'] = new \ApiPlatform\Core\Bridge\Symfony\Messenger\DataTransformer(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:795 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $t), 21 => new \ApiPlatform\Core\GraphQl\Serializer\ItemNormalizer($i, $j, $q, $l, $p, $a, $o, $s, $u, false, NULL, new RewindableGenerator(function () {
}
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure}() {}
/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php:123 {
ApiPlatform\Serializer \ AbstractItemNormalizer->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [], iterable $dataTransformers = [], $resourceMetadataFactory = null, ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› // Just skip our data transformer to trigger a proper deprecation
› $customDataTransformers = array_filter(\is_array($dataTransformers) ? $dataTransformers : iterator_to_array($dataTransformers), function ($dataTransformer) {
› return !$dataTransformer instanceof MessengerDataTransformer;
}
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:52 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› {
› parent::__construct($propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, $propertyAccessor, $nameConverter, $classMetadataFactory, null, false, $defaultContext, $dataTransformers, $resourceMetadataFactory, $resourceAccessChecker);
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Messenger/DataTransformer.php:42 {
ApiPlatform\Core\Bridge\Symfony\Messenger \ DataTransformer->__construct($resourceMetadataFactory) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6426 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Messenger_DataTransformerService() …
›
› return $this->privates['api_platform.messenger.data_transformer'] = new \ApiPlatform\Core\Bridge\Symfony\Messenger\DataTransformer(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:795 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $t), 21 => new \ApiPlatform\Core\GraphQl\Serializer\ItemNormalizer($i, $j, $q, $l, $p, $a, $o, $s, $u, false, NULL, new RewindableGenerator(function () {
}
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure}() {}
/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php:123 {
ApiPlatform\Serializer \ AbstractItemNormalizer->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [], iterable $dataTransformers = [], $resourceMetadataFactory = null, ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› // Just skip our data transformer to trigger a proper deprecation
› $customDataTransformers = array_filter(\is_array($dataTransformers) ? $dataTransformers : iterator_to_array($dataTransformers), function ($dataTransformer) {
› return !$dataTransformer instanceof MessengerDataTransformer;
}
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:52 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› {
› parent::__construct($propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, $propertyAccessor, $nameConverter, $classMetadataFactory, null, false, $defaultContext, $dataTransformers, $resourceMetadataFactory, $resourceAccessChecker);
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php (3 times)
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#12103
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php "
#line : 132
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php:132 {
ApiPlatform\Serializer \ AbstractItemNormalizer->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [], iterable $dataTransformers = [], $resourceMetadataFactory = null, ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› if ($resourceMetadataFactory && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:52 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› {
› parent::__construct($propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, $propertyAccessor, $nameConverter, $classMetadataFactory, null, false, $defaultContext, $dataTransformers, $resourceMetadataFactory, $resourceAccessChecker);
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Serializer/AbstractItemNormalizer.php:132 {
ApiPlatform\Serializer \ AbstractItemNormalizer->__construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [], iterable $dataTransformers = [], $resourceMetadataFactory = null, ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› if ($resourceMetadataFactory && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:52 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› {
› parent::__construct($propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, $resourceClassResolver, $propertyAccessor, $nameConverter, $classMetadataFactory, null, false, $defaultContext, $dataTransformers, $resourceMetadataFactory, $resourceAccessChecker);
›
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface " instead of "ApiPlatform\Core\Api\IriConverterInterface ".
[
"exception " => ErrorException {#11804
#message : "User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php "
#line : 55
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:55 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ItemNormalizer.php:55 {
ApiPlatform\JsonLd\Serializer \ ItemNormalizer->__construct($resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, $propertyMetadataFactory, $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ContextBuilderInterface $contextBuilder, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, array $defaultContext = [], iterable $dataTransformers = [], ResourceAccessCheckerInterface $resourceAccessChecker = null) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:794 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
›
› return $this->services['.container.private.serializer'] = new \Symfony\Component\Serializer\Serializer([0 => new \Symfony\Component\Serializer\Normalizer\UnwrappingDenormalizer($a), 1 => new \App\Serializer\Normalizer\EquipmentGroupNormalizer($b, $c), 2 => new \App\Serializer\Normalizer\NetworkInstallationNormalizer($b, $c), 3 => $g, 4 => $m, 5 => new \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer($n, [], $o), 6 => new \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer([], $o), 7 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ValidationExceptionNormalizer($this->parameters['api_platform.exception_to_status']), 8 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\HttpExceptionNormalizer(), 9 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\RuntimeExceptionNormalizer(), 10 => $m, 11 => new \ApiPlatform\Core\GraphQl\Serializer\Exception\ErrorNormalizer(), 12 => $g, 13 => new \ApiPlatform\Hydra\Serializer\DocumentationNormalizer($h, $i, $j, $p, NULL, $n, NULL, $o), 14 => new \ApiPlatform\Hydra\Serializer\EntrypointNormalizer($h, $q, $n), 15 => new \ApiPlatform\Hydra\Serializer\ErrorNormalizer($n, true), 16 => new \ApiPlatform\Problem\Serializer\ErrorNormalizer(true), 17 => new \Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer(), 18 => new \Symfony\Component\Serializer\Normalizer\ProblemNormalizer(true), 19 => new \Symfony\Component\Serializer\Normalizer\UidNormalizer(), 20 => new \ApiPlatform\JsonLd\Serializer\ItemNormalizer($h, $i, $j, $q, $p, $r, $a, $o, $s, [], new RewindableGenerator(function () {
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface " instead of "ApiPlatform\Core\Api\IriConverterInterface ".
[
"exception " => ErrorException {#8559
#message : "User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Hydra/Serializer/CollectionNormalizer.php "
#line : 62
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Hydra/Serializer/CollectionNormalizer.php:62 {
ApiPlatform\Hydra\Serializer \ CollectionNormalizer->__construct(ContextBuilderInterface $contextBuilder, ResourceClassResolverInterface $resourceClassResolver, $iriConverter, ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, array $defaultContext = []) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Hydra/Serializer/CollectionNormalizer.php:62 {
ApiPlatform\Hydra\Serializer \ CollectionNormalizer->__construct(ContextBuilderInterface $contextBuilder, ResourceClassResolverInterface $resourceClassResolver, $iriConverter, ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, array $defaultContext = []) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#8570
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Hydra/Serializer/PartialCollectionViewNormalizer.php "
#line : 50
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Hydra/Serializer/PartialCollectionViewNormalizer.php:50 {
ApiPlatform\Hydra\Serializer \ PartialCollectionViewNormalizer->__construct(NormalizerInterface $collectionNormalizer, string $pageParameterName = 'page', string $enabledParameterName = '…10', $resourceMetadataFactory = null, PropertyAccessorInterface $propertyAccessor = null) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Hydra/Serializer/PartialCollectionViewNormalizer.php:50 {
ApiPlatform\Hydra\Serializer \ PartialCollectionViewNormalizer->__construct(NormalizerInterface $collectionNormalizer, string $pageParameterName = 'page', string $enabledParameterName = '…10', $resourceMetadataFactory = null, PropertyAccessorInterface $propertyAccessor = null) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#7701
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Hydra/Serializer/CollectionFiltersNormalizer.php "
#line : 53
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Hydra/Serializer/CollectionFiltersNormalizer.php:53 {
ApiPlatform\Hydra\Serializer \ CollectionFiltersNormalizer->__construct(NormalizerInterface $collectionNormalizer, $resourceMetadataFactory, $resourceClassResolver, $filterLocator) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Hydra/Serializer/CollectionFiltersNormalizer.php:53 {
ApiPlatform\Hydra\Serializer \ CollectionFiltersNormalizer->__construct(NormalizerInterface $collectionNormalizer, $resourceMetadataFactory, $resourceClassResolver, $filterLocator) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface " instead of "ApiPlatform\Core\Api\IriConverterInterface ".
[
"exception " => ErrorException {#4681
#message : "User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/JsonLd/Serializer/ObjectNormalizer.php "
#line : 44
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ObjectNormalizer.php:44 {
ApiPlatform\JsonLd\Serializer \ ObjectNormalizer->__construct(NormalizerInterface $decorated, $iriConverter, AnonymousContextBuilderInterface $anonymousContextBuilder) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/JsonLd/Serializer/ObjectNormalizer.php:44 {
ApiPlatform\JsonLd\Serializer \ ObjectNormalizer->__construct(NormalizerInterface $decorated, $iriConverter, AnonymousContextBuilderInterface $anonymousContextBuilder) …
› if ($iriConverter instanceof LegacyIriConverterInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use an implementation of "%s" instead of "%s".', IriConverterInterface::class, LegacyIriConverterInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:800 {
ContainerLWitqTI \ App_KernelDevDebugContainer->get_Container_Private_SerializerService() …
› yield 0 => ($this->privates['api_platform.messenger.data_transformer'] ?? $this->getApiPlatform_Messenger_DataTransformerService());
› }, 1), $h, $t), 23 => new \Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer(), 24 => new \Symfony\Component\Serializer\Normalizer\DateTimeNormalizer(), 25 => new \Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer([], $o), 26 => new \Symfony\Component\Serializer\Normalizer\MimeMessageNormalizer(new \Symfony\Component\Serializer\Normalizer\PropertyNormalizer($s, $o, $d, $v, NULL, [])), 27 => new \Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer(), 28 => new \Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer(), 29 => new \Symfony\Component\Serializer\Normalizer\FormErrorNormalizer(), 30 => new \Symfony\Component\Serializer\Normalizer\DataUriNormalizer(($this->privates['mime_types'] ?? $this->getMimeTypesService())), 31 => new \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer(new \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer(new \ApiPlatform\Hydra\Serializer\CollectionNormalizer($r, $p, $q, NULL), 'page', 'pagination', $h, $a), $h, $p, $k), 32 => new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), 33 => new \ApiPlatform\JsonLd\Serializer\ObjectNormalizer($w, $q, $r), 34 => new \ApiPlatform\Core\GraphQl\Serializer\ObjectNormalizer($w, $q, $l), 35 => $w], [0 => new \Symfony\Component\Serializer\Encoder\XmlEncoder(), 1 => $e, 2 => new \Symfony\Component\Serializer\Encoder\YamlEncoder(), 3 => new \Symfony\Component\Serializer\Encoder\CsvEncoder(), 4 => new \ApiPlatform\Serializer\JsonEncoder('jsonld'), 5 => new \ApiPlatform\Serializer\JsonEncoder('jsonproblem')]);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#7789
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/EventListener/DeserializeListener.php "
#line : 63
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/EventListener/DeserializeListener.php:63 {
ApiPlatform\Symfony\EventListener \ DeserializeListener->__construct(SerializerInterface $serializer, SerializerContextBuilderInterface $serializerContextBuilder, $resourceMetadataFactory) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/EventListener/DeserializeListener.php:63 {
ApiPlatform\Symfony\EventListener \ DeserializeListener->__construct(SerializerInterface $serializer, SerializerContextBuilderInterface $serializerContextBuilder, $resourceMetadataFactory) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6332 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_Request_DeserializeService() …
› {
› return $this->privates['api_platform.listener.request.deserialize'] = new \ApiPlatform\Symfony\EventListener\DeserializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2385 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.deserialize'] ?? $this->getApiPlatform_Listener_Request_DeserializeService());
› }, 1 => 'onKernelRequest'], 2);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#9449
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php "
#line : 74
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:74 {
ApiPlatform\Symfony\Routing \ ApiLoader->__construct(KernelInterface $kernel, ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, $resourceMetadataFactory, OperationPathResolverInterface $operationPathResolver, ContainerInterface $container, array $formats, array $resourceClassDirectories = [], SubresourceOperationFactoryInterface $subresourceOperationFactory = null, bool $graphqlEnabled = false, bool $entrypointEnabled = true, bool $docsEnabled = true, bool $graphiQlEnabled = false, bool $graphQlPlaygroundEnabled = false, IdentifiersExtractorInterface $identifiersExtractor = null) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2851 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getRouting_LoaderService() …
› ])));
› $a->addLoader(new \ApiPlatform\Symfony\Routing\ApiLoader($b, ($this->privates['api_platform.metadata.resource.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.operation_path_resolver.custom'] ?? $this->getApiPlatform_OperationPathResolver_CustomService()), $this, $this->parameters['api_platform.formats'], $this->parameters['api_platform.resource_class_directories'], ($this->privates['api_platform.subresource_operation_factory.cached'] ?? $this->getApiPlatform_SubresourceOperationFactory_CachedService()), true, true, true, true, true, ($this->privates['api_platform.identifiers_extractor.cached'] ?? $this->getApiPlatform_IdentifiersExtractor_CachedService())));
› $a->addLoader($d);
}
/app/vendor /symfony/dependency-injection/ Container.php:422 {
Symfony\Component\DependencyInjection \ Container->getService($registry, string $id, ?string $method, $load) …
› if (false !== $registry) {
› return $this->{$registry}[$id] ?? $this->{$registry}[$id] = $load ? $this->load($method) : $this->{$method}();
› }
}
/app/vendor /symfony/dependency-injection/ Argument/ServiceLocator.php:42 {
Symfony\Component\DependencyInjection\Argument \ ServiceLocator->get($id) …
› {
› return isset($this->serviceMap[$id]) ? ($this->factory)(...$this->serviceMap[$id]) : parent::get($id);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:74 {
ApiPlatform\Symfony\Routing \ ApiLoader->__construct(KernelInterface $kernel, ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, $resourceMetadataFactory, OperationPathResolverInterface $operationPathResolver, ContainerInterface $container, array $formats, array $resourceClassDirectories = [], SubresourceOperationFactoryInterface $subresourceOperationFactory = null, bool $graphqlEnabled = false, bool $entrypointEnabled = true, bool $docsEnabled = true, bool $graphiQlEnabled = false, bool $graphQlPlaygroundEnabled = false, IdentifiersExtractorInterface $identifiersExtractor = null) …
› if ($resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2851 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getRouting_LoaderService() …
› ])));
› $a->addLoader(new \ApiPlatform\Symfony\Routing\ApiLoader($b, ($this->privates['api_platform.metadata.resource.name_collection_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_NameCollectionFactory_CachedService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.operation_path_resolver.custom'] ?? $this->getApiPlatform_OperationPathResolver_CustomService()), $this, $this->parameters['api_platform.formats'], $this->parameters['api_platform.resource_class_directories'], ($this->privates['api_platform.subresource_operation_factory.cached'] ?? $this->getApiPlatform_SubresourceOperationFactory_CachedService()), true, true, true, true, true, ($this->privates['api_platform.identifiers_extractor.cached'] ?? $this->getApiPlatform_IdentifiersExtractor_CachedService())));
› $a->addLoader($d);
}
/app/vendor /symfony/dependency-injection/ Container.php:422 {
Symfony\Component\DependencyInjection \ Container->getService($registry, string $id, ?string $method, $load) …
› if (false !== $registry) {
› return $this->{$registry}[$id] ?? $this->{$registry}[$id] = $load ? $this->load($method) : $this->{$method}();
› }
}
/app/vendor /symfony/dependency-injection/ Argument/ServiceLocator.php:42 {
Symfony\Component\DependencyInjection\Argument \ ServiceLocator->get($id) …
› {
› return isset($this->serviceMap[$id]) ? ($this->factory)(...$this->serviceMap[$id]) : parent::get($id);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
Deprecated: Return type of Symfony\Component\Routing\RouteCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#10940
#message : "Deprecated: Return type of Symfony\Component\Routing\RouteCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/routing/ RouteCollection.php "
#line : 59
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/routing/ RouteCollection.php:59 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/routing/ RouteCollection.php:26 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› */
› class RouteCollection implements \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/routing/ RouteCollection.php:59 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/routing/ RouteCollection.php:26 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› */
› class RouteCollection implements \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
Deprecated: Return type of Symfony\Component\Routing\RouteCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#11054
#message : "Deprecated: Return type of Symfony\Component\Routing\RouteCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/routing/ RouteCollection.php "
#line : 69
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/routing/ RouteCollection.php:69 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/routing/ RouteCollection.php:26 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› */
› class RouteCollection implements \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/routing/ RouteCollection.php:69 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/routing/ RouteCollection.php:26 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› */
› class RouteCollection implements \IteratorAggregate, \Countable
› {
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since symfony/framework-bundle 5.1: Using type "Symfony\Component\Routing\RouteCollectionBuilder " for argument 1 of method "App\Kernel:configureRoutes() " is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator " instead.
[
"exception " => ErrorException {#6899
#message : "User Deprecated: Since symfony/framework-bundle 5.1: Using type "Symfony\Component\Routing\RouteCollectionBuilder" for argument 1 of method "App\Kernel:configureRoutes()" is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator" instead. "
#code : 0
#file : "/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php "
#line : 188
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:188 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› if ($configuratorClass && !is_a(RoutingConfigurator::class, $configuratorClass, true)) {
› trigger_deprecation('symfony/framework-bundle', '5.1', 'Using type "%s" for argument 1 of method "%s:configureRoutes()" is deprecated, use "%s" instead.', RouteCollectionBuilder::class, self::class, RoutingConfigurator::class);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:188 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› if ($configuratorClass && !is_a(RoutingConfigurator::class, $configuratorClass, true)) {
› trigger_deprecation('symfony/framework-bundle', '5.1', 'Using type "%s" for argument 1 of method "%s:configureRoutes()" is deprecated, use "%s" instead.', RouteCollectionBuilder::class, self::class, RoutingConfigurator::class);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php
User Deprecated: Since symfony/routing 5.1: The "Symfony\Component\Routing\RouteCollectionBuilder " class is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator " instead.
[
"exception " => ErrorException {#3123
#message : "User Deprecated: Since symfony/routing 5.1: The "Symfony\Component\Routing\RouteCollectionBuilder" class is deprecated, use "Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator" instead. "
#code : 0
#file : "/app/vendor /symfony/routing/ RouteCollectionBuilder.php "
#line : 19
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:19 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
›
› trigger_deprecation('symfony/routing', '5.1', 'The "%s" class is deprecated, use "%s" instead.', RouteCollectionBuilder::class, RoutingConfigurator::class);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:19 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
›
› trigger_deprecation('symfony/routing', '5.1', 'The "%s" class is deprecated, use "%s" instead.', RouteCollectionBuilder::class, RoutingConfigurator::class);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:54
php (8 times)
Deprecated: Creation of dynamic property Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity::$groups is deprecated
[
"exception " => ErrorException {#9383
#message : "Deprecated: Creation of dynamic property Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity::$groups is deprecated "
#code : 0
#file : "/app/vendor /symfony/validator/ Constraint.php "
#line : 189
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/validator/ Constraint.php:189 {
Symfony\Component\Validator \ Constraint->__set(string $option, $value) …
› if ('groups' === $option) {
› $this->groups = (array) $value;
›
}
/app/vendor /symfony/var-exporter/ Internal/Hydrator.php:63 {
Symfony\Component\VarExporter\Internal\Hydrator::Symfony\Component\VarExporter\Internal \ {closure} …
› foreach ($values as $i => $v) {
› $objects[$i]->$name = $v;
› }
}
/app/vendor /symfony/var-exporter/ Internal/Hydrator.php:43 {
Symfony\Component\VarExporter\Internal \ Hydrator::hydrate($objects, $values, $properties, $value, $wakeups) …
› foreach ($properties as $class => $vars) {
› (self::$hydrators[$class] ?? self::getHydrator($class))($vars, $objects);
› }
}
/app / var/cache/dev/annotations.php:12320 {
Symfony\Component\Cache\Adapter \ PhpArrayAdapter::{closure} …
› 213 => static function () {
› return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
› $o = [
}
/app/vendor /symfony/cache/ Adapter/PhpArrayAdapter.php:138 {
Symfony\Component\Cache\Adapter \ PhpArrayAdapter->getItem($key) …
› try {
› $value = $value();
› } catch (\Throwable $e) {
}
/app/vendor /doctrine/annotations/ lib/Doctrine/Common/Annotations/PsrCachedReader.php:153 {
Doctrine\Common\Annotations \ PsrCachedReader->fetchFromCache(string $cacheKey, ReflectionClass $class, string $method, Reflector $reflector): array …
›
› $item = $this->cache->getItem($cacheKey);
› if (($this->debug && ! $this->refresh($cacheKey, $class)) || ! $item->isHit()) {
}
/app/vendor /doctrine/annotations/ lib/Doctrine/Common/Annotations/PsrCachedReader.php:57 {
Doctrine\Common\Annotations \ PsrCachedReader->getClassAnnotations(ReflectionClass $class) …
›
› $annots = $this->fetchFromCache($cacheKey, $class, 'getClassAnnotations', $class);
›
}
/app/vendor /doctrine/annotations/ lib/Doctrine/Common/Annotations/PsrCachedReader.php:67 {
Doctrine\Common\Annotations \ PsrCachedReader->getClassAnnotation(ReflectionClass $class, $annotationName) …
› {
› foreach ($this->getClassAnnotations($class) as $annot) {
› if ($annot instanceof $annotationName) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Resource/Factory/AnnotationResourceNameCollectionFactory.php:59 {
ApiPlatform\Core\Metadata\Resource\Factory \ AnnotationResourceNameCollectionFactory->create(): ResourceNameCollection …
› (\PHP_VERSION_ID >= 80000 && $reflectionClass->getAttributes(ApiResource::class)) ||
› (null !== $this->reader && $this->reader->getClassAnnotation($reflectionClass, ApiResource::class))
› ) {
}
/app/vendor /api-platform/core/ src/Metadata/Resource/Factory/ExtractorResourceNameCollectionFactory.php:46 {
ApiPlatform\Metadata\Resource\Factory \ ExtractorResourceNameCollectionFactory->create(): ResourceNameCollection …
› if ($this->decorated) {
› foreach ($this->decorated->create() as $resourceClass) {
› $classes[$resourceClass] = true;
}
/app/vendor /api-platform/core/ src/Metadata/Resource/Factory/CachedResourceNameCollectionFactory.php:45 {
ApiPlatform\Metadata\Resource\Factory\CachedResourceNameCollectionFactory->ApiPlatform\Metadata\Resource\Factory \ {closure} …
› return $this->getCached(self::CACHE_KEY, function () {
› return $this->decorated->create();
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Metadata\Resource\Factory \ CachedResourceNameCollectionFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Metadata/Resource/Factory/CachedResourceNameCollectionFactory.php:44 {
ApiPlatform\Metadata\Resource\Factory \ CachedResourceNameCollectionFactory->create(): ResourceNameCollection …
› {
› return $this->getCached(self::CACHE_KEY, function () {
› return $this->decorated->create();
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:101 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadExternalFiles($routeCollection);
› foreach ($this->resourceNameCollectionFactory->create() as $resourceClass) {
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/validator/ Constraint.php:189 {
Symfony\Component\Validator \ Constraint->__set(string $option, $value) …
› if ('groups' === $option) {
› $this->groups = (array) $value;
›
}
/app/vendor /symfony/var-exporter/ Internal/Hydrator.php:63 {
Symfony\Component\VarExporter\Internal\Hydrator::Symfony\Component\VarExporter\Internal \ {closure} …
› foreach ($values as $i => $v) {
› $objects[$i]->$name = $v;
› }
}
/app/vendor /symfony/var-exporter/ Internal/Hydrator.php:43 {
Symfony\Component\VarExporter\Internal \ Hydrator::hydrate($objects, $values, $properties, $value, $wakeups) …
› foreach ($properties as $class => $vars) {
› (self::$hydrators[$class] ?? self::getHydrator($class))($vars, $objects);
› }
}
/app / var/cache/dev/annotations.php:12320 {
Symfony\Component\Cache\Adapter \ PhpArrayAdapter::{closure} …
› 213 => static function () {
› return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
› $o = [
}
/app/vendor /symfony/cache/ Adapter/PhpArrayAdapter.php:138 {
Symfony\Component\Cache\Adapter \ PhpArrayAdapter->getItem($key) …
› try {
› $value = $value();
› } catch (\Throwable $e) {
}
/app/vendor /doctrine/annotations/ lib/Doctrine/Common/Annotations/PsrCachedReader.php:153 {
Doctrine\Common\Annotations \ PsrCachedReader->fetchFromCache(string $cacheKey, ReflectionClass $class, string $method, Reflector $reflector): array …
›
› $item = $this->cache->getItem($cacheKey);
› if (($this->debug && ! $this->refresh($cacheKey, $class)) || ! $item->isHit()) {
}
/app/vendor /doctrine/annotations/ lib/Doctrine/Common/Annotations/PsrCachedReader.php:57 {
Doctrine\Common\Annotations \ PsrCachedReader->getClassAnnotations(ReflectionClass $class) …
›
› $annots = $this->fetchFromCache($cacheKey, $class, 'getClassAnnotations', $class);
›
}
/app/vendor /doctrine/annotations/ lib/Doctrine/Common/Annotations/PsrCachedReader.php:67 {
Doctrine\Common\Annotations \ PsrCachedReader->getClassAnnotation(ReflectionClass $class, $annotationName) …
› {
› foreach ($this->getClassAnnotations($class) as $annot) {
› if ($annot instanceof $annotationName) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Resource/Factory/AnnotationResourceNameCollectionFactory.php:59 {
ApiPlatform\Core\Metadata\Resource\Factory \ AnnotationResourceNameCollectionFactory->create(): ResourceNameCollection …
› (\PHP_VERSION_ID >= 80000 && $reflectionClass->getAttributes(ApiResource::class)) ||
› (null !== $this->reader && $this->reader->getClassAnnotation($reflectionClass, ApiResource::class))
› ) {
}
/app/vendor /api-platform/core/ src/Metadata/Resource/Factory/ExtractorResourceNameCollectionFactory.php:46 {
ApiPlatform\Metadata\Resource\Factory \ ExtractorResourceNameCollectionFactory->create(): ResourceNameCollection …
› if ($this->decorated) {
› foreach ($this->decorated->create() as $resourceClass) {
› $classes[$resourceClass] = true;
}
/app/vendor /api-platform/core/ src/Metadata/Resource/Factory/CachedResourceNameCollectionFactory.php:45 {
ApiPlatform\Metadata\Resource\Factory\CachedResourceNameCollectionFactory->ApiPlatform\Metadata\Resource\Factory \ {closure} …
› return $this->getCached(self::CACHE_KEY, function () {
› return $this->decorated->create();
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Metadata\Resource\Factory \ CachedResourceNameCollectionFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Metadata/Resource/Factory/CachedResourceNameCollectionFactory.php:44 {
ApiPlatform\Metadata\Resource\Factory \ CachedResourceNameCollectionFactory->create(): ResourceNameCollection …
› {
› return $this->getCached(self::CACHE_KEY, function () {
› return $this->decorated->create();
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:101 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadExternalFiles($routeCollection);
› foreach ($this->resourceNameCollectionFactory->create() as $resourceClass) {
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "pointControllers ".
[
"exception " => ErrorException {#15926
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "pointControllers". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "screens ".
[
"exception " => ErrorException {#15207
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "screens". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (6 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "points ".
[
"exception " => ErrorException {#15094
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "points". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (8 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "screenPoints ".
[
"exception " => ErrorException {#15014
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "screenPoints". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::pointControllers ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#14927
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::pointControllers". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (8 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\PointController::points ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#14428
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\PointController::points". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (6 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "shapePoints ".
[
"exception " => ErrorException {#17327
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "shapePoints". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:88 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
› $subresourceMetadata = $this->resourceMetadataFactory->create($subresourceClass);
› $subresourceMetadata = $subresourceMetadata->withAttributes(($subresourceMetadata->getAttributes() ?: []) + ['identifiers' => !$this->identifiersExtractor ? [$property] : $this->identifiersExtractor->getIdentifiersFromResourceClass($subresourceClass)]);
› $isLastItem = ($parentOperation['resource_class'] ?? null) === $resourceClass && $propertyMetadata->isIdentifier();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:88 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
› $subresourceMetadata = $this->resourceMetadataFactory->create($subresourceClass);
› $subresourceMetadata = $subresourceMetadata->withAttributes(($subresourceMetadata->getAttributes() ?: []) + ['identifiers' => !$this->identifiersExtractor ? [$property] : $this->identifiersExtractor->getIdentifiersFromResourceClass($subresourceClass)]);
› $isLastItem = ($parentOperation['resource_class'] ?? null) === $resourceClass && $propertyMetadata->isIdentifier();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (16 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Point::screenPoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#13661
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Point::screenPoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (16 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Point::shapePoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#17571
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Point::shapePoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::screens ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#14566
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::screens". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (8 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Screen::screenPoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#18611
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Screen::screenPoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::points ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#18494
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::points". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::screenPoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#18697
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\EquipmentGroup::screenPoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "equipmentGroups ".
[
"exception " => ErrorException {#6883
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "equipmentGroups". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "shapes ".
[
"exception " => ErrorException {#16747
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "shapes". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "panels ".
[
"exception " => ErrorException {#3263
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "panels". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "panelPoints ".
[
"exception " => ErrorException {#10301
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "panelPoints". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "terminalUnitGroups ".
[
"exception " => ErrorException {#6865
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "terminalUnitGroups". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "terminalUnits ".
[
"exception " => ErrorException {#1502
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "terminalUnits". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "engineeringDocuments ".
[
"exception " => ErrorException {#16565
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "engineeringDocuments". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "electricalLineItems ".
[
"exception " => ErrorException {#16007
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "electricalLineItems". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "fabricationPanels ".
[
"exception " => ErrorException {#4148
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "fabricationPanels". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "asanaGraphicsViews ".
[
"exception " => ErrorException {#1368
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "asanaGraphicsViews". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "users ".
[
"exception " => ErrorException {#6603
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "users". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:323 {
ApiPlatform\Symfony\Routing \ ApiLoader->addRoute(RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, ResourceMetadata $resourceMetadata, string $operationType): void …
› if ($resourceMetadata->getItemOperations()) {
› $operation['identifiers'] = (array) ($operation['identifiers'] ?? $resourceMetadata->getAttribute('identifiers', $this->identifiersExtractor ? $this->identifiersExtractor->getIdentifiersFromResourceClass($resourceClass) : ['id']));
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:237 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacyMetadata(RouteCollection $routeCollection, string $resourceClass) …
› foreach ($collectionOperations as $operationName => $operation) {
› $this->addRoute($routeCollection, $resourceClass, $operationName, $operation, $resourceMetadata, OperationType::COLLECTION);
› }
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:103 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› if ($this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterface) {
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::equipmentGroups ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5755
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::equipmentGroups". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::pointControllers ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5756
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::pointControllers". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::points ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5681
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::points". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::screens ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5687
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::screens". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::screenPoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5703
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::screenPoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::shapes ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5712
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::shapes". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (4 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Shape::shapePoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#3065
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\Shape::shapePoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::shapePoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#5110
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::shapePoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::panels ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#3056
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::panels". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::panelPoints ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#2393
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::panelPoints". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::terminalUnitGroups ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#9287
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::terminalUnitGroups". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::terminalUnits ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#9061
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::terminalUnits". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::engineeringDocuments ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#924
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::engineeringDocuments". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::electricalLineItems ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#927
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::electricalLineItems". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::fabricationPanels ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#10343
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::fabricationPanels". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::asanaGraphicsViews ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#12357
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::asanaGraphicsViews". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::users ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#12354
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\NetworkInstallation::users". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "facilities ".
[
"exception " => ErrorException {#10893
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "facilities". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:88 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
› $subresourceMetadata = $this->resourceMetadataFactory->create($subresourceClass);
› $subresourceMetadata = $subresourceMetadata->withAttributes(($subresourceMetadata->getAttributes() ?: []) + ['identifiers' => !$this->identifiersExtractor ? [$property] : $this->identifiersExtractor->getIdentifiersFromResourceClass($subresourceClass)]);
› $isLastItem = ($parentOperation['resource_class'] ?? null) === $resourceClass && $propertyMetadata->isIdentifier();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:88 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
› $subresourceMetadata = $this->resourceMetadataFactory->create($subresourceClass);
› $subresourceMetadata = $subresourceMetadata->withAttributes(($subresourceMetadata->getAttributes() ?: []) + ['identifiers' => !$this->identifiersExtractor ? [$property] : $this->identifiersExtractor->getIdentifiersFromResourceClass($subresourceClass)]);
› $isLastItem = ($parentOperation['resource_class'] ?? null) === $resourceClass && $propertyMetadata->isIdentifier();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (2 times)
User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "networkInstallations ".
[
"exception " => ErrorException {#16512
#message : "User Deprecated: Since api-platform/core 2.7: Declare a new resource instead of using ApiSubresource on the property "networkInstallations". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php "
#line : 65
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:88 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
› $subresourceMetadata = $this->resourceMetadataFactory->create($subresourceClass);
› $subresourceMetadata = $subresourceMetadata->withAttributes(($subresourceMetadata->getAttributes() ?: []) + ['identifiers' => !$this->identifiersExtractor ? [$property] : $this->identifiersExtractor->getIdentifiersFromResourceClass($subresourceClass)]);
› $isLastItem = ($parentOperation['resource_class'] ?? null) === $resourceClass && $propertyMetadata->isIdentifier();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.php:65 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationSubresourceMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› if ($annotation instanceof ApiSubresource) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Declare a new resource instead of using ApiSubresource on the property "%s".', $property));
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ AnnotationPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php:50 {
ApiPlatform\Core\Metadata\Property\Factory \ ExtractorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› try {
› $parentPropertyMetadata = $this->decorated->create($resourceClass, $property, $options);
› } catch (PropertyNotFoundException $propertyNotFoundException) {
}
/app/vendor /api-platform/core/ src/Core/Bridge/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php:93 {
ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property \ ValidatorPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
› {
› $propertyMetadata = $this->decorated->create($resourceClass, $property, $options);
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:47 {
ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory->ApiPlatform\Core\Metadata\Property\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php:46 {
ApiPlatform\Core\Metadata\Property\Factory \ CachedPropertyMetadataFactory->create(string $resourceClass, string $property, array $options = []): PropertyMetadata …
›
› return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) {
› return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]);
}
/app/vendor /api-platform/core/ src/Core/Api/IdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ IdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
› foreach ($properties = $this->propertyNameCollectionFactory->create($resourceClass) as $property) {
› if ($this->propertyMetadataFactory->create($resourceClass, $property)->isIdentifier() ?? false) {
› $identifiers[] = $property;
}
/app/vendor /api-platform/core/ src/Core/Api/CachedIdentifiersExtractor.php:60 {
ApiPlatform\Core\Api \ CachedIdentifiersExtractor->getIdentifiersFromResourceClass(string $resourceClass): array …
›
› return $this->localResourceCache[$resourceClass] = $this->decorated->getIdentifiersFromResourceClass($resourceClass);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:88 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
› $subresourceMetadata = $this->resourceMetadataFactory->create($subresourceClass);
› $subresourceMetadata = $subresourceMetadata->withAttributes(($subresourceMetadata->getAttributes() ?: []) + ['identifiers' => !$this->identifiersExtractor ? [$property] : $this->identifiersExtractor->getIdentifiersFromResourceClass($subresourceClass)]);
› $isLastItem = ($parentOperation['resource_class'] ?? null) === $resourceClass && $propertyMetadata->isIdentifier();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\User::facilities ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#9819
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\User::facilities". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php (3 times)
User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\User::networkInstallations ". Subresources are deprecated, use another #[ApiResource] instead.
[
"exception " => ErrorException {#9979
#message : "User Deprecated: Since api-platform/core 2.7: A subresource is declared on "App\Entity\User::networkInstallations". Subresources are deprecated, use another #[ApiResource] instead. "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php "
#line : 85
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:85 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› trigger_deprecation('api-platform/core', '2.7', sprintf('A subresource is declared on "%s::%s". Subresources are deprecated, use another #[ApiResource] instead.', $resourceClass, $property));
› $subresourceClass = $subresource->getResourceClass();
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:211 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->computeSubresourceOperations(string $resourceClass, array &$tree, string $rootResourceClass = null, array $parentOperation = null, array $visited = [], int $depth = 0, int $maxDepth = null): void …
›
› $this->computeSubresourceOperations($subresourceClass, $tree, $rootResourceClass, $operation, $visited + [$visiting => true], $depth + 1, $currentMaxDepth);
› }
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/SubresourceOperationFactory.php:56 {
ApiPlatform\Core\Operation\Factory \ SubresourceOperationFactory->create(string $resourceClass): array …
› try {
› $this->computeSubresourceOperations($resourceClass, $tree);
› } catch (ResourceClassNotFoundException $e) {
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:44 {
ApiPlatform\Core\Operation\Factory\CachedSubresourceOperationFactory->ApiPlatform\Core\Operation\Factory \ {closure} …
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
› });
}
/app/vendor /api-platform/core/ src/Util/CachedTrait.php:44 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->getCached(string $cacheKey, callable $getValue) …
›
› $value = $getValue();
›
}
/app/vendor /api-platform/core/ src/Core/Operation/Factory/CachedSubresourceOperationFactory.php:43 {
ApiPlatform\Core\Operation\Factory \ CachedSubresourceOperationFactory->create(string $resourceClass): array …
›
› return $this->getCached($cacheKey, function () use ($resourceClass) {
› return $this->decorated->create($resourceClass);
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:257 {
ApiPlatform\Symfony\Routing \ ApiLoader->loadLegacySubresources(RouteCollection $routeCollection, string $resourceClass) …
›
› foreach ($this->subresourceOperationFactory->create($resourceClass) as $operationId => $operation) {
› if (null === $controller = $operation['controller'] ?? null) {
}
/app/vendor /api-platform/core/ src/Symfony/Routing/ApiLoader.php:104 {
ApiPlatform\Symfony\Routing \ ApiLoader->load($data, $type = null): RouteCollection …
› $this->loadLegacyMetadata($routeCollection, $resourceClass);
› $this->loadLegacySubresources($routeCollection, $resourceClass);
› continue;
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:188 {
Symfony\Component\Routing\Loader \ YamlFileLoader->parseImport(RouteCollection $collection, array $config, string $path, string $file) …
› /** @var RouteCollection[] $imported */
› $imported = $this->import($config['resource'], $type, false, $file, $exclude) ?: [];
›
}
/app/vendor /symfony/routing/ Loader/YamlFileLoader.php:90 {
Symfony\Component\Routing\Loader \ YamlFileLoader->load($file, string $type = null) …
› if (isset($config['resource'])) {
› $this->parseImport($collection, $config, $path, $file);
› } else {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:158 {
Symfony\Component\Config\Loader \ FileLoader->doImport($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null) …
› try {
› $ret = $loader->load($resource, $type);
› } finally {
}
/app/vendor /symfony/config/ Loader/FileLoader.php:97 {
Symfony\Component\Config\Loader \ FileLoader->import($resource, string $type = null, bool $ignoreErrors = false, string $sourceResource = null, $exclude = null) …
›
› return $this->doImport($resource, $type, $ignoreErrors, $sourceResource);
› }
}
/app/vendor /symfony/routing/ Loader/GlobFileLoader.php:32 {
Symfony\Component\Routing\Loader \ GlobFileLoader->load($resource, string $type = null) …
› foreach ($this->glob($resource, false, $globResource) as $path => $info) {
› $collection->addCollection($this->import($path));
› }
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:360 {
Symfony\Component\Routing \ RouteCollectionBuilder->load($resource, string $type = null): array …
›
› $collections = $loader->load($resource, $type);
›
}
/app/vendor /symfony/routing/ RouteCollectionBuilder.php:65 {
Symfony\Component\Routing \ RouteCollectionBuilder->import($resource, string $prefix = '/', string $type = null) …
› /** @var RouteCollection[] $collections */
› $collections = $this->load($resource, $type);
›
}
/app / src/Kernel.php:51 {
App \ Kernel->configureRoutes(RouteCollectionBuilder $routes): void …
› $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');
› $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');
}
/app/vendor /symfony/framework-bundle/ Kernel/MicroKernelTrait.php:191 {
App \ Kernel->loadRoutes(LoaderInterface $loader) …
› $routes = new RouteCollectionBuilder($loader);
› $this->configureRoutes($routes);
›
}
/app/vendor /symfony/routing/ Loader/ObjectLoader.php:62 {
Symfony\Component\Routing\Loader \ ObjectLoader->load($resource, string $type = null) …
›
› $routeCollection = $loaderObject->$method($this);
›
}
/app/vendor /symfony/config/ Loader/DelegatingLoader.php:40 {
Symfony\Component\Config\Loader \ DelegatingLoader->load($resource, string $type = null) …
›
› return $loader->load($resource, $type);
› }
}
/app/vendor /symfony/framework-bundle/ Routing/DelegatingLoader.php:69 {
Symfony\Bundle\FrameworkBundle\Routing \ DelegatingLoader->load($resource, string $type = null) …
› try {
› $collection = parent::load($resource, $type);
› } finally {
}
/app/vendor /symfony/framework-bundle/ Routing/Router.php:68 {
Symfony\Bundle\FrameworkBundle\Routing \ Router->getRouteCollection() …
› if (null === $this->collection) {
› $this->collection = $this->container->get('routing.loader')->load($this->resource, $this->options['resource_type']);
› $this->resolveParameters($this->collection);
}
/app/vendor /symfony/routing/ Router.php:358 {
Symfony\Component\Routing \ Router->getMatcherDumperInstance() …
› {
› return new $this->options['matcher_dumper_class']($this->getRouteCollection());
› }
}
/app/vendor /symfony/routing/ Router.php:289 {
Symfony\Component\Routing\Router->Symfony\Component\Routing \ {closure} …
› function (ConfigCacheInterface $cache) {
› $dumper = $this->getMatcherDumperInstance();
› if (method_exists($dumper, 'addExpressionLanguageProvider')) {
}
/app/vendor /symfony/config/ ResourceCheckerConfigCacheFactory.php:39 {
Symfony\Component\Config \ ResourceCheckerConfigCacheFactory->cache(string $file, callable $callable) …
› if (!$cache->isFresh()) {
› $callable($cache);
› }
}
/app/vendor /symfony/routing/ Router.php:287 {
Symfony\Component\Routing \ Router->getMatcher() …
›
› $cache = $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/url_matching_routes.php',
› function (ConfigCacheInterface $cache) {
}
/app/vendor /symfony/routing/ Router.php:251 {
Symfony\Component\Routing \ Router->matchRequest(Request $request) …
› {
› $matcher = $this->getMatcher();
› if (!$matcher instanceof RequestMatcherInterface) {
}
/app/vendor /symfony/http-kernel/ EventListener/RouterListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ RouterListener->onKernelRequest(RequestEvent $event) …
› if ($this->matcher instanceof RequestMatcherInterface) {
› $parameters = $this->matcher->matchRequest($request);
› } else {
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:133 {
Symfony\Component\HttpKernel \ HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:79 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#8408
#message : "Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/var-dumper/ Cloner/Data.php "
#line : 153
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/var-dumper/ Cloner/Data.php:153 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetExists($key)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/var-dumper/ Cloner/Data.php:153 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetExists($key)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#16639
#message : "Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/var-dumper/ Cloner/Data.php "
#line : 161
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/var-dumper/ Cloner/Data.php:161 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetGet($key)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/var-dumper/ Cloner/Data.php:161 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetGet($key)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#8421
#message : "Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/var-dumper/ Cloner/Data.php "
#line : 169
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/var-dumper/ Cloner/Data.php:169 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetSet($key, $value)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/var-dumper/ Cloner/Data.php:169 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetSet($key, $value)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#16966
#message : "Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/var-dumper/ Cloner/Data.php "
#line : 177
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/var-dumper/ Cloner/Data.php:177 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetUnset($key)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/var-dumper/ Cloner/Data.php:177 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function offsetUnset($key)
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#6903
#message : "Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/var-dumper/ Cloner/Data.php "
#line : 114
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/var-dumper/ Cloner/Data.php:114 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/var-dumper/ Cloner/Data.php:114 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function count()
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => ErrorException {#8199
#message : "Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice "
#code : 0
#file : "/app/vendor /symfony/var-dumper/ Cloner/Data.php "
#line : 122
#severity : E_DEPRECATED
trace : {
/app/vendor /symfony/var-dumper/ Cloner/Data.php:122 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
{
/app/vendor /symfony/var-dumper/ Cloner/Data.php:122 {
Symfony\Component\ErrorHandler \ ErrorHandler->handleError(int $type, string $message, string $file, int $line): bool …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/var-dumper/ Cloner/AbstractCloner.php:270 {
Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner \ {closure} …
› if ($this->prevErrorHandler) {
› return ($this->prevErrorHandler)($type, $msg, $file, $line, $context);
› }
}
/app/vendor /symfony/var-dumper/ Cloner/Data.php:20 {
Symfony\Component\VarDumper\Cloner \ AbstractCloner->cloneVar($var, int $filter = 0) …
› */
› class Data implements \ArrayAccess, \Countable, \IteratorAggregate
› {
}
/app/vendor /symfony/http-kernel/ DataCollector/DataCollector.php:62 {
Symfony\Component\HttpKernel\DataCollector \ DataCollector->cloneVar($var) …
›
› return $this->cloner->cloneVar($var);
› }
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:51 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->reset() …
› $this->data = [
› 'calls' => $this->cloneVar([]),
› 'violations_count' => 0,
}
/app/vendor /symfony/validator/ DataCollector/ValidatorDataCollector.php:37 {
Symfony\Component\Validator\DataCollector \ ValidatorDataCollector->__construct(TraceableValidator $validator) …
› $this->validator = $validator;
› $this->reset();
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2741 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerService() …
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
› $instance->add(new \Symfony\Component\Validator\DataCollector\ValidatorDataCollector(($this->services['.container.private.validator'] ?? $this->get_Container_Private_ValidatorService())));
› $instance->add(new \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector());
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:10399 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getProfilerListenerService() …
› {
› return $this->privates['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener(($this->services['profiler'] ?? $this->getProfilerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), NULL, false, false);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2511 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.exception', [0 => function () {
› return ($this->privates['profiler_listener'] ?? $this->getProfilerListenerService());
› }, 1 => 'onKernelException'], 0);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:76 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:218 {
Symfony\Component\HttpKernel \ HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:90 {
Symfony\Component\HttpKernel \ HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:195 {
Symfony\Component\HttpKernel \ Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/app / public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
01:16:55
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#5751
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/EventListener/ValidateListener.php "
#line : 47
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/EventListener/ValidateListener.php:47 {
ApiPlatform\Symfony\EventListener \ ValidateListener->__construct(ValidatorInterface $validator, $resourceMetadataFactory) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› } else {
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6378 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_ValidateService() …
›
› return $this->privates['api_platform.listener.view.validate'] = new \ApiPlatform\Symfony\EventListener\ValidateListener(($this->privates['api_platform.validator'] ?? $this->getApiPlatform_ValidatorService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2415 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.validate'] ?? $this->getApiPlatform_Listener_View_ValidateService());
› }, 1 => 'onKernelView'], 64);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/EventListener/ValidateListener.php:47 {
ApiPlatform\Symfony\EventListener \ ValidateListener->__construct(ValidatorInterface $validator, $resourceMetadataFactory) …
› if (!$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› } else {
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6378 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_ValidateService() …
›
› return $this->privates['api_platform.listener.view.validate'] = new \ApiPlatform\Symfony\EventListener\ValidateListener(($this->privates['api_platform.validator'] ?? $this->getApiPlatform_ValidatorService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2415 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.validate'] ?? $this->getApiPlatform_Listener_View_ValidateService());
› }, 1 => 'onKernelView'], 64);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
01:16:55
php
User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\WriteListener " is deprecated and will be removed in 3.0, use "ApiPlatform\Symfony\EventListener\WriteListener " instead
[
"exception " => ErrorException {#1415
#message : "User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\WriteListener" is deprecated and will be removed in 3.0, use "ApiPlatform\Symfony\EventListener\WriteListener" instead "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Core/EventListener/WriteListener.php "
#line : 60
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Core/EventListener/WriteListener.php:60 {
ApiPlatform\Core\EventListener \ WriteListener->__construct(DataPersisterInterface $dataPersister, $iriConverter = null, ResourceMetadataFactoryInterface $resourceMetadataFactory = null, ResourceClassResolverInterface $resourceClassResolver = null, ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, bool $metadataBackwardCompatibilityLayer = null) …
› if ($metadataBackwardCompatibilityLayer || null === $metadataBackwardCompatibilityLayer) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('The listener "%s" is deprecated and will be removed in 3.0, use "%s" instead', __CLASS__, \ApiPlatform\Symfony\EventListener\WriteListener::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6400 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_Write_LegacyService() …
›
› return $this->privates['api_platform.listener.view.write.legacy'] = new \ApiPlatform\Core\EventListener\WriteListener(($this->privates['debug.api_platform.data_persister'] ?? $this->getDebug_ApiPlatform_DataPersisterService()), ($this->privates['api_platform.iri_converter.legacy'] ?? $this->getApiPlatform_IriConverter_LegacyService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2400 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.write.legacy'] ?? $this->getApiPlatform_Listener_View_Write_LegacyService());
› }, 1 => 'onKernelView'], 32);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
}
]
{
/app/vendor /api-platform/core/ src/Core/EventListener/WriteListener.php:60 {
ApiPlatform\Core\EventListener \ WriteListener->__construct(DataPersisterInterface $dataPersister, $iriConverter = null, ResourceMetadataFactoryInterface $resourceMetadataFactory = null, ResourceClassResolverInterface $resourceClassResolver = null, ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, bool $metadataBackwardCompatibilityLayer = null) …
› if ($metadataBackwardCompatibilityLayer || null === $metadataBackwardCompatibilityLayer) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('The listener "%s" is deprecated and will be removed in 3.0, use "%s" instead', __CLASS__, \ApiPlatform\Symfony\EventListener\WriteListener::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6400 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_Write_LegacyService() …
›
› return $this->privates['api_platform.listener.view.write.legacy'] = new \ApiPlatform\Core\EventListener\WriteListener(($this->privates['debug.api_platform.data_persister'] ?? $this->getDebug_ApiPlatform_DataPersisterService()), ($this->privates['api_platform.iri_converter.legacy'] ?? $this->getApiPlatform_IriConverter_LegacyService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2400 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.write.legacy'] ?? $this->getApiPlatform_Listener_View_Write_LegacyService());
› }, 1 => 'onKernelView'], 32);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
01:16:55
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#5741
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/EventListener/SerializeListener.php "
#line : 55
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/EventListener/SerializeListener.php:55 {
ApiPlatform\Symfony\EventListener \ SerializeListener->__construct(SerializerInterface $serializer, SerializerContextBuilderInterface $serializerContextBuilder, $resourceMetadataFactory = null) …
› if ($resourceMetadataFactory && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6366 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_SerializeService() …
›
› return $this->privates['api_platform.listener.view.serialize'] = new \ApiPlatform\Symfony\EventListener\SerializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2388 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.serialize'] ?? $this->getApiPlatform_Listener_View_SerializeService());
› }, 1 => 'onKernelView'], 16);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/EventListener/SerializeListener.php:55 {
ApiPlatform\Symfony\EventListener \ SerializeListener->__construct(SerializerInterface $serializer, SerializerContextBuilderInterface $serializerContextBuilder, $resourceMetadataFactory = null) …
› if ($resourceMetadataFactory && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6366 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_SerializeService() …
›
› return $this->privates['api_platform.listener.view.serialize'] = new \ApiPlatform\Symfony\EventListener\SerializeListener(($this->services['.container.private.serializer'] ?? $this->get_Container_Private_SerializerService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), ($this->privates['api_platform.resource_class_resolver'] ?? $this->getApiPlatform_ResourceClassResolverService()));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2388 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.serialize'] ?? $this->getApiPlatform_Listener_View_SerializeService());
› }, 1 => 'onKernelView'], 16);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
01:16:55
php
User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface " instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface ".
[
"exception " => ErrorException {#6595
#message : "User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". "
#code : 0
#file : "/app/vendor /api-platform/core/ src/Symfony/EventListener/RespondListener.php "
#line : 46
#severity : E_USER_DEPRECATED
trace : {
/app/vendor /api-platform/core/ src/Symfony/EventListener/RespondListener.php:46 {
ApiPlatform\Symfony\EventListener \ RespondListener->__construct($resourceMetadataFactory = null, IriConverterInterface $iriConverter = null) …
› if ($resourceMetadataFactory && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6354 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_RespondService() …
›
› return $this->privates['api_platform.listener.view.respond'] = new \ApiPlatform\Symfony\EventListener\RespondListener(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), NULL);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2391 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.respond'] ?? $this->getApiPlatform_Listener_View_RespondService());
› }, 1 => 'onKernelView'], 8);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
}
]
{
/app/vendor /api-platform/core/ src/Symfony/EventListener/RespondListener.php:46 {
ApiPlatform\Symfony\EventListener \ RespondListener->__construct($resourceMetadataFactory = null, IriConverterInterface $iriConverter = null) …
› if ($resourceMetadataFactory && !$resourceMetadataFactory instanceof ResourceMetadataCollectionFactoryInterface) {
› trigger_deprecation('api-platform/core', '2.7', sprintf('Use "%s" instead of "%s".', ResourceMetadataCollectionFactoryInterface::class, ResourceMetadataFactoryInterface::class));
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:6354 {
ContainerLWitqTI \ App_KernelDevDebugContainer->getApiPlatform_Listener_View_RespondService() …
›
› return $this->privates['api_platform.listener.view.respond'] = new \ApiPlatform\Symfony\EventListener\RespondListener(($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()), NULL);
› }
}
/app / var/cache/dev/ContainerLWitqTI/App_KernelDevDebugContainer.php:2391 {
ContainerLWitqTI\App_KernelDevDebugContainer->ContainerLWitqTI \ {closure} …
› $instance->addListener('kernel.view', [0 => function () {
› return ($this->privates['api_platform.listener.view.respond'] ?? $this->getApiPlatform_Listener_View_RespondService());
› }, 1 => 'onKernelView'], 8);
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:245 {
Symfony\Component\EventDispatcher \ EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:84 {
Symfony\Component\EventDispatcher \ EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:99 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getListeners(string $eventName = null) …
› {
› return $this->dispatcher->getListeners($eventName);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:195 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->getNotCalledListeners(Request $request = null) …
› try {
› $allListeners = $this->getListeners();
› } catch (\Exception $e) {
}
/app/vendor /symfony/http-kernel/ DataCollector/EventDataCollector.php:66 {
Symfony\Component\HttpKernel\DataCollector \ EventDataCollector->lateCollect() …
› $this->setCalledListeners($this->dispatcher->getCalledListeners($this->currentRequest));
› $this->setNotCalledListeners($this->dispatcher->getNotCalledListeners($this->currentRequest));
› $this->setOrphanedEvents($this->dispatcher->getOrphanedEvents($this->currentRequest));
}
/app/vendor /symfony/http-kernel/ Profiler/Profiler.php:97 {
Symfony\Component\HttpKernel\Profiler \ Profiler->saveProfile(Profile $profile) …
› if ($collector instanceof LateDataCollectorInterface) {
› $collector->lateCollect();
› }
}
/app/vendor /symfony/http-kernel/ EventListener/ProfilerListener.php:112 {
Symfony\Component\HttpKernel\EventListener \ ProfilerListener->onKernelTerminate(TerminateEvent $event) …
› foreach ($this->profiles as $request) {
› $this->profiler->saveProfile($this->profiles[$request]);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug \ WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:230 {
Symfony\Component\EventDispatcher \ EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/app/vendor /symfony/event-dispatcher/ EventDispatcher.php:59 {
Symfony\Component\EventDispatcher \ EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/app/vendor /symfony/event-dispatcher/ Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug \ TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/app/vendor /symfony/http-kernel/ HttpKernel.php:99 {
Symfony\Component\HttpKernel \ HttpKernel->terminate(Request $request, Response $response) …
› {
› $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
› }
}
/app/vendor /symfony/http-kernel/ Kernel.php:152 {
Symfony\Component\HttpKernel \ Kernel->terminate(Request $request, Response $response) …
› if ($this->getHttpKernel() instanceof TerminableInterface) {
› $this->getHttpKernel()->terminate($request, $response);
› }
}
/app / public/index.php:27 {
› $response->send();
› $kernel->terminate($request, $response);
›
}
}
01:16:54
n/a
Return type of Symfony\Component\Form\Form::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Form\Form::offsetExists($name) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Form\Form::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Form\Form::offsetSet($name, $child) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Form\Form::offsetUnset($name) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Form\Form::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Please install the "intl " PHP extension for best performance.
01:16:54
n/a
Return type of Symfony\Component\Security\Core\Exception\AuthenticationException::__wakeup() should either be compatible with Exception::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => Symfony\Component\ErrorHandler\Exception \ SilencedErrorContext {#21420
+count : 1
-severity : E_DEPRECATED
trace : {
/app/vendor /symfony/finder/ Finder.php:608 {
Symfony\Bundle\FrameworkBundle\DependencyInjection \ FrameworkExtension->registerTranslatorConfiguration(array $config, ContainerBuilder $container, LoaderInterface $loader, string $defaultLocale) …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/framework-bundle/ DependencyInjection/FrameworkExtension.php:396 {
› $this->registerFragmentsConfiguration($config['fragments'], $container, $loader);
› $this->registerTranslatorConfiguration($config['translator'], $container, $loader, $config['default_locale']);
› $this->registerProfilerConfiguration($config['profiler'], $container, $loader);
}
}
}
]
{
/app/vendor /symfony/finder/ Finder.php:608 {
Symfony\Bundle\FrameworkBundle\DependencyInjection \ FrameworkExtension->registerTranslatorConfiguration(array $config, ContainerBuilder $container, LoaderInterface $loader, string $defaultLocale) …
› */
› public function getIterator()
› {
}
/app/vendor /symfony/framework-bundle/ DependencyInjection/FrameworkExtension.php:396 {
› $this->registerFragmentsConfiguration($config['fragments'], $container, $loader);
› $this->registerTranslatorConfiguration($config['translator'], $container, $loader, $config['default_locale']);
› $this->registerProfilerConfiguration($config['profiler'], $container, $loader);
}
}
01:16:54
n/a
Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[
"exception " => Symfony\Component\ErrorHandler\Exception \ SilencedErrorContext {#21421
+count : 1
-severity : E_DEPRECATED
trace : {
/app/vendor /symfony/finder/ Finder.php:690 {
Symfony\Bundle\FrameworkBundle\DependencyInjection \ FrameworkExtension->registerTranslatorConfiguration(array $config, ContainerBuilder $container, LoaderInterface $loader, string $defaultLocale) …
› */
› public function count()
› {
}
/app/vendor /symfony/framework-bundle/ DependencyInjection/FrameworkExtension.php:396 {
› $this->registerFragmentsConfiguration($config['fragments'], $container, $loader);
› $this->registerTranslatorConfiguration($config['translator'], $container, $loader, $config['default_locale']);
› $this->registerProfilerConfiguration($config['profiler'], $container, $loader);
}
}
}
]
{
/app/vendor /symfony/finder/ Finder.php:690 {
Symfony\Bundle\FrameworkBundle\DependencyInjection \ FrameworkExtension->registerTranslatorConfiguration(array $config, ContainerBuilder $container, LoaderInterface $loader, string $defaultLocale) …
› */
› public function count()
› {
}
/app/vendor /symfony/framework-bundle/ DependencyInjection/FrameworkExtension.php:396 {
› $this->registerFragmentsConfiguration($config['fragments'], $container, $loader);
› $this->registerTranslatorConfiguration($config['translator'], $container, $loader, $config['default_locale']);
› $this->registerProfilerConfiguration($config['profiler'], $container, $loader);
}
}
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\SortableIterator::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\CustomFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a (2 times)
Since doctrine/doctrine-migrations-bundle 2.2: The "dir_name " option is deprecated. Use "migrations_paths " instead.
01:16:54
n/a (2 times)
Since doctrine/doctrine-migrations-bundle 2.2: The "namespace " option is deprecated. Use "migrations_paths " instead.
01:16:54
n/a (2 times)
Since api-platform/core 2.6: The use of the `collection.pagination.enabled` has been deprecated in 2.6 and will be removed in 3.0. Use `defaults.pagination_enabled` instead.
01:16:54
n/a (2 times)
Since api-platform/core 2.6: The use of the `collection.pagination.client_enabled` has been deprecated in 2.6 and will be removed in 3.0. Use `defaults.pagination_client_enabled` instead.
01:16:54
n/a
Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\FacilityDetails::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\MessageQueueResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\ScreenType::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\ProjectData::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\UserMessageQueueResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\Point::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\PointPrefix::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
App\Entity\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
01:16:54
n/a
Return type of App\Entity\User::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\VerificationItem::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\ShapePoint::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\PointType::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\MessengerMessages::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Return type of App\Entity\FacilityWorkstation::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
01:16:54
n/a
Creation of dynamic property Doctrine\Common\Annotations\PsrCachedReader::$cacheProviderBackup is deprecated
01:16:54
n/a
Since api-platform/core 2.7: The Doctrine annotation ApiPlatform\Core\Annotation\ApiResource is deprecated, use the PHP attribute ApiPlatform\Metadata\ApiResource instead.
01:16:54
n/a
Since api-platform/core 2.7: The Doctrine annotation ApiPlatform\Core\Annotation\ApiFilter is deprecated, use the PHP attribute ApiPlatform\Metadata\ApiFilter instead.
01:16:54
n/a (8 times)
Creation of dynamic property Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity::$groups is deprecated
01:16:54
n/a
Since api-platform/core 2.7: Using "ApiPlatform\Core\Api\IriConverterInterface " is deprecated since API Platform 2.7. Use "ApiPlatform\Api\IriConverterInterface " instead. It is being referenced by the ".service_locator.1vZ0U5L " service.