-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
Using preloading on Symfony 5 triggers the following error:
ErrorException:
Warning: Cannot declare class Sentry\SentryBundle\EventListener\RequestListenerRequestEvent, because the name is already in use
at /var/www/html/vendor/sentry/sentry-symfony/src/EventListener/RequestListener.php:17
at include_once('/var/www/html/vendor/sentry/sentry-symfony/src/EventListener/RequestListener.php')
(/var/www/html/var/cache/dev/ContainerTnf83nT/App_KernelDevDebugContainer.php:613)
at ContainerTnf83nT\App_KernelDevDebugContainer->ContainerTnf83nT\{closure}()
(/var/www/html/vendor/symfony/dependency-injection/Container.php:156)
at Symfony\Component\DependencyInjection\Container->set('kernel', object(Kernel))
(/var/www/html/vendor/symfony/http-kernel/Kernel.php:551)
at Symfony\Component\HttpKernel\Kernel->initializeContainer()
(/var/www/html/vendor/symfony/http-kernel/Kernel.php:131)
at Symfony\Component\HttpKernel\Kernel->boot()
(/var/www/html/vendor/symfony/http-kernel/Kernel.php:191)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(/var/www/html/public/index.php:28)
It's probably related to the class_alias
functions
Metadata
Metadata
Assignees
Labels
No labels