Closed grekpg closed 2 years ago
ok downgrade to "jgrygierek/sonata-batch-entity-import-bundle": "v1.0.5", help. i wait for update sonata to 4 for update rest
Hi, thx for info, I will check it.
@grekpg I updated SonataBatchEntityImportBundle for Sonata v3, please check version 1.3.0.
work now, thanks :)
"jgrygierek/sonata-batch-entity-import-bundle": "v1.2.1",
"sonata-project/admin-bundle": "3.106.1", "sonata-project/doctrine-orm-admin-bundle": "^3.35.0", "sonata-project/translation-bundle": "^2.9.1", "symfony/framework-bundle": "4.4.*",
PHP Fatal error: Declaration of JG\SonataBatchEntityImportBundle\Controller\ImportControllerTrait::createMatrixForm(JG\BatchEntityImportBundle\Model\Matrix\Matrix $matrix, Doctrine\ORM\EntityManagerInterface $entityManager): Symfony\Component\Form\FormInterface must be compatible with JG\BatchEntityImportBundle\Controller\BaseImportControllerTrait::createMatrixForm(JG\BatchEntityImportBundle\Model\Matrix\Matrix $matrix): Symfony\Component\Form\FormInterface in /application/vendor/jgrygierek/sonata-batch-entity-import-bundle/src/Controller/ImportControllerTrait.php on line 65 !! Symfony\Component\ErrorHandler\Error\FatalError {#1212 !! -error: array:4 [ !! "type" => 64 !! "message" => "Declaration of JG\SonataBatchEntityImportBundle\Controller\ImportControllerTrait::createMatrixForm(JG\BatchEntityImportBundle\Model\Matrix\Matrix $matrix, Doctrine\ORM\EntityManagerInterface $entityManager): Symfony\Component\Form\FormInterface must be compatible with JG\BatchEntityImportBundle\Controller\BaseImportControllerTrait::createMatrixForm(JG\BatchEntityImportBundle\Model\Matrix\Matrix $matrix): Symfony\Component\Form\FormInterface" !! "file" => "/application/vendor/jgrygierek/sonata-batch-entity-import-bundle/src/Controller/ImportControllerTrait.php" !! "line" => 65 !! ] !! #message: "Compile Error: Declaration of JG\SonataBatchEntityImportBundle\Controller\ImportControllerTrait::createMatrixForm(JG\BatchEntityImportBundle\Model\Matrix\Matrix $matrix, Doctrine\ORM\EntityManagerInterface $entityManager): Symfony\Component\Form\FormInterface must be compatible with JG\BatchEntityImportBundle\Controller\BaseImportControllerTrait::createMatrixForm(JG\BatchEntityImportBundle\Model\Matrix\Matrix $matrix): Symfony\Component\Form\FormInterface" !! #code: 0 !! #file: "./vendor/jgrygierek/sonata-batch-entity-import-bundle/src/Controller/ImportControllerTrait.php" !! #line: 65 !! }