Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GeneratorBundle] Generate commands not working #2898

Closed
KevinSleegers opened this issue Jul 6, 2021 · 0 comments · Fixed by #2899
Closed

[GeneratorBundle] Generate commands not working #2898

KevinSleegers opened this issue Jul 6, 2021 · 0 comments · Fixed by #2899

Comments

@KevinSleegers
Copy link

In a Kunstmaan 5.8 project the generate commands are not working because of an incompatibility with doctrine-bundle 2.0.
The following error gets thrown:

Argument 2 passed to Kunstmaan\GeneratorBundle\Generator\KunstmaanGenerator::__construct() must be an instance of Symfony\Bridge\Doctrine\RegistryInterface, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /vendor/kunstmaan/bundles-cms/src/Kunstmaan/GeneratorBundle/Command/GeneratePageCommand.php on line 242

Current workaround is to downgrade doctrine-bundle to the latest version of 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants