I try to install a fresh Sylius instance on my local machine with PHP8 and Sylius v1.10 (using MariaDB 10.3.31) according to: https://docs.sylius.com/en/latest/getting-started-with-sylius/installation.html
When I execute
bin/console sylius:install and after confirming resetting the database, I receive the error “There is no active transaction”.
If I create the project using the “dev-master” instead of version 1.10 I can successfully execute
How can I setup successfully a Sylius 1.10 version on PHP8? Does anybody face the same issue? I could use the “dev-master” version but I would like actually to setup my new project with a stable Sylius version.
Would it be a valid approach to setup the basic database schema with the “dev-master” version, dump the database schema and data, setup a new Sylius 1.10 and using this dump for the database? As far as I understand this could only be a viable workaround/solution if there are no other migrations between the 1.10 and dev-master version? Or how do you see it?
I have also seen that there are some troubles regarding Doctrine Migrations and PHP8, e.g. https://github.com/doctrine/DoctrineMigrationsBundle/issues/393
But as it seems the “dev-master” version of Sylius has fixed this “…no active transaction” error.