我有一个验证器,看起来像这样: class ValidUSPSAddressValidator extends ConstraintValidator
{
public function validate($protocol, Constraint $constraint)
{
$verify = new USPSAddressVerify('***
我使用的Symfony 3.3.9当我试图呈现一个形式,我有以下错误: An exception has been thrown during the rendering of a template ("Unable to render the form because the block names array contains duplicates: "_fos_user_registrati