Problem/Motivation

Can't add my bank account details, on save I get this error log message:
Symfony\Component\Validator\Exception\LogicException: The Intl component is required to use the Bic constraint. Try running "composer require symfony/intl". in Symfony\Component\Validator\Constraints\Bic->__construct() (line 57 of /var/www/html/vendor/symfony/validator/Constraints/Bic.php).

Steps to reproduce

Clean install on D10 with composer and necessary steps (create store, currencies, etc.)
Go to /user/1/withdrawal-methods/bank-account/edit
add bank account details and try to save
get "The website encountered an unexpected error. Please try again later." error on blank page
bank account details are not saved

Proposed resolution

composer require symfony/intl seems to have solved the issue.

Comments

kopeboy created an issue. See original summary.

aporie’s picture

This has been escalated to symfony: https://github.com/symfony/symfony/issues/50051

In the meanwhile, your workaround does the trick.

  • Aporie committed 2d5b3634 on 2.x
    Issue #3354477 by kopeboy, Aporie: Add symfony/intl to composer require...
aporie’s picture

Status: Active » Fixed

Needs to be taken on module side.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.