Error 500 Internal Server Error

GET https://myworkspace.val.lab/login

Exceptions

Environment variable not found: "VAPID_PUBLIC_KEY".

Exception

Symfony\Component\DependencyInjection\Exception\ EnvNotFoundException

  1. }
  2. }
  3. if (false === $env) {
  4. if (!$this->container->hasParameter("env($name)")) {
  5. throw new EnvNotFoundException(\sprintf('Environment variable not found: "%s".', $name));
  6. }
  7. $env = $this->container->getParameter("env($name)");
  8. }
  9. }
EnvVarProcessor->getEnv('string', 'VAPID_PUBLIC_KEY', object(Closure)) in D:\Code\MyAssistant\app\vendor\symfony\dependency-injection\Container.php (line 378)
  1. $prefix = '';
  2. }
  3. $this->resolving[$envName] = true;
  4. try {
  5. return $this->envCache[$name] = $processor->getEnv($prefix, $localName, $this->getEnv);
  6. } finally {
  7. unset($this->resolving[$envName]);
  8. }
  9. }
  1. if (isset($container->privates['App\\Core\\WebPush\\WebPushSender'])) {
  2. return $container->privates['App\\Core\\WebPush\\WebPushSender'];
  3. }
  4. $b = ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container));
  5. $instance = new \App\Core\WebPush\WebPushSender(new \App\Core\WebPush\MinishlinkWebPushClient($container->getEnv('VAPID_PUBLIC_KEY'), $container->getEnv('VAPID_PRIVATE_KEY'), $container->getEnv('VAPID_SUBJECT'), $b), ($container->privates['App\\Core\\Repository\\PushSubscriptionRepository'] ?? $container->load('getPushSubscriptionRepositoryService')), ($container->privates['App\\Core\\Repository\\NotificationPreferenceRepository'] ?? $container->load('getNotificationPreferenceRepositoryService')), $a, $b);
  6. if (isset($container->privates['App\\Core\\WebPush\\WebPushSender'])) {
  7. return $container->privates['App\\Core\\WebPush\\WebPushSender'];
  8. }
getWebPushSenderService::do(object(App_KernelDevDebugContainer), true) in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php (line 695)
  1. $file .= '.php';
  2. }
  3. $service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
  4. return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service;
  5. }
  6. protected function createProxy($class, \Closure $factory)
  7. {
  8. class_exists($class, false) || require __DIR__.'/'.$class.'.php';
App_KernelDevDebugContainer->load('getWebPushSenderService.php') in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getWebPushChannelService.php (line 24)
  1. public static function do($container, $lazyLoad = true)
  2. {
  3. include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Core'.\DIRECTORY_SEPARATOR.'Notification'.\DIRECTORY_SEPARATOR.'NotificationChannelInterface.php';
  4. include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Core'.\DIRECTORY_SEPARATOR.'Notification'.\DIRECTORY_SEPARATOR.'Channel'.\DIRECTORY_SEPARATOR.'WebPushChannel.php';
  5. $a = ($container->privates['App\\Core\\WebPush\\WebPushSender'] ?? $container->load('getWebPushSenderService'));
  6. if (isset($container->privates['App\\Core\\Notification\\Channel\\WebPushChannel'])) {
  7. return $container->privates['App\\Core\\Notification\\Channel\\WebPushChannel'];
  8. }
getWebPushChannelService::do(object(App_KernelDevDebugContainer), true) in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php (line 695)
  1. $file .= '.php';
  2. }
  3. $service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
  4. return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service;
  5. }
  6. protected function createProxy($class, \Closure $factory)
  7. {
  8. class_exists($class, false) || require __DIR__.'/'.$class.'.php';
App_KernelDevDebugContainer->load('getWebPushChannelService.php') in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getNotificationServiceService.php (line 34)
  1. $instance = new \App\Core\Notification\NotificationService(new RewindableGenerator(function () use ($container) {
  2. yield 0 => ($container->privates['App\\Core\\Notification\\Channel\\AdminChannel'] ?? $container->load('getAdminChannelService'));
  3. yield 1 => ($container->privates['App\\Core\\Notification\\Channel\\EmailChannel'] ?? $container->load('getEmailChannelService'));
  4. yield 2 => ($container->privates['App\\Core\\Notification\\Channel\\GraphMailChannel'] ?? $container->load('getGraphMailChannelService'));
  5. yield 3 => ($container->privates['App\\Core\\Notification\\Channel\\TeamsChannel'] ?? $container->load('getTeamsChannelService'));
  6. yield 4 => ($container->privates['App\\Core\\Notification\\Channel\\WebPushChannel'] ?? $container->load('getWebPushChannelService'));
  7. }, 5), ($container->privates['App\\Core\\Service\\FeatureManager'] ?? self::getFeatureManagerService($container)), $a, ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container)), ($container->privates['App\\Core\\Repository\\UserRepository'] ?? $container->load('getUserRepositoryService')));
  8. if (isset($container->privates['App\\Core\\Notification\\NotificationService'])) {
  9. return $container->privates['App\\Core\\Notification\\NotificationService'];
  10. }
getNotificationServiceService::{closure:ContainerFtG0VI5\getNotificationServiceService::do():29}() in D:\Code\MyAssistant\app\src\Core\Notification\NotificationService.php (line 55)
  1. private FeatureManager $featureManager,
  2. private MessageBusInterface $messageBus,
  3. private LoggerInterface $logger,
  4. private UserRepository $userRepository,
  5. ) {
  6. foreach ($channels as $channel) {
  7. $this->channelMap[$channel->getCode()] = $channel;
  8. }
  9. }
  10. /**
NotificationService->__construct(object(RewindableGenerator), object(FeatureManager), object(TraceableMessageBus), object(Logger), object(UserRepository)) in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getNotificationServiceService.php (line 29)
  1. if (isset($container->privates['App\\Core\\Notification\\NotificationService'])) {
  2. return $container->privates['App\\Core\\Notification\\NotificationService'];
  3. }
  4. $instance = new \App\Core\Notification\NotificationService(new RewindableGenerator(function () use ($container) {
  5. yield 0 => ($container->privates['App\\Core\\Notification\\Channel\\AdminChannel'] ?? $container->load('getAdminChannelService'));
  6. yield 1 => ($container->privates['App\\Core\\Notification\\Channel\\EmailChannel'] ?? $container->load('getEmailChannelService'));
  7. yield 2 => ($container->privates['App\\Core\\Notification\\Channel\\GraphMailChannel'] ?? $container->load('getGraphMailChannelService'));
  8. yield 3 => ($container->privates['App\\Core\\Notification\\Channel\\TeamsChannel'] ?? $container->load('getTeamsChannelService'));
  9. yield 4 => ($container->privates['App\\Core\\Notification\\Channel\\WebPushChannel'] ?? $container->load('getWebPushChannelService'));
getNotificationServiceService::do(object(App_KernelDevDebugContainer), true) in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php (line 695)
  1. $file .= '.php';
  2. }
  3. $service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
  4. return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service;
  5. }
  6. protected function createProxy($class, \Closure $factory)
  7. {
  8. class_exists($class, false) || require __DIR__.'/'.$class.'.php';
App_KernelDevDebugContainer->load('getNotificationServiceService.php') in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getLoginAttemptSubscriberService.php (line 31)
  1. $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));
  2. if (isset($container->privates['App\\Core\\EventSubscriber\\LoginAttemptSubscriber'])) {
  3. return $container->privates['App\\Core\\EventSubscriber\\LoginAttemptSubscriber'];
  4. }
  5. $b = ($container->privates['App\\Core\\Notification\\NotificationService'] ?? $container->load('getNotificationServiceService'));
  6. if (isset($container->privates['App\\Core\\EventSubscriber\\LoginAttemptSubscriber'])) {
  7. return $container->privates['App\\Core\\EventSubscriber\\LoginAttemptSubscriber'];
  8. }
getLoginAttemptSubscriberService::do(object(App_KernelDevDebugContainer), true) in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php (line 695)
  1. $file .= '.php';
  2. }
  3. $service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
  4. return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service;
  5. }
  6. protected function createProxy($class, \Closure $factory)
  7. {
  8. class_exists($class, false) || require __DIR__.'/'.$class.'.php';
App_KernelDevDebugContainer->load('getLoginAttemptSubscriberService.php') in D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getDebug_Security_EventDispatcher_MainService.php (line 46)
  1. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_checker.main', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserCheckerListener')] fn () => ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService')), 'preCheckCredentials'], 256);
  2. $instance->addListener('security.authentication.success', [#[\Closure(name: 'security.listener.user_checker.main', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserCheckerListener')] fn () => ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService')), 'postCheckCredentials'], 256);
  3. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService')), 'checkPassport'], 1024);
  4. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginFailureEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\ApiRateLimitSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\ApiRateLimitSubscriber'] ?? self::getApiRateLimitSubscriberService($container)), 'onLoginFailure'], 0);
  5. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\JwtRememberMeSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\JwtRememberMeSubscriber'] ?? $container->load('getJwtRememberMeSubscriberService')), 'onLoginSuccess'], -10);
  6. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\LoginAttemptSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\LoginAttemptSubscriber'] ?? $container->load('getLoginAttemptSubscriberService')), 'onLoginSuccess'], -10);
  7. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginFailureEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\LoginAttemptSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\LoginAttemptSubscriber'] ?? $container->load('getLoginAttemptSubscriberService')), 'onLoginFailure'], -10);
  8. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\SecurityAuditSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\SecurityAuditSubscriber'] ?? $container->load('getSecurityAuditSubscriberService')), 'onLoginSuccess'], 0);
  9. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginFailureEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\SecurityAuditSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\SecurityAuditSubscriber'] ?? $container->load('getSecurityAuditSubscriberService')), 'onLoginFailure'], 0);
  10. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [#[\Closure(name: 'App\\Core\\EventSubscriber\\SecurityAuditSubscriber')] fn () => ($container->privates['App\\Core\\EventSubscriber\\SecurityAuditSubscriber'] ?? $container->load('getSecurityAuditSubscriberService')), 'onLogout'], 0);
  11. $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.check_authenticator_credentials', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CheckCredentialsListener')] fn () => ($container->privates['security.listener.check_authenticator_credentials'] ?? $container->load('getSecurity_Listener_CheckAuthenticatorCredentialsService')), 'checkPassport'], 0);
getDebug_Security_EventDispatcher_MainService::{closure:ContainerFtG0VI5\getDebug_Security_EventDispatcher_MainService::do():46}() in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php (line 221)
  1. $this->sorted[$eventName] = [];
  2. foreach ($this->listeners[$eventName] as &$listeners) {
  3. foreach ($listeners as &$listener) {
  4. if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
  5. $listener[0] = $listener[0]();
  6. $listener[1] ??= '__invoke';
  7. }
  8. $this->sorted[$eventName][] = $listener;
  9. }
  10. }
EventDispatcher->sortListeners('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent') in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php (line 70)
  1. if (empty($this->listeners[$eventName])) {
  2. return [];
  3. }
  4. if (!isset($this->sorted[$eventName])) {
  5. $this->sortListeners($eventName);
  6. }
  7. return $this->sorted[$eventName];
  8. }
EventDispatcher->getListeners('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent') in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php (line 262)
  1. $this->orphanedEvents[$this->currentRequestHash][] = $eventName;
  2. return;
  3. }
  4. foreach ($this->dispatcher->getListeners($eventName) as $listener) {
  5. $priority = $this->getListenerPriority($eventName, $listener) ?? 0;
  6. $wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);
  7. $this->wrappedListeners[$eventName][] = $wrappedListener;
  8. $this->dispatcher->removeListener($eventName, $listener);
  9. $this->dispatcher->addListener($eventName, $wrappedListener, $priority);
TraceableEventDispatcher->preProcess('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent') in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php (line 123)
  1. if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
  2. $this->logger->debug(\sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));
  3. }
  4. $this->preProcess($eventName);
  5. try {
  6. $this->beforeDispatch($eventName, $event);
  7. try {
  8. $e = $this->stopwatch->start($eventName, 'section');
  9. try {
TraceableEventDispatcher->dispatch(object(LoginSuccessEvent)) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php (line 233)
  1. if ($authenticator instanceof InteractiveAuthenticatorInterface && $authenticator->isInteractive()) {
  2. $loginEvent = new InteractiveLoginEvent($request, $authenticatedToken);
  3. $this->eventDispatcher->dispatch($loginEvent, SecurityEvents::INTERACTIVE_LOGIN);
  4. }
  5. $this->eventDispatcher->dispatch($loginSuccessEvent = new LoginSuccessEvent($authenticator, $passport, $authenticatedToken, $request, $response, $this->firewallName, $previousToken));
  6. return $loginSuccessEvent->getResponse();
  7. }
  8. /**
AuthenticatorManager->handleAuthenticationSuccess(object(UsernamePasswordToken), object(Passport), object(Request), object(TraceableAuthenticator), null) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php (line 213)
  1. return null;
  2. }
  3. // success! (sets the token on the token storage, etc)
  4. $response = $this->handleAuthenticationSuccess($authenticatedToken, $passport, $request, $authenticator, $previousToken);
  5. if ($response instanceof Response) {
  6. return $response;
  7. }
  8. $this->logger?->debug('Authenticator set no success response: request continues.', ['authenticator' => ($authenticator instanceof TraceableAuthenticator ? $authenticator->getAuthenticator() : $authenticator)::class]);
AuthenticatorManager->executeAuthenticator(object(TraceableAuthenticator), object(Request)) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php (line 154)
  1. $this->logger?->debug('Skipping the "{authenticator}" authenticator as it did not support the request.', ['authenticator' => ($authenticator instanceof TraceableAuthenticator ? $authenticator->getAuthenticator() : $authenticator)::class]);
  2. continue;
  3. }
  4. $response = $this->executeAuthenticator($authenticator, $request);
  5. if (null !== $response) {
  6. $this->logger?->debug('The "{authenticator}" authenticator set the response. Any later authenticator will not be called', ['authenticator' => ($authenticator instanceof TraceableAuthenticator ? $authenticator->getAuthenticator() : $authenticator)::class]);
  7. return $response;
  8. }
AuthenticatorManager->executeAuthenticators(array(object(TraceableAuthenticator)), object(Request)) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php (line 136)
  1. if (!$authenticators) {
  2. return null;
  3. }
  4. return $this->executeAuthenticators($authenticators, $request);
  5. }
  6. /**
  7. * @param AuthenticatorInterface[] $authenticators
  8. */
AuthenticatorManager->authenticateRequest(object(Request)) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Firewall\AuthenticatorManagerListener.php (line 38)
  1. }
  2. public function authenticate(RequestEvent $event): void
  3. {
  4. $request = $event->getRequest();
  5. $response = $this->authenticatorManager->authenticateRequest($request);
  6. if (null === $response) {
  7. return;
  8. }
  9. $event->setResponse($response);
AuthenticatorManagerListener->authenticate(object(RequestEvent)) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Authenticator\Debug\TraceableAuthenticatorManagerListener.php (line 58)
  1. return $supports;
  2. }
  3. public function authenticate(RequestEvent $event): void
  4. {
  5. $this->authenticationManagerListener->authenticate($event);
  6. }
  7. public function getAuthenticatorManagerListener(): AuthenticatorManagerListener
  8. {
  9. return $this->authenticationManagerListener;
TraceableAuthenticatorManagerListener->authenticate(object(RequestEvent)) in D:\Code\MyAssistant\app\vendor\symfony\security-bundle\Debug\WrappedLazyListener.php (line 52)
  1. public function authenticate(RequestEvent $event): void
  2. {
  3. $startTime = microtime(true);
  4. try {
  5. $this->listener->authenticate($event);
  6. } catch (LazyResponseException $e) {
  7. $this->response = $e->getResponse();
  8. throw $e;
  9. } finally {
WrappedLazyListener->authenticate(object(RequestEvent)) in D:\Code\MyAssistant\app\vendor\symfony\security-bundle\Security\LazyFirewallContext.php (line 64)
  1. }
  2. }
  3. if (!$lazy) {
  4. foreach ($listeners as $listener) {
  5. $listener->authenticate($event);
  6. if ($event->hasResponse()) {
  7. return;
  8. }
  9. }
LazyFirewallContext->authenticate(object(RequestEvent)) in D:\Code\MyAssistant\app\vendor\symfony\security-bundle\Debug\TraceableFirewallListener.php (line 88)
  1. foreach ($requestListeners as $listener) {
  2. if (false === $listener->supports($event->getRequest())) {
  3. continue;
  4. }
  5. $listener->authenticate($event);
  6. if ($event->hasResponse()) {
  7. break;
  8. }
  9. }
TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator)) in D:\Code\MyAssistant\app\vendor\symfony\security-http\Firewall.php (line 86)
  1. if (null !== $logoutListener) {
  2. yield $logoutListener;
  3. }
  4. };
  5. $this->callListeners($event, $authenticationListeners());
  6. }
  7. public function onKernelFinishRequest(FinishRequestEvent $event): void
  8. {
  9. $request = $event->getRequest();
Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher)) in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\WrappedListener.php (line 115)
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher)) in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php (line 206)
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent)) in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php (line 56)
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
EventDispatcher->dispatch(object(RequestEvent), 'kernel.request') in D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php (line 129)
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request') in D:\Code\MyAssistant\app\vendor\symfony\http-kernel\HttpKernel.php (line 159)
  1. */
  2. private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request, $type);
  9. }
HttpKernel->handleRaw(object(Request), 1) in D:\Code\MyAssistant\app\vendor\symfony\http-kernel\HttpKernel.php (line 76)
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
HttpKernel->handle(object(Request), 1, true) in D:\Code\MyAssistant\app\vendor\symfony\http-kernel\Kernel.php (line 191)
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
HttpKernelRunner->run() in D:\Code\MyAssistant\app\vendor\autoload_runtime.php (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('D:\\Code\\MyAssistant\\app\\vendor\\autoload_runtime.php') in D:\Code\MyAssistant\app\public\index.php (line 14)
  1. * Unauthorized copying, modification or distribution is strictly prohibited.
  2. */
  3. use App\Kernel;
  4. require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
  5. return function (array $context) {
  6. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  7. };

Logs

Level Channel Message
DEBUG 17:31:06 php User Warning: Configure the "curl.cainfo", "openssl.cafile" or "openssl.capath" php.ini setting to enable the CurlHttpClient
{
    "exception": {
        "severity": 512,
        "file": "D:\\Code\\MyAssistant\\app\\vendor\\symfony\\http-client\\HttpClient.php",
        "line": 57,
        "trace": [
            {
                "file": "D:\\Code\\MyAssistant\\app\\var\\cache\\dev\\ContainerFtG0VI5\\App_KernelDevDebugContainer.php",
                "line": 2281,
                "function": "create",
                "class": "Symfony\\Component\\HttpClient\\HttpClient",
                "type": "::"
            }
        ],
        "count": 1
    }
}
DEBUG 17:31:06 php User Notice: Upgrade the curl extension or run "composer require amphp/http-client:^5" to perform async HTTP operations, including full HTTP/2 support
{
    "exception": {
        "severity": 1024,
        "file": "D:\\Code\\MyAssistant\\app\\vendor\\symfony\\http-client\\HttpClient.php",
        "line": 64,
        "trace": [
            {
                "file": "D:\\Code\\MyAssistant\\app\\var\\cache\\dev\\ContainerFtG0VI5\\App_KernelDevDebugContainer.php",
                "line": 2281,
                "function": "create",
                "class": "Symfony\\Component\\HttpClient\\HttpClient",
                "type": "::"
            }
        ],
        "count": 1
    }
}
INFO 17:31:06 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "e8351c"
    },
    "request_uri": "https://myworkspace.sysval.fr/_profiler/e8351c",
    "method": "GET"
}
INFO 17:31:06 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "myassistant",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "myassistant_dev",
        "serverVersion": "10.11.2-MariaDB",
        "charset": "utf8mb4"
    }
}
DEBUG 17:31:06 doctrine Executing statement: SELECT t0.id AS id_1, t0.setting_key AS setting_key_2, t0.setting_value AS setting_value_3, t0.description AS description_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.deleted_at AS deleted_at_7 FROM setting t0 WHERE t0.setting_key IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND ((t0.deleted_at IS NULL)) (parameters: {params}, types: {types})

                            

Stack Trace

EnvNotFoundException
Symfony\Component\DependencyInjection\Exception\EnvNotFoundException:
Environment variable not found: "VAPID_PUBLIC_KEY".

  at D:\Code\MyAssistant\app\vendor\symfony\dependency-injection\EnvVarProcessor.php:221
  at Symfony\Component\DependencyInjection\EnvVarProcessor->getEnv('string', 'VAPID_PUBLIC_KEY', object(Closure))
     (D:\Code\MyAssistant\app\vendor\symfony\dependency-injection\Container.php:378)
  at Symfony\Component\DependencyInjection\Container->getEnv('VAPID_PUBLIC_KEY')
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getWebPushSenderService.php:33)
  at ContainerFtG0VI5\getWebPushSenderService::do(object(App_KernelDevDebugContainer), true)
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php:695)
  at ContainerFtG0VI5\App_KernelDevDebugContainer->load('getWebPushSenderService.php')
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getWebPushChannelService.php:24)
  at ContainerFtG0VI5\getWebPushChannelService::do(object(App_KernelDevDebugContainer), true)
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php:695)
  at ContainerFtG0VI5\App_KernelDevDebugContainer->load('getWebPushChannelService.php')
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getNotificationServiceService.php:34)
  at ContainerFtG0VI5\getNotificationServiceService::{closure:ContainerFtG0VI5\getNotificationServiceService::do():29}()
     (D:\Code\MyAssistant\app\src\Core\Notification\NotificationService.php:55)
  at App\Core\Notification\NotificationService->__construct(object(RewindableGenerator), object(FeatureManager), object(TraceableMessageBus), object(Logger), object(UserRepository))
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getNotificationServiceService.php:29)
  at ContainerFtG0VI5\getNotificationServiceService::do(object(App_KernelDevDebugContainer), true)
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php:695)
  at ContainerFtG0VI5\App_KernelDevDebugContainer->load('getNotificationServiceService.php')
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getLoginAttemptSubscriberService.php:31)
  at ContainerFtG0VI5\getLoginAttemptSubscriberService::do(object(App_KernelDevDebugContainer), true)
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\App_KernelDevDebugContainer.php:695)
  at ContainerFtG0VI5\App_KernelDevDebugContainer->load('getLoginAttemptSubscriberService.php')
     (D:\Code\MyAssistant\app\var\cache\dev\ContainerFtG0VI5\getDebug_Security_EventDispatcher_MainService.php:46)
  at ContainerFtG0VI5\getDebug_Security_EventDispatcher_MainService::{closure:ContainerFtG0VI5\getDebug_Security_EventDispatcher_MainService::do():46}()
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php:221)
  at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent')
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php:70)
  at Symfony\Component\EventDispatcher\EventDispatcher->getListeners('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent')
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:262)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent')
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:123)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(LoginSuccessEvent))
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php:233)
  at Symfony\Component\Security\Http\Authentication\AuthenticatorManager->handleAuthenticationSuccess(object(UsernamePasswordToken), object(Passport), object(Request), object(TraceableAuthenticator), null)
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php:213)
  at Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(object(TraceableAuthenticator), object(Request))
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php:154)
  at Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array(object(TraceableAuthenticator)), object(Request))
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Authentication\AuthenticatorManager.php:136)
  at Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(object(Request))
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Firewall\AuthenticatorManagerListener.php:38)
  at Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener->authenticate(object(RequestEvent))
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Authenticator\Debug\TraceableAuthenticatorManagerListener.php:58)
  at Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(object(RequestEvent))
     (D:\Code\MyAssistant\app\vendor\symfony\security-bundle\Debug\WrappedLazyListener.php:52)
  at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(object(RequestEvent))
     (D:\Code\MyAssistant\app\vendor\symfony\security-bundle\Security\LazyFirewallContext.php:64)
  at Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext->authenticate(object(RequestEvent))
     (D:\Code\MyAssistant\app\vendor\symfony\security-bundle\Debug\TraceableFirewallListener.php:88)
  at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator))
     (D:\Code\MyAssistant\app\vendor\symfony\security-http\Firewall.php:86)
  at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (D:\Code\MyAssistant\app\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:129)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (D:\Code\MyAssistant\app\vendor\symfony\http-kernel\HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (D:\Code\MyAssistant\app\vendor\symfony\http-kernel\HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (D:\Code\MyAssistant\app\vendor\symfony\http-kernel\Kernel.php:191)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (D:\Code\MyAssistant\app\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (D:\Code\MyAssistant\app\vendor\autoload_runtime.php:32)
  at require_once('D:\\Code\\MyAssistant\\app\\vendor\\autoload_runtime.php')
     (D:\Code\MyAssistant\app\public\index.php:14)