[
"exception" => ErrorException {#1649
#message: "User Deprecated: Since vich/uploader-bundle 2.9: The "Vich\UploaderBundle\Mapping\Annotation\Uploadable" class is deprecated, use "Vich\UploaderBundle\Mapping\Attribute\Uploadable" instead."
#code: 0
#file: "/var/www/appsconflow/vendor/vich/uploader-bundle/src/Mapping/Annotation/Uploadable.php"
#line: 24
#severity: E_USER_DEPRECATED
trace: {
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Mapping/Annotation/Uploadable.php:24 {
Vich\UploaderBundle\Mapping\Annotation\Uploadable->__construct() …
› {
› trigger_deprecation('vich/uploader-bundle', '2.9', 'The "Vich\UploaderBundle\Mapping\Annotation\Uploadable" class is deprecated, use "Vich\UploaderBundle\Mapping\Attribute\Uploadable" instead.');
› }
}
/var/www/appsconflow/src/Entity/Tenant/TenantProduct.php:17 {
ReflectionAttribute->newInstance(): object …
› #[ORM\Entity(repositoryClass: TenantProductRepository::class)]
› #[Vich\Uploadable]
› class TenantProduct
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeReader.php:122 {
Vich\UploaderBundle\Metadata\Driver\AttributeReader->convertToAttributeInstances(array $attributes): array …
› $attributeName = $attribute->getName();
› $instance = $attribute->newInstance();
›
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeReader.php:15 {
Vich\UploaderBundle\Metadata\Driver\AttributeReader->getClassAttributes(ReflectionClass $class): array …
› {
› return $this->convertToAttributeInstances($class->getAttributes());
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeReader.php:20 {
Vich\UploaderBundle\Metadata\Driver\AttributeReader->getClassAttribute(ReflectionClass $class, string $attributeName): AttributeInterface …
› {
› return $this->getClassAttributes($class)[$attributeName] ?? null;
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeDriver.php:104 {
Vich\UploaderBundle\Metadata\Driver\AttributeDriver->isUploadable(ReflectionClass $class): bool …
› // Support both new Attribute\ and deprecated Annotation\ namespaces
› $uploadable = $this->reader->getClassAttribute($class, Uploadable::class);
› if (null === $uploadable) {
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeDriver.php:93 {
Vich\UploaderBundle\Metadata\Driver\AttributeDriver->getAllClassNames(): array …
› foreach ($metadata as $classMeta) {
› if ($this->isUploadable(new \ReflectionClass($classMeta->getName()))) {
› $classes[] = $classMeta->getName();
}
/var/www/appsconflow/vendor/jms/metadata/src/Driver/DriverChain.php:57 {
Metadata\Driver\DriverChain->getAllClassNames(): array …
›
› $driverClasses = $driver->getAllClassNames();
› if (!empty($driverClasses)) {
}
/var/www/appsconflow/vendor/jms/metadata/src/MetadataFactory.php:145 {
Metadata\MetadataFactory->getAllClassNames(): array …
›
› return $this->driver->getAllClassNames();
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/MetadataReader.php:66 {
Vich\UploaderBundle\Metadata\MetadataReader->getUploadableClasses(): array …
› {
› return $this->reader->getAllClassNames();
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/DataCollector/MappingCollector.php:22 {
Vich\UploaderBundle\DataCollector\MappingCollector->collect(Request $request, Response $response, ?Throwable $exception = null): void …
› $mappings = [];
› $uploadableClasses = $this->metadataReader->getUploadableClasses();
› foreach ($uploadableClasses as $class) {
}
/var/www/appsconflow/vendor/symfony/http-kernel/Profiler/Profiler.php:158 {
Symfony\Component\HttpKernel\Profiler\Profiler->collect(Request $request, Response $response, ?Throwable $exception = null): Profile …
› foreach ($this->collectors as $collector) {
› $collector->collect($request, $response, $exception);
›
}
/var/www/appsconflow/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:102 {
Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse(ResponseEvent $event): void …
› try {
› if (!$profile = $this->profiler->collect($request, $event->getResponse(), $exception)) {
› return;
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
› try {
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
› } finally {
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
› }
› $listener($event, $eventName, $this);
› }
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/var/www/appsconflow/vendor/symfony/http-kernel/HttpKernel.php:216 {
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Response $response, Request $request, int $type): Response …
›
› $this->dispatcher->dispatch($event, KernelEvents::RESPONSE);
›
}
/var/www/appsconflow/vendor/symfony/http-kernel/HttpKernel.php:267 {
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› try {
› return $this->filterResponse($response, $request, $type);
› } catch (\Throwable $e) {
}
/var/www/appsconflow/vendor/symfony/http-kernel/HttpKernel.php:91 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
›
› return $response = $this->handleThrowable($e, $request, $type);
› } finally {
}
/var/www/appsconflow/vendor/symfony/http-kernel/Kernel.php:191 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/appsconflow/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
›
}
/var/www/appsconflow/vendor/autoload_runtime.php:32 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/var/www/appsconflow/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/var/www/appsconflow/vendor/autoload_runtime.php"
}
}
}
}
]
{
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Mapping/Annotation/Uploadable.php:24 {
Vich\UploaderBundle\Mapping\Annotation\Uploadable->__construct() …
› {
› trigger_deprecation('vich/uploader-bundle', '2.9', 'The "Vich\UploaderBundle\Mapping\Annotation\Uploadable" class is deprecated, use "Vich\UploaderBundle\Mapping\Attribute\Uploadable" instead.');
› }
}
/var/www/appsconflow/src/Entity/Tenant/TenantProduct.php:17 {
ReflectionAttribute->newInstance(): object …
› #[ORM\Entity(repositoryClass: TenantProductRepository::class)]
› #[Vich\Uploadable]
› class TenantProduct
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeReader.php:122 {
Vich\UploaderBundle\Metadata\Driver\AttributeReader->convertToAttributeInstances(array $attributes): array …
› $attributeName = $attribute->getName();
› $instance = $attribute->newInstance();
›
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeReader.php:15 {
Vich\UploaderBundle\Metadata\Driver\AttributeReader->getClassAttributes(ReflectionClass $class): array …
› {
› return $this->convertToAttributeInstances($class->getAttributes());
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeReader.php:20 {
Vich\UploaderBundle\Metadata\Driver\AttributeReader->getClassAttribute(ReflectionClass $class, string $attributeName): AttributeInterface …
› {
› return $this->getClassAttributes($class)[$attributeName] ?? null;
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeDriver.php:104 {
Vich\UploaderBundle\Metadata\Driver\AttributeDriver->isUploadable(ReflectionClass $class): bool …
› // Support both new Attribute\ and deprecated Annotation\ namespaces
› $uploadable = $this->reader->getClassAttribute($class, Uploadable::class);
› if (null === $uploadable) {
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/Driver/AttributeDriver.php:93 {
Vich\UploaderBundle\Metadata\Driver\AttributeDriver->getAllClassNames(): array …
› foreach ($metadata as $classMeta) {
› if ($this->isUploadable(new \ReflectionClass($classMeta->getName()))) {
› $classes[] = $classMeta->getName();
}
/var/www/appsconflow/vendor/jms/metadata/src/Driver/DriverChain.php:57 {
Metadata\Driver\DriverChain->getAllClassNames(): array …
›
› $driverClasses = $driver->getAllClassNames();
› if (!empty($driverClasses)) {
}
/var/www/appsconflow/vendor/jms/metadata/src/MetadataFactory.php:145 {
Metadata\MetadataFactory->getAllClassNames(): array …
›
› return $this->driver->getAllClassNames();
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/Metadata/MetadataReader.php:66 {
Vich\UploaderBundle\Metadata\MetadataReader->getUploadableClasses(): array …
› {
› return $this->reader->getAllClassNames();
› }
}
/var/www/appsconflow/vendor/vich/uploader-bundle/src/DataCollector/MappingCollector.php:22 {
Vich\UploaderBundle\DataCollector\MappingCollector->collect(Request $request, Response $response, ?Throwable $exception = null): void …
› $mappings = [];
› $uploadableClasses = $this->metadataReader->getUploadableClasses();
› foreach ($uploadableClasses as $class) {
}
/var/www/appsconflow/vendor/symfony/http-kernel/Profiler/Profiler.php:158 {
Symfony\Component\HttpKernel\Profiler\Profiler->collect(Request $request, Response $response, ?Throwable $exception = null): Profile …
› foreach ($this->collectors as $collector) {
› $collector->collect($request, $response, $exception);
›
}
/var/www/appsconflow/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:102 {
Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse(ResponseEvent $event): void …
› try {
› if (!$profile = $this->profiler->collect($request, $event->getResponse(), $exception)) {
› return;
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
› try {
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
› } finally {
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
› }
› $listener($event, $eventName, $this);
› }
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/var/www/appsconflow/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/var/www/appsconflow/vendor/symfony/http-kernel/HttpKernel.php:216 {
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Response $response, Request $request, int $type): Response …
›
› $this->dispatcher->dispatch($event, KernelEvents::RESPONSE);
›
}
/var/www/appsconflow/vendor/symfony/http-kernel/HttpKernel.php:267 {
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› try {
› return $this->filterResponse($response, $request, $type);
› } catch (\Throwable $e) {
}
/var/www/appsconflow/vendor/symfony/http-kernel/HttpKernel.php:91 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
›
› return $response = $this->handleThrowable($e, $request, $type);
› } finally {
}
/var/www/appsconflow/vendor/symfony/http-kernel/Kernel.php:191 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/appsconflow/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
›
}
/var/www/appsconflow/vendor/autoload_runtime.php:32 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/var/www/appsconflow/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/var/www/appsconflow/vendor/autoload_runtime.php"
}
}
}