🇧🇪Belgium @sonneworks

Account created on 10 January 2013, almost 12 years ago
#

Recent comments

🇧🇪Belgium sonneworks

I fixed this in my project.
added the symfony intl component (composer require symfony/intl)
creating a translated country list with Countries::getNames($this->languageManager->getCurrentLanguage()->getId());

This list has upper case keys and the library requires lowercase so: array_change_key_case($countryList, CASE_LOWER)

Since i'm only using this module in a custom form i'm passing the list using drupalSettings

🇧🇪Belgium sonneworks

@will_frank sorry, was on holiday, didn't have access to codebase :)

🇧🇪Belgium sonneworks

I have the same issue on D10
In the FloodControlServiceProvider::alter method ... instead of setting a new service definition i'm updating the existing one... which seems to work:

$container->getDefinition('flood_control.flood_unblock_manager')
  ->setClass(FloodUnblockManagerRedis::class)
  ->setArguments( [
        new Reference('redis.factory'),
        new Reference('flood'),
        new Reference('config.factory'),
        new Reference('entity_type.manager'),
        new Reference('messenger'),
      ]);

not sure why

Production build 0.71.5 2024