Closed e1sep0 closed 4 years ago
Have a same issue when you change use from Doctrine\Common\Persistence\Mapping\ClassMetadataFactory to Doctrine\ORM\Mapping\ClassMetadataFactory it works need fix :(
Hello, Latest version of https://github.com/a2lix/AutoFormBundle/releases/tag/0.3.2 should fix the problem.
Hello, i have problem with Symfony 5, EasyAdmin 3, KNP Translatable and A2lix form:
I made new Field in EasyAdmin:
And use it in CrudController:
And got new error from A2lix:
Argument 1 passed to A2lix\AutoFormBundle\ObjectInfo\DoctrineORMInfo::__construct() must be an instance of Doctrine\Common\Persistence\Mapping\ClassMetadataFactory, instance of Doctrine\ORM\Mapping\ClassMetadataFactory given, called in /var/www/kr/sova-grade-form/var/cache/dev/ContainerSd2qxYP/getA2lixAutoForm_Form_Manipulator_DoctrineOrmManipulatorService.php on line 24
I removed parameter type in __construct and method getAssocsConfig for test, and it works. How can i fix it without changing a2lix bundle?) Thank you