Error 500 Internal Server Error

GET https://dev.my-biz.pro/manifest.json

Forwarded to ErrorController (34150c)

Exceptions

An exception occurred in the driver: SQLSTATE[HY000] [1040] Too many connections

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

Show exception properties
Doctrine\DBAL\Exception\DriverException {#646
  -query: null
}
  1. case 1364:
  2. case 1566:
  3. return new NotNullConstraintViolationException($exception, $query);
  4. }
  5. return new DriverException($exception, $query);
  6. }
  7. }
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1924)
  1. }
  2. /** @internal */
  3. final public function convertException(Driver\Exception $e): DriverException
  4. {
  5. return $this->handleDriverException($e, null);
  6. }
  7. /**
  8. * @param array<int, mixed>|array<string, mixed> $params
  9. * @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in vendor/doctrine/dbal/src/Connection.php -> convertException (line 385)
  1. }
  2. try {
  3. $this->_conn = $this->_driver->connect($this->params);
  4. } catch (Driver\Exception $e) {
  5. throw $this->convertException($e);
  6. }
  7. if ($this->autoCommit === false) {
  8. $this->beginTransaction();
  9. }
  1. }
  2. // If not connected, we need to connect now to determine the platform version.
  3. if ($this->_conn === null) {
  4. try {
  5. $this->connect();
  6. } catch (Exception $originalException) {
  7. if (! isset($this->params['dbname'])) {
  8. throw $originalException;
  9. }
in vendor/doctrine/dbal/src/Connection.php -> getDatabasePlatformVersion (line 416)
  1. *
  2. * @throws Exception If an invalid platform was specified for this connection.
  3. */
  4. private function detectDatabasePlatform(): AbstractPlatform
  5. {
  6. $version = $this->getDatabasePlatformVersion();
  7. if ($version !== null) {
  8. assert($this->_driver instanceof VersionAwarePlatformDriver);
  9. return $this->_driver->createDatabasePlatformForVersion($version);
in vendor/doctrine/dbal/src/Connection.php -> detectDatabasePlatform (line 323)
  1. * @throws Exception
  2. */
  3. public function getDatabasePlatform()
  4. {
  5. if ($this->platform === null) {
  6. $this->platform = $this->detectDatabasePlatform();
  7. $this->platform->setEventManager($this->_eventManager);
  8. $this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
  9. }
  10. return $this->platform;
  1. }
  2. private function getTargetPlatform(): Platforms\AbstractPlatform
  3. {
  4. if (! $this->targetPlatform) {
  5. $this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
  6. }
  7. return $this->targetPlatform;
  8. }
  9. }
  1. */
  2. private function completeIdGeneratorMapping(ClassMetadata $class): void
  3. {
  4. $idGenType = $class->generatorType;
  5. if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
  6. $class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
  7. }
  8. // Create & assign an appropriate ID generator instance
  9. switch ($class->generatorType) {
  10. case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php -> completeIdGeneratorMapping (line 178)
  1. // However this is only true if the hierarchy of parents contains the root entity,
  2. // if it consists of mapped superclasses these don't necessarily include the id field.
  3. if ($parent && $rootEntityFound) {
  4. $this->inheritIdGeneratorMapping($class, $parent);
  5. } else {
  6. $this->completeIdGeneratorMapping($class);
  7. }
  8. if (! $class->isMappedSuperclass) {
  9. if ($rootEntityFound && $class->isInheritanceTypeNone()) {
  10. throw MappingException::missingInheritanceTypeDeclaration(end($nonSuperclassParents), $class->name);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents): void
  5. {
  6. parent::doLoadMetadata($class, $parent, $rootEntityFound, $nonSuperclassParents);
  7. $customGeneratorDefinition = $class->customGeneratorDefinition;
  8. if (! isset($customGeneratorDefinition['instance'])) {
  9. return;
  1. }
  2. $class = $this->newClassMetadataInstance($className);
  3. $this->initializeReflection($class, $reflService);
  4. $this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
  5. $this->loadedMetadata[$className] = $class;
  6. $parent = $class;
  1. /** @phpstan-var CMTemplate $cached */
  2. $this->loadedMetadata[$realClassName] = $cached;
  3. $this->wakeupReflection($cached, $this->getReflectionService());
  4. } else {
  5. $loadedMetadata = $this->loadMetadata($realClassName);
  6. $classNames = array_combine(
  7. array_map($this->getCacheKey(...), $loadedMetadata),
  8. $loadedMetadata,
  9. );
in vendor/doctrine/orm/src/EntityManager.php -> getMetadataFor (line 224)
  1. *
  2. * {@inheritDoc}
  3. */
  4. public function getClassMetadata(string $className): Mapping\ClassMetadata
  5. {
  6. return $this->metadataFactory->getMetadataFor($className);
  7. }
  8. public function createQuery(string $dql = ''): Query
  9. {
  10. $query = new Query($this);
  1. $this->entityClass,
  2. ));
  3. }
  4. /** @var ClassMetadata<T> $classMetadata */
  5. $classMetadata = $manager->getClassMetadata($this->entityClass);
  6. return new EntityRepository($manager, $classMetadata);
  7. }
  8. }
  1. * @psalm-suppress InvalidReturnStatement This proxy is used only in combination with newer parent class
  2. * @psalm-suppress InvalidReturnType This proxy is used only in combination with newer parent class
  3. */
  4. public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array
  5. {
  6. return ($this->repository ??= $this->resolveRepository())
  7. ->findBy($criteria, $orderBy, $limit, $offset);
  8. }
  9. /** {@inheritDoc} */
  10. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
ServiceEntityRepositoryProxy->findBy(array(), array('level' => 'ASC')) in src/Service/Mybiz/Ranking/RankingProvider.php (line 25)
  1. private readonly MemberNodeRepository $memberNodeRepository,
  2. private readonly MemberRepository $memberRepository,
  3. private readonly RankRepository $rankRepository
  4. ) {
  5. // On récupère tous les rangs dans l'ordre hiérarchique défini en BDD
  6. $this->allRanks = $this->rankRepository->findBy([], [
  7. "level" => "ASC"
  8. ]);
  9. }
  1. */
  2. public static function do($container, $lazyLoad = true)
  3. {
  4. include_once \dirname(__DIR__, 4).'/src/Service/Mybiz/Ranking/RankingProvider.php';
  5. return $container->services['App\\Service\\Mybiz\\Ranking\\RankingProvider'] = new \App\Service\Mybiz\Ranking\RankingProvider(($container->services['App\\Service\\Member\\Subscription\\Freedom\\MemberFreedomChecker'] ?? $container->load('getMemberFreedomCheckerService')), ($container->privates['App\\Repository\\Member\\MemberNodeRepository'] ?? $container->load('getMemberNodeRepositoryService')), ($container->privates['App\\Repository\\Member\\MemberRepository'] ?? $container->load('getMemberRepositoryService')), ($container->privates['App\\Repository\\Mybiz\\RankRepository'] ?? $container->load('getRankRepositoryService')));
  6. }
  7. }
  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';
  1. */
  2. public static function do($container, $lazyLoad = true)
  3. {
  4. include_once \dirname(__DIR__, 4).'/src/Service/Member/MemberQualificationChecker.php';
  5. return $container->services['App\\Service\\Member\\MemberQualificationChecker'] = new \App\Service\Member\MemberQualificationChecker(($container->services['App\\Service\\Mybiz\\Ranking\\RankingProvider'] ?? $container->load('getRankingProviderService')));
  6. }
  7. }
  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';
  1. if (isset($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'])) {
  2. return $container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'];
  3. }
  4. $instance = new \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter(new \App\Security\Voter\DirectorOrMoreAccessVoter(($container->services['App\\Service\\Member\\MemberQualificationChecker'] ?? $container->load('getMemberQualificationCheckerService'))), $a);
  5. if (isset($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'])) {
  6. return $container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'];
  7. }
  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';
  1. yield 1 => ($container->privates['.debug.security.voter.security.access.simple_role_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_SimpleRoleVoterService'));
  2. yield 2 => ($container->privates['.debug.security.voter.security.access.expression_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_ExpressionVoterService'));
  3. yield 3 => ($container->privates['.debug.security.voter.security.access.closure_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_ClosureVoterService'));
  4. yield 4 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\CRM\\CRMAccessVoter'] ?? $container->load('getCRMAccessVoterService'));
  5. yield 5 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\CRM\\SwitchToCustomerVoter'] ?? $container->load('getSwitchToCustomerVoterService'));
  6. yield 6 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'] ?? $container->load('getDirectorOrMoreAccessVoterService'));
  7. yield 7 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\DistributorAccessVoter'] ?? $container->load('getDistributorAccessVoterService'));
  8. yield 8 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\FeatureAccessVoter'] ?? $container->load('getFeatureAccessVoterService'));
  9. yield 9 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\FeatureTypeAccessVoter'] ?? $container->load('getFeatureTypeAccessVoterService'));
  10. yield 10 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\InsiderAccessVoter'] ?? $container->load('getInsiderAccessVoterService'));
  11. yield 11 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\LiveAccessVoter'] ?? $container->load('getLiveAccessVoterService'));
in vendor/symfony/security-core/Authorization/AccessDecisionManager.php :: {closure:ContainerJKahk7l\App_KernelDevDebugContainer::getDebug_Security_Access_DecisionManagerService():2689} (line 115)
  1. foreach ($attributes as $attribute) {
  2. $keyAttributes[] = \is_string($attribute) ? $attribute : null;
  3. }
  4. // use `get_class` to handle anonymous classes
  5. $keyObject = \is_object($object) ? $object::class : get_debug_type($object);
  6. foreach ($this->voters as $key => $voter) {
  7. if (!$voter instanceof CacheableVoterInterface) {
  8. yield $voter;
  9. continue;
  10. }
  1. /**
  2. * @return \Traversable<int, VoterInterface::ACCESS_*>
  3. */
  4. private function collectResults(TokenInterface $token, array $attributes, mixed $object, AccessDecision $accessDecision): \Traversable
  5. {
  6. foreach ($this->getVoters($attributes, $object) as $voter) {
  7. $vote = new Vote();
  8. $result = $voter->vote($token, $object, $attributes, $vote);
  9. if (!\is_int($result) || !(self::VALID_VOTES[$result] ?? false)) {
  10. throw new \LogicException(\sprintf('"%s::vote()" must return one of "%s" constants ("ACCESS_GRANTED", "ACCESS_DENIED" or "ACCESS_ABSTAIN"), "%s" returned.', get_debug_type($voter), VoterInterface::class, var_export($result, true)));
  1. }
  2. public function decide(\Traversable $results, ?AccessDecision $accessDecision = null): bool
  3. {
  4. $deny = 0;
  5. foreach ($results as $result) {
  6. if (VoterInterface::ACCESS_GRANTED === $result) {
  7. return true;
  8. }
  9. if (VoterInterface::ACCESS_DENIED === $result) {
  1. $this->accessDecisionStack[] = $accessDecision;
  2. $accessDecision->strategy = $this->strategy instanceof \Stringable ? $this->strategy : get_debug_type($this->strategy);
  3. try {
  4. return $accessDecision->isGranted = $this->strategy->decide(
  5. $this->collectResults($token, $attributes, $object, $accessDecision),
  6. $accessDecision,
  7. );
  8. } finally {
  9. array_pop($this->accessDecisionStack);
  1. $accessDecision ??= end($this->accessDecisionStack) ?: new AccessDecision();
  2. $this->accessDecisionStack[] = $accessDecision;
  3. try {
  4. return $accessDecision->isGranted = $this->manager->decide($token, $attributes, $object, $accessDecision, $allowMultipleAttributes);
  5. } finally {
  6. $this->strategy = $accessDecision->strategy;
  7. $currentLog = array_pop($this->currentLog);
  8. if (isset($accessDecision->isGranted)) {
  9. $currentLog['result'] = $accessDecision->isGranted;
  1. }
  2. $token = $this->tokenStorage->getToken() ?? new NullToken();
  3. $accessDecision = new AccessDecision();
  4. if (!$accessDecision->isGranted = $this->accessDecisionManager->decide($token, $attributes, $request, $accessDecision, true)) {
  5. $e = new AccessDeniedException($accessDecision->getMessage());
  6. $e->setAttributes($attributes);
  7. $e->setSubject($request);
  8. $e->setAccessDecision($accessDecision);
  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 {
  1. }
  2. }
  3. if (!$lazy) {
  4. foreach ($listeners as $listener) {
  5. $listener($event);
  6. if ($event->hasResponse()) {
  7. return;
  8. }
  9. }
  1. foreach ($requestListeners as $listener) {
  2. if (!$listener instanceof FirewallListenerInterface) {
  3. $listener($event);
  4. } elseif (false !== $listener->supports($event->getRequest())) {
  5. $listener->authenticate($event);
  6. }
  7. if ($event->hasResponse()) {
  8. break;
  9. }
in vendor/symfony/security-http/Firewall.php -> callListeners (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();
  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. }
  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.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  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. }
  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. }
  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. }
  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. }
Kernel->handle(object(Request)) in public/index.php (line 33)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request = Request::createFromGlobals();
  6. $response = $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request, $response);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[HY000] [1040] Too many connections

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. $params['user'] ?? '',
  2. $params['password'] ?? '',
  3. $driverOptions,
  4. );
  5. } catch (PDOException $exception) {
  6. throw Exception::new($exception);
  7. }
  8. return new Connection($pdo);
  9. }
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. array $params
  2. ) {
  3. $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4. return new Connection(
  5. parent::connect($params),
  6. $this->logger,
  7. );
  8. }
  9. /**
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. parent::__construct($driver);
  2. }
  3. public function connect(array $params): ConnectionInterface
  4. {
  5. $connection = parent::connect($params);
  6. if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {
  7. return new DBAL3\Connection(
  8. $connection,
  9. $this->debugDataHolder,
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. }
  2. public function connect(array $params): ConnectionInterface
  3. {
  4. $timestamp = time();
  5. $connection = parent::connect($params);
  6. $this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;
  7. return $connection;
  8. }
  9. }
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. * @phpstan-param ConnectionParams $params
  2. */
  3. public function connect(array $params): TracingDriverConnectionInterface
  4. {
  5. return $this->connectionFactory->create(
  6. parent::connect($params),
  7. $this->getDatabasePlatform(),
  8. $params
  9. );
  10. }
  11. }
  1. if ($this->_conn !== null) {
  2. return false;
  3. }
  4. try {
  5. $this->_conn = $this->_driver->connect($this->params);
  6. } catch (Driver\Exception $e) {
  7. throw $this->convertException($e);
  8. }
  9. if ($this->autoCommit === false) {
  1. }
  2. // If not connected, we need to connect now to determine the platform version.
  3. if ($this->_conn === null) {
  4. try {
  5. $this->connect();
  6. } catch (Exception $originalException) {
  7. if (! isset($this->params['dbname'])) {
  8. throw $originalException;
  9. }
in vendor/doctrine/dbal/src/Connection.php -> getDatabasePlatformVersion (line 416)
  1. *
  2. * @throws Exception If an invalid platform was specified for this connection.
  3. */
  4. private function detectDatabasePlatform(): AbstractPlatform
  5. {
  6. $version = $this->getDatabasePlatformVersion();
  7. if ($version !== null) {
  8. assert($this->_driver instanceof VersionAwarePlatformDriver);
  9. return $this->_driver->createDatabasePlatformForVersion($version);
in vendor/doctrine/dbal/src/Connection.php -> detectDatabasePlatform (line 323)
  1. * @throws Exception
  2. */
  3. public function getDatabasePlatform()
  4. {
  5. if ($this->platform === null) {
  6. $this->platform = $this->detectDatabasePlatform();
  7. $this->platform->setEventManager($this->_eventManager);
  8. $this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
  9. }
  10. return $this->platform;
  1. }
  2. private function getTargetPlatform(): Platforms\AbstractPlatform
  3. {
  4. if (! $this->targetPlatform) {
  5. $this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
  6. }
  7. return $this->targetPlatform;
  8. }
  9. }
  1. */
  2. private function completeIdGeneratorMapping(ClassMetadata $class): void
  3. {
  4. $idGenType = $class->generatorType;
  5. if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
  6. $class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
  7. }
  8. // Create & assign an appropriate ID generator instance
  9. switch ($class->generatorType) {
  10. case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php -> completeIdGeneratorMapping (line 178)
  1. // However this is only true if the hierarchy of parents contains the root entity,
  2. // if it consists of mapped superclasses these don't necessarily include the id field.
  3. if ($parent && $rootEntityFound) {
  4. $this->inheritIdGeneratorMapping($class, $parent);
  5. } else {
  6. $this->completeIdGeneratorMapping($class);
  7. }
  8. if (! $class->isMappedSuperclass) {
  9. if ($rootEntityFound && $class->isInheritanceTypeNone()) {
  10. throw MappingException::missingInheritanceTypeDeclaration(end($nonSuperclassParents), $class->name);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents): void
  5. {
  6. parent::doLoadMetadata($class, $parent, $rootEntityFound, $nonSuperclassParents);
  7. $customGeneratorDefinition = $class->customGeneratorDefinition;
  8. if (! isset($customGeneratorDefinition['instance'])) {
  9. return;
  1. }
  2. $class = $this->newClassMetadataInstance($className);
  3. $this->initializeReflection($class, $reflService);
  4. $this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
  5. $this->loadedMetadata[$className] = $class;
  6. $parent = $class;
  1. /** @phpstan-var CMTemplate $cached */
  2. $this->loadedMetadata[$realClassName] = $cached;
  3. $this->wakeupReflection($cached, $this->getReflectionService());
  4. } else {
  5. $loadedMetadata = $this->loadMetadata($realClassName);
  6. $classNames = array_combine(
  7. array_map($this->getCacheKey(...), $loadedMetadata),
  8. $loadedMetadata,
  9. );
in vendor/doctrine/orm/src/EntityManager.php -> getMetadataFor (line 224)
  1. *
  2. * {@inheritDoc}
  3. */
  4. public function getClassMetadata(string $className): Mapping\ClassMetadata
  5. {
  6. return $this->metadataFactory->getMetadataFor($className);
  7. }
  8. public function createQuery(string $dql = ''): Query
  9. {
  10. $query = new Query($this);
  1. $this->entityClass,
  2. ));
  3. }
  4. /** @var ClassMetadata<T> $classMetadata */
  5. $classMetadata = $manager->getClassMetadata($this->entityClass);
  6. return new EntityRepository($manager, $classMetadata);
  7. }
  8. }
  1. * @psalm-suppress InvalidReturnStatement This proxy is used only in combination with newer parent class
  2. * @psalm-suppress InvalidReturnType This proxy is used only in combination with newer parent class
  3. */
  4. public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array
  5. {
  6. return ($this->repository ??= $this->resolveRepository())
  7. ->findBy($criteria, $orderBy, $limit, $offset);
  8. }
  9. /** {@inheritDoc} */
  10. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
ServiceEntityRepositoryProxy->findBy(array(), array('level' => 'ASC')) in src/Service/Mybiz/Ranking/RankingProvider.php (line 25)
  1. private readonly MemberNodeRepository $memberNodeRepository,
  2. private readonly MemberRepository $memberRepository,
  3. private readonly RankRepository $rankRepository
  4. ) {
  5. // On récupère tous les rangs dans l'ordre hiérarchique défini en BDD
  6. $this->allRanks = $this->rankRepository->findBy([], [
  7. "level" => "ASC"
  8. ]);
  9. }
  1. */
  2. public static function do($container, $lazyLoad = true)
  3. {
  4. include_once \dirname(__DIR__, 4).'/src/Service/Mybiz/Ranking/RankingProvider.php';
  5. return $container->services['App\\Service\\Mybiz\\Ranking\\RankingProvider'] = new \App\Service\Mybiz\Ranking\RankingProvider(($container->services['App\\Service\\Member\\Subscription\\Freedom\\MemberFreedomChecker'] ?? $container->load('getMemberFreedomCheckerService')), ($container->privates['App\\Repository\\Member\\MemberNodeRepository'] ?? $container->load('getMemberNodeRepositoryService')), ($container->privates['App\\Repository\\Member\\MemberRepository'] ?? $container->load('getMemberRepositoryService')), ($container->privates['App\\Repository\\Mybiz\\RankRepository'] ?? $container->load('getRankRepositoryService')));
  6. }
  7. }
  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';
  1. */
  2. public static function do($container, $lazyLoad = true)
  3. {
  4. include_once \dirname(__DIR__, 4).'/src/Service/Member/MemberQualificationChecker.php';
  5. return $container->services['App\\Service\\Member\\MemberQualificationChecker'] = new \App\Service\Member\MemberQualificationChecker(($container->services['App\\Service\\Mybiz\\Ranking\\RankingProvider'] ?? $container->load('getRankingProviderService')));
  6. }
  7. }
  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';
  1. if (isset($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'])) {
  2. return $container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'];
  3. }
  4. $instance = new \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter(new \App\Security\Voter\DirectorOrMoreAccessVoter(($container->services['App\\Service\\Member\\MemberQualificationChecker'] ?? $container->load('getMemberQualificationCheckerService'))), $a);
  5. if (isset($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'])) {
  6. return $container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'];
  7. }
  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';
  1. yield 1 => ($container->privates['.debug.security.voter.security.access.simple_role_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_SimpleRoleVoterService'));
  2. yield 2 => ($container->privates['.debug.security.voter.security.access.expression_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_ExpressionVoterService'));
  3. yield 3 => ($container->privates['.debug.security.voter.security.access.closure_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_ClosureVoterService'));
  4. yield 4 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\CRM\\CRMAccessVoter'] ?? $container->load('getCRMAccessVoterService'));
  5. yield 5 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\CRM\\SwitchToCustomerVoter'] ?? $container->load('getSwitchToCustomerVoterService'));
  6. yield 6 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'] ?? $container->load('getDirectorOrMoreAccessVoterService'));
  7. yield 7 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\DistributorAccessVoter'] ?? $container->load('getDistributorAccessVoterService'));
  8. yield 8 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\FeatureAccessVoter'] ?? $container->load('getFeatureAccessVoterService'));
  9. yield 9 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\FeatureTypeAccessVoter'] ?? $container->load('getFeatureTypeAccessVoterService'));
  10. yield 10 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\InsiderAccessVoter'] ?? $container->load('getInsiderAccessVoterService'));
  11. yield 11 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\LiveAccessVoter'] ?? $container->load('getLiveAccessVoterService'));
in vendor/symfony/security-core/Authorization/AccessDecisionManager.php :: {closure:ContainerJKahk7l\App_KernelDevDebugContainer::getDebug_Security_Access_DecisionManagerService():2689} (line 115)
  1. foreach ($attributes as $attribute) {
  2. $keyAttributes[] = \is_string($attribute) ? $attribute : null;
  3. }
  4. // use `get_class` to handle anonymous classes
  5. $keyObject = \is_object($object) ? $object::class : get_debug_type($object);
  6. foreach ($this->voters as $key => $voter) {
  7. if (!$voter instanceof CacheableVoterInterface) {
  8. yield $voter;
  9. continue;
  10. }
  1. /**
  2. * @return \Traversable<int, VoterInterface::ACCESS_*>
  3. */
  4. private function collectResults(TokenInterface $token, array $attributes, mixed $object, AccessDecision $accessDecision): \Traversable
  5. {
  6. foreach ($this->getVoters($attributes, $object) as $voter) {
  7. $vote = new Vote();
  8. $result = $voter->vote($token, $object, $attributes, $vote);
  9. if (!\is_int($result) || !(self::VALID_VOTES[$result] ?? false)) {
  10. throw new \LogicException(\sprintf('"%s::vote()" must return one of "%s" constants ("ACCESS_GRANTED", "ACCESS_DENIED" or "ACCESS_ABSTAIN"), "%s" returned.', get_debug_type($voter), VoterInterface::class, var_export($result, true)));
  1. }
  2. public function decide(\Traversable $results, ?AccessDecision $accessDecision = null): bool
  3. {
  4. $deny = 0;
  5. foreach ($results as $result) {
  6. if (VoterInterface::ACCESS_GRANTED === $result) {
  7. return true;
  8. }
  9. if (VoterInterface::ACCESS_DENIED === $result) {
  1. $this->accessDecisionStack[] = $accessDecision;
  2. $accessDecision->strategy = $this->strategy instanceof \Stringable ? $this->strategy : get_debug_type($this->strategy);
  3. try {
  4. return $accessDecision->isGranted = $this->strategy->decide(
  5. $this->collectResults($token, $attributes, $object, $accessDecision),
  6. $accessDecision,
  7. );
  8. } finally {
  9. array_pop($this->accessDecisionStack);
  1. $accessDecision ??= end($this->accessDecisionStack) ?: new AccessDecision();
  2. $this->accessDecisionStack[] = $accessDecision;
  3. try {
  4. return $accessDecision->isGranted = $this->manager->decide($token, $attributes, $object, $accessDecision, $allowMultipleAttributes);
  5. } finally {
  6. $this->strategy = $accessDecision->strategy;
  7. $currentLog = array_pop($this->currentLog);
  8. if (isset($accessDecision->isGranted)) {
  9. $currentLog['result'] = $accessDecision->isGranted;
  1. }
  2. $token = $this->tokenStorage->getToken() ?? new NullToken();
  3. $accessDecision = new AccessDecision();
  4. if (!$accessDecision->isGranted = $this->accessDecisionManager->decide($token, $attributes, $request, $accessDecision, true)) {
  5. $e = new AccessDeniedException($accessDecision->getMessage());
  6. $e->setAttributes($attributes);
  7. $e->setSubject($request);
  8. $e->setAccessDecision($accessDecision);
  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 {
  1. }
  2. }
  3. if (!$lazy) {
  4. foreach ($listeners as $listener) {
  5. $listener($event);
  6. if ($event->hasResponse()) {
  7. return;
  8. }
  9. }
  1. foreach ($requestListeners as $listener) {
  2. if (!$listener instanceof FirewallListenerInterface) {
  3. $listener($event);
  4. } elseif (false !== $listener->supports($event->getRequest())) {
  5. $listener->authenticate($event);
  6. }
  7. if ($event->hasResponse()) {
  8. break;
  9. }
in vendor/symfony/security-http/Firewall.php -> callListeners (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();
  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. }
  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.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  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. }
  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. }
  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. }
  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. }
Kernel->handle(object(Request)) in public/index.php (line 33)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request = Request::createFromGlobals();
  6. $response = $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request, $response);

PDOException

SQLSTATE[HY000] [1040] Too many connections

  1. ): PDO {
  2. if (PHP_VERSION_ID < 80400) {
  3. return new PDO($dsn, $username, $password, $options);
  4. }
  5. return PDO::connect($dsn, $username, $password, $options);
  6. }
  7. }
  1. ): PDO {
  2. if (PHP_VERSION_ID < 80400) {
  3. return new PDO($dsn, $username, $password, $options);
  4. }
  5. return PDO::connect($dsn, $username, $password, $options);
  6. }
  7. }
  1. $safeParams = $params;
  2. unset($safeParams['password'], $safeParams['url']);
  3. try {
  4. $pdo = $this->doConnect(
  5. $this->constructPdoDsn($safeParams),
  6. $params['user'] ?? '',
  7. $params['password'] ?? '',
  8. $driverOptions,
  9. );
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. array $params
  2. ) {
  3. $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4. return new Connection(
  5. parent::connect($params),
  6. $this->logger,
  7. );
  8. }
  9. /**
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. parent::__construct($driver);
  2. }
  3. public function connect(array $params): ConnectionInterface
  4. {
  5. $connection = parent::connect($params);
  6. if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {
  7. return new DBAL3\Connection(
  8. $connection,
  9. $this->debugDataHolder,
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. }
  2. public function connect(array $params): ConnectionInterface
  3. {
  4. $timestamp = time();
  5. $connection = parent::connect($params);
  6. $this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;
  7. return $connection;
  8. }
  9. }
  1. */
  2. public function connect(
  3. #[SensitiveParameter]
  4. array $params
  5. ) {
  6. return $this->wrappedDriver->connect($params);
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
  1. * @phpstan-param ConnectionParams $params
  2. */
  3. public function connect(array $params): TracingDriverConnectionInterface
  4. {
  5. return $this->connectionFactory->create(
  6. parent::connect($params),
  7. $this->getDatabasePlatform(),
  8. $params
  9. );
  10. }
  11. }
  1. if ($this->_conn !== null) {
  2. return false;
  3. }
  4. try {
  5. $this->_conn = $this->_driver->connect($this->params);
  6. } catch (Driver\Exception $e) {
  7. throw $this->convertException($e);
  8. }
  9. if ($this->autoCommit === false) {
  1. }
  2. // If not connected, we need to connect now to determine the platform version.
  3. if ($this->_conn === null) {
  4. try {
  5. $this->connect();
  6. } catch (Exception $originalException) {
  7. if (! isset($this->params['dbname'])) {
  8. throw $originalException;
  9. }
in vendor/doctrine/dbal/src/Connection.php -> getDatabasePlatformVersion (line 416)
  1. *
  2. * @throws Exception If an invalid platform was specified for this connection.
  3. */
  4. private function detectDatabasePlatform(): AbstractPlatform
  5. {
  6. $version = $this->getDatabasePlatformVersion();
  7. if ($version !== null) {
  8. assert($this->_driver instanceof VersionAwarePlatformDriver);
  9. return $this->_driver->createDatabasePlatformForVersion($version);
in vendor/doctrine/dbal/src/Connection.php -> detectDatabasePlatform (line 323)
  1. * @throws Exception
  2. */
  3. public function getDatabasePlatform()
  4. {
  5. if ($this->platform === null) {
  6. $this->platform = $this->detectDatabasePlatform();
  7. $this->platform->setEventManager($this->_eventManager);
  8. $this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
  9. }
  10. return $this->platform;
  1. }
  2. private function getTargetPlatform(): Platforms\AbstractPlatform
  3. {
  4. if (! $this->targetPlatform) {
  5. $this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
  6. }
  7. return $this->targetPlatform;
  8. }
  9. }
  1. */
  2. private function completeIdGeneratorMapping(ClassMetadata $class): void
  3. {
  4. $idGenType = $class->generatorType;
  5. if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
  6. $class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
  7. }
  8. // Create & assign an appropriate ID generator instance
  9. switch ($class->generatorType) {
  10. case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php -> completeIdGeneratorMapping (line 178)
  1. // However this is only true if the hierarchy of parents contains the root entity,
  2. // if it consists of mapped superclasses these don't necessarily include the id field.
  3. if ($parent && $rootEntityFound) {
  4. $this->inheritIdGeneratorMapping($class, $parent);
  5. } else {
  6. $this->completeIdGeneratorMapping($class);
  7. }
  8. if (! $class->isMappedSuperclass) {
  9. if ($rootEntityFound && $class->isInheritanceTypeNone()) {
  10. throw MappingException::missingInheritanceTypeDeclaration(end($nonSuperclassParents), $class->name);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents): void
  5. {
  6. parent::doLoadMetadata($class, $parent, $rootEntityFound, $nonSuperclassParents);
  7. $customGeneratorDefinition = $class->customGeneratorDefinition;
  8. if (! isset($customGeneratorDefinition['instance'])) {
  9. return;
  1. }
  2. $class = $this->newClassMetadataInstance($className);
  3. $this->initializeReflection($class, $reflService);
  4. $this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
  5. $this->loadedMetadata[$className] = $class;
  6. $parent = $class;
  1. /** @phpstan-var CMTemplate $cached */
  2. $this->loadedMetadata[$realClassName] = $cached;
  3. $this->wakeupReflection($cached, $this->getReflectionService());
  4. } else {
  5. $loadedMetadata = $this->loadMetadata($realClassName);
  6. $classNames = array_combine(
  7. array_map($this->getCacheKey(...), $loadedMetadata),
  8. $loadedMetadata,
  9. );
in vendor/doctrine/orm/src/EntityManager.php -> getMetadataFor (line 224)
  1. *
  2. * {@inheritDoc}
  3. */
  4. public function getClassMetadata(string $className): Mapping\ClassMetadata
  5. {
  6. return $this->metadataFactory->getMetadataFor($className);
  7. }
  8. public function createQuery(string $dql = ''): Query
  9. {
  10. $query = new Query($this);
  1. $this->entityClass,
  2. ));
  3. }
  4. /** @var ClassMetadata<T> $classMetadata */
  5. $classMetadata = $manager->getClassMetadata($this->entityClass);
  6. return new EntityRepository($manager, $classMetadata);
  7. }
  8. }
  1. * @psalm-suppress InvalidReturnStatement This proxy is used only in combination with newer parent class
  2. * @psalm-suppress InvalidReturnType This proxy is used only in combination with newer parent class
  3. */
  4. public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array
  5. {
  6. return ($this->repository ??= $this->resolveRepository())
  7. ->findBy($criteria, $orderBy, $limit, $offset);
  8. }
  9. /** {@inheritDoc} */
  10. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
ServiceEntityRepositoryProxy->findBy(array(), array('level' => 'ASC')) in src/Service/Mybiz/Ranking/RankingProvider.php (line 25)
  1. private readonly MemberNodeRepository $memberNodeRepository,
  2. private readonly MemberRepository $memberRepository,
  3. private readonly RankRepository $rankRepository
  4. ) {
  5. // On récupère tous les rangs dans l'ordre hiérarchique défini en BDD
  6. $this->allRanks = $this->rankRepository->findBy([], [
  7. "level" => "ASC"
  8. ]);
  9. }
  1. */
  2. public static function do($container, $lazyLoad = true)
  3. {
  4. include_once \dirname(__DIR__, 4).'/src/Service/Mybiz/Ranking/RankingProvider.php';
  5. return $container->services['App\\Service\\Mybiz\\Ranking\\RankingProvider'] = new \App\Service\Mybiz\Ranking\RankingProvider(($container->services['App\\Service\\Member\\Subscription\\Freedom\\MemberFreedomChecker'] ?? $container->load('getMemberFreedomCheckerService')), ($container->privates['App\\Repository\\Member\\MemberNodeRepository'] ?? $container->load('getMemberNodeRepositoryService')), ($container->privates['App\\Repository\\Member\\MemberRepository'] ?? $container->load('getMemberRepositoryService')), ($container->privates['App\\Repository\\Mybiz\\RankRepository'] ?? $container->load('getRankRepositoryService')));
  6. }
  7. }
  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';
  1. */
  2. public static function do($container, $lazyLoad = true)
  3. {
  4. include_once \dirname(__DIR__, 4).'/src/Service/Member/MemberQualificationChecker.php';
  5. return $container->services['App\\Service\\Member\\MemberQualificationChecker'] = new \App\Service\Member\MemberQualificationChecker(($container->services['App\\Service\\Mybiz\\Ranking\\RankingProvider'] ?? $container->load('getRankingProviderService')));
  6. }
  7. }
  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';
  1. if (isset($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'])) {
  2. return $container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'];
  3. }
  4. $instance = new \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter(new \App\Security\Voter\DirectorOrMoreAccessVoter(($container->services['App\\Service\\Member\\MemberQualificationChecker'] ?? $container->load('getMemberQualificationCheckerService'))), $a);
  5. if (isset($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'])) {
  6. return $container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'];
  7. }
  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';
  1. yield 1 => ($container->privates['.debug.security.voter.security.access.simple_role_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_SimpleRoleVoterService'));
  2. yield 2 => ($container->privates['.debug.security.voter.security.access.expression_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_ExpressionVoterService'));
  3. yield 3 => ($container->privates['.debug.security.voter.security.access.closure_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_ClosureVoterService'));
  4. yield 4 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\CRM\\CRMAccessVoter'] ?? $container->load('getCRMAccessVoterService'));
  5. yield 5 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\CRM\\SwitchToCustomerVoter'] ?? $container->load('getSwitchToCustomerVoterService'));
  6. yield 6 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\DirectorOrMoreAccessVoter'] ?? $container->load('getDirectorOrMoreAccessVoterService'));
  7. yield 7 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\DistributorAccessVoter'] ?? $container->load('getDistributorAccessVoterService'));
  8. yield 8 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\FeatureAccessVoter'] ?? $container->load('getFeatureAccessVoterService'));
  9. yield 9 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\FeatureTypeAccessVoter'] ?? $container->load('getFeatureTypeAccessVoterService'));
  10. yield 10 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\InsiderAccessVoter'] ?? $container->load('getInsiderAccessVoterService'));
  11. yield 11 => ($container->privates['.debug.security.voter.App\\Security\\Voter\\LiveAccessVoter'] ?? $container->load('getLiveAccessVoterService'));
in vendor/symfony/security-core/Authorization/AccessDecisionManager.php :: {closure:ContainerJKahk7l\App_KernelDevDebugContainer::getDebug_Security_Access_DecisionManagerService():2689} (line 115)
  1. foreach ($attributes as $attribute) {
  2. $keyAttributes[] = \is_string($attribute) ? $attribute : null;
  3. }
  4. // use `get_class` to handle anonymous classes
  5. $keyObject = \is_object($object) ? $object::class : get_debug_type($object);
  6. foreach ($this->voters as $key => $voter) {
  7. if (!$voter instanceof CacheableVoterInterface) {
  8. yield $voter;
  9. continue;
  10. }
  1. /**
  2. * @return \Traversable<int, VoterInterface::ACCESS_*>
  3. */
  4. private function collectResults(TokenInterface $token, array $attributes, mixed $object, AccessDecision $accessDecision): \Traversable
  5. {
  6. foreach ($this->getVoters($attributes, $object) as $voter) {
  7. $vote = new Vote();
  8. $result = $voter->vote($token, $object, $attributes, $vote);
  9. if (!\is_int($result) || !(self::VALID_VOTES[$result] ?? false)) {
  10. throw new \LogicException(\sprintf('"%s::vote()" must return one of "%s" constants ("ACCESS_GRANTED", "ACCESS_DENIED" or "ACCESS_ABSTAIN"), "%s" returned.', get_debug_type($voter), VoterInterface::class, var_export($result, true)));
  1. }
  2. public function decide(\Traversable $results, ?AccessDecision $accessDecision = null): bool
  3. {
  4. $deny = 0;
  5. foreach ($results as $result) {
  6. if (VoterInterface::ACCESS_GRANTED === $result) {
  7. return true;
  8. }
  9. if (VoterInterface::ACCESS_DENIED === $result) {
  1. $this->accessDecisionStack[] = $accessDecision;
  2. $accessDecision->strategy = $this->strategy instanceof \Stringable ? $this->strategy : get_debug_type($this->strategy);
  3. try {
  4. return $accessDecision->isGranted = $this->strategy->decide(
  5. $this->collectResults($token, $attributes, $object, $accessDecision),
  6. $accessDecision,
  7. );
  8. } finally {
  9. array_pop($this->accessDecisionStack);
  1. $accessDecision ??= end($this->accessDecisionStack) ?: new AccessDecision();
  2. $this->accessDecisionStack[] = $accessDecision;
  3. try {
  4. return $accessDecision->isGranted = $this->manager->decide($token, $attributes, $object, $accessDecision, $allowMultipleAttributes);
  5. } finally {
  6. $this->strategy = $accessDecision->strategy;
  7. $currentLog = array_pop($this->currentLog);
  8. if (isset($accessDecision->isGranted)) {
  9. $currentLog['result'] = $accessDecision->isGranted;
  1. }
  2. $token = $this->tokenStorage->getToken() ?? new NullToken();
  3. $accessDecision = new AccessDecision();
  4. if (!$accessDecision->isGranted = $this->accessDecisionManager->decide($token, $attributes, $request, $accessDecision, true)) {
  5. $e = new AccessDeniedException($accessDecision->getMessage());
  6. $e->setAttributes($attributes);
  7. $e->setSubject($request);
  8. $e->setAccessDecision($accessDecision);
  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 {
  1. }
  2. }
  3. if (!$lazy) {
  4. foreach ($listeners as $listener) {
  5. $listener($event);
  6. if ($event->hasResponse()) {
  7. return;
  8. }
  9. }
  1. foreach ($requestListeners as $listener) {
  2. if (!$listener instanceof FirewallListenerInterface) {
  3. $listener($event);
  4. } elseif (false !== $listener->supports($event->getRequest())) {
  5. $listener->authenticate($event);
  6. }
  7. if ($event->hasResponse()) {
  8. break;
  9. }
in vendor/symfony/security-http/Firewall.php -> callListeners (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();
  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. }
  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.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  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. }
  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. }
  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. }
  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. }
Kernel->handle(object(Request)) in public/index.php (line 33)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request = Request::createFromGlobals();
  6. $response = $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request, $response);

Logs

Level Channel Message
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\ZoneMatcherListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "FOS\\RestBundle\\EventListener\\ZoneMatcherListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\RequestListener::handleKernelRequestEvent".
{
    "event": "kernel.request",
    "listener": "Sentry\\SentryBundle\\EventListener\\RequestListener::handleKernelRequestEvent"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\TracingRequestListener::handleKernelRequestEvent".
{
    "event": "kernel.request",
    "listener": "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelRequestEvent"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\SubRequestListener::handleKernelRequestEvent".
{
    "event": "kernel.request",
    "listener": "Sentry\\SentryBundle\\EventListener\\SubRequestListener::handleKernelRequestEvent"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\TracingSubRequestListener::handleKernelRequestEvent".
{
    "event": "kernel.request",
    "listener": "Sentry\\SentryBundle\\EventListener\\TracingSubRequestListener::handleKernelRequestEvent"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\LoginListener::handleKernelRequestEvent".
{
    "event": "kernel.request",
    "listener": "Sentry\\SentryBundle\\EventListener\\LoginListener::handleKernelRequestEvent"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "App\EventListener\RequestSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\RequestSubscriber::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "App\EventListener\TwigGlobalsSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\TwigGlobalsSubscriber::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "FOS\HttpCacheBundle\EventListener\AttributesListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "FOS\\HttpCacheBundle\\EventListener\\AttributesListener::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.request" to listener "App\EventListener\MyBizJwtUserSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventListener\\MyBizJwtUserSubscriber::onKernelRequest"
}
DEBUG 00:31:41 event Notified event "kernel.controller" to listener "Sentry\SentryBundle\EventListener\RequestListener::handleKernelControllerEvent".
{
    "event": "kernel.controller",
    "listener": "Sentry\\SentryBundle\\EventListener\\RequestListener::handleKernelControllerEvent"
}
DEBUG 00:31:41 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 00:31:41 event Notified event "kernel.controller" to listener "App\EventListener\Api\TokenInterceptor\MybizTokenSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "App\\EventListener\\Api\\TokenInterceptor\\MybizTokenSubscriber::onKernelController"
}
DEBUG 00:31:41 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 00:31:41 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\IsSignatureValidAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\IsSignatureValidAttributeListener::onKernelControllerArguments"
}
DEBUG 00:31:41 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
DEBUG 00:31:41 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 00:31:41 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 00:31:41 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments"
}
DEBUG 00:31:41 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred in the driver: SQLSTATE[HY000] [1040] Too many connections

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:129
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null)
     (vendor/doctrine/dbal/src/Connection.php:1976)
  at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null)
     (vendor/doctrine/dbal/src/Connection.php:1924)
  at Doctrine\DBAL\Connection->convertException(object(Exception))
     (vendor/doctrine/dbal/src/Connection.php:385)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:458)
  at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
     (vendor/doctrine/dbal/src/Connection.php:416)
  at Doctrine\DBAL\Connection->detectDatabasePlatform()
     (vendor/doctrine/dbal/src/Connection.php:323)
  at Doctrine\DBAL\Connection->getDatabasePlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:740)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:550)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(object(ClassMetadata))
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:178)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
     (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:20)
  at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:318)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:187)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/orm/src/EntityManager.php:224)
  at Doctrine\ORM\EntityManager->getClassMetadata('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:134)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->resolveRepository()
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:72)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findBy(array(), array('level' => 'ASC'))
     (src/Service/Mybiz/Ranking/RankingProvider.php:25)
  at App\Service\Mybiz\Ranking\RankingProvider->__construct(object(MemberFreedomChecker), object(MemberNodeRepository), object(MemberRepository), object(RankRepository))
     (var/cache/dev/ContainerJKahk7l/getRankingProviderService.php:23)
  at ContainerJKahk7l\getRankingProviderService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getRankingProviderService.php')
     (var/cache/dev/ContainerJKahk7l/getMemberQualificationCheckerService.php:23)
  at ContainerJKahk7l\getMemberQualificationCheckerService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getMemberQualificationCheckerService.php')
     (var/cache/dev/ContainerJKahk7l/getDirectorOrMoreAccessVoterService.php:33)
  at ContainerJKahk7l\getDirectorOrMoreAccessVoterService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getDirectorOrMoreAccessVoterService.php')
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:2696)
  at ContainerJKahk7l\App_KernelDevDebugContainer::{closure:ContainerJKahk7l\App_KernelDevDebugContainer::getDebug_Security_Access_DecisionManagerService():2689}()
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:115)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->getVoters(array('ROLE_USER'), object(Request))
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:87)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->collectResults(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision))
     (vendor/symfony/security-core/Authorization/Strategy/AffirmativeStrategy.php:36)
  at Symfony\Component\Security\Core\Authorization\Strategy\AffirmativeStrategy->decide(object(Generator), object(AccessDecision))
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:73)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->decide(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision), true)
     (vendor/symfony/security-core/Authorization/TraceableAccessDecisionManager.php:57)
  at Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager->decide(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision), true)
     (vendor/symfony/security-http/Firewall/AccessListener.php:78)
  at Symfony\Component\Security\Http\Firewall\AccessListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:46)
  at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Security/LazyFirewallContext.php:70)
  at Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:94)
  at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator))
     (vendor/symfony/security-http/Firewall.php:86)
  at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (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), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:33)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [1040] Too many connections

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:43)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com', 'port' => 3306, 'user' => 'mybiz_usr', 'password' => '230BNT1J8HYw8EfAE', 'driverOptions' => array(), 'defaultTableOptions' => array('collation' => 'utf8mb4_unicode_ci'), 'dbname' => 'mybiz_db', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
  at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com', 'port' => 3306, 'user' => 'mybiz_usr', 'password' => '230BNT1J8HYw8EfAE', 'driverOptions' => array(), 'defaultTableOptions' => array('collation' => 'utf8mb4_unicode_ci'), 'dbname' => 'mybiz_db', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php:47)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV3->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com', 'port' => 3306, 'user' => 'mybiz_usr', 'password' => '230BNT1J8HYw8EfAE', 'driverOptions' => array(), 'defaultTableOptions' => array('collation' => 'utf8mb4_unicode_ci'), 'dbname' => 'mybiz_db', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Connection.php:383)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:458)
  at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
     (vendor/doctrine/dbal/src/Connection.php:416)
  at Doctrine\DBAL\Connection->detectDatabasePlatform()
     (vendor/doctrine/dbal/src/Connection.php:323)
  at Doctrine\DBAL\Connection->getDatabasePlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:740)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:550)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(object(ClassMetadata))
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:178)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
     (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:20)
  at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:318)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:187)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/orm/src/EntityManager.php:224)
  at Doctrine\ORM\EntityManager->getClassMetadata('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:134)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->resolveRepository()
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:72)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findBy(array(), array('level' => 'ASC'))
     (src/Service/Mybiz/Ranking/RankingProvider.php:25)
  at App\Service\Mybiz\Ranking\RankingProvider->__construct(object(MemberFreedomChecker), object(MemberNodeRepository), object(MemberRepository), object(RankRepository))
     (var/cache/dev/ContainerJKahk7l/getRankingProviderService.php:23)
  at ContainerJKahk7l\getRankingProviderService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getRankingProviderService.php')
     (var/cache/dev/ContainerJKahk7l/getMemberQualificationCheckerService.php:23)
  at ContainerJKahk7l\getMemberQualificationCheckerService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getMemberQualificationCheckerService.php')
     (var/cache/dev/ContainerJKahk7l/getDirectorOrMoreAccessVoterService.php:33)
  at ContainerJKahk7l\getDirectorOrMoreAccessVoterService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getDirectorOrMoreAccessVoterService.php')
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:2696)
  at ContainerJKahk7l\App_KernelDevDebugContainer::{closure:ContainerJKahk7l\App_KernelDevDebugContainer::getDebug_Security_Access_DecisionManagerService():2689}()
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:115)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->getVoters(array('ROLE_USER'), object(Request))
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:87)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->collectResults(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision))
     (vendor/symfony/security-core/Authorization/Strategy/AffirmativeStrategy.php:36)
  at Symfony\Component\Security\Core\Authorization\Strategy\AffirmativeStrategy->decide(object(Generator), object(AccessDecision))
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:73)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->decide(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision), true)
     (vendor/symfony/security-core/Authorization/TraceableAccessDecisionManager.php:57)
  at Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager->decide(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision), true)
     (vendor/symfony/security-http/Firewall/AccessListener.php:78)
  at Symfony\Component\Security\Http\Firewall\AccessListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:46)
  at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Security/LazyFirewallContext.php:70)
  at Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:94)
  at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator))
     (vendor/symfony/security-http/Firewall.php:86)
  at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (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), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:33)                
[1/3] PDOException
PDOException:
SQLSTATE[HY000] [1040] Too many connections

  at vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:28
  at PDO::connect('mysql:host=dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com;port=3306;dbname=mybiz_db;charset=utf8mb4;', 'mybiz_usr', object(SensitiveParameterValue), array())
     (vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:28)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->doConnect(object(SensitiveParameterValue), 'mybiz_usr', object(SensitiveParameterValue), array())
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:36)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com', 'port' => 3306, 'user' => 'mybiz_usr', 'password' => '230BNT1J8HYw8EfAE', 'driverOptions' => array(), 'defaultTableOptions' => array('collation' => 'utf8mb4_unicode_ci'), 'dbname' => 'mybiz_db', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
  at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com', 'port' => 3306, 'user' => 'mybiz_usr', 'password' => '230BNT1J8HYw8EfAE', 'driverOptions' => array(), 'defaultTableOptions' => array('collation' => 'utf8mb4_unicode_ci'), 'dbname' => 'mybiz_db', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php:47)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV3->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'dev-mybiz-mariadb-frontend.cq2wogictbky.eu-west-3.rds.amazonaws.com', 'port' => 3306, 'user' => 'mybiz_usr', 'password' => '230BNT1J8HYw8EfAE', 'driverOptions' => array(), 'defaultTableOptions' => array('collation' => 'utf8mb4_unicode_ci'), 'dbname' => 'mybiz_db', 'charset' => 'utf8mb4'))
     (vendor/doctrine/dbal/src/Connection.php:383)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:458)
  at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
     (vendor/doctrine/dbal/src/Connection.php:416)
  at Doctrine\DBAL\Connection->detectDatabasePlatform()
     (vendor/doctrine/dbal/src/Connection.php:323)
  at Doctrine\DBAL\Connection->getDatabasePlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:740)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:550)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(object(ClassMetadata))
     (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:178)
  at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
     (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:20)
  at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:318)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:187)
  at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/orm/src/EntityManager.php:224)
  at Doctrine\ORM\EntityManager->getClassMetadata('App\\Entity\\Mybiz\\Rank')
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:134)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->resolveRepository()
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:72)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findBy(array(), array('level' => 'ASC'))
     (src/Service/Mybiz/Ranking/RankingProvider.php:25)
  at App\Service\Mybiz\Ranking\RankingProvider->__construct(object(MemberFreedomChecker), object(MemberNodeRepository), object(MemberRepository), object(RankRepository))
     (var/cache/dev/ContainerJKahk7l/getRankingProviderService.php:23)
  at ContainerJKahk7l\getRankingProviderService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getRankingProviderService.php')
     (var/cache/dev/ContainerJKahk7l/getMemberQualificationCheckerService.php:23)
  at ContainerJKahk7l\getMemberQualificationCheckerService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getMemberQualificationCheckerService.php')
     (var/cache/dev/ContainerJKahk7l/getDirectorOrMoreAccessVoterService.php:33)
  at ContainerJKahk7l\getDirectorOrMoreAccessVoterService::do(object(App_KernelDevDebugContainer), true)
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:1390)
  at ContainerJKahk7l\App_KernelDevDebugContainer->load('getDirectorOrMoreAccessVoterService.php')
     (var/cache/dev/ContainerJKahk7l/App_KernelDevDebugContainer.php:2696)
  at ContainerJKahk7l\App_KernelDevDebugContainer::{closure:ContainerJKahk7l\App_KernelDevDebugContainer::getDebug_Security_Access_DecisionManagerService():2689}()
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:115)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->getVoters(array('ROLE_USER'), object(Request))
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:87)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->collectResults(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision))
     (vendor/symfony/security-core/Authorization/Strategy/AffirmativeStrategy.php:36)
  at Symfony\Component\Security\Core\Authorization\Strategy\AffirmativeStrategy->decide(object(Generator), object(AccessDecision))
     (vendor/symfony/security-core/Authorization/AccessDecisionManager.php:73)
  at Symfony\Component\Security\Core\Authorization\AccessDecisionManager->decide(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision), true)
     (vendor/symfony/security-core/Authorization/TraceableAccessDecisionManager.php:57)
  at Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager->decide(object(NullToken), array('ROLE_USER'), object(Request), object(AccessDecision), true)
     (vendor/symfony/security-http/Firewall/AccessListener.php:78)
  at Symfony\Component\Security\Http\Firewall\AccessListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:46)
  at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Security/LazyFirewallContext.php:70)
  at Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:94)
  at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator))
     (vendor/symfony/security-http/Firewall.php:86)
  at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (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), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:33)