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

"You have requested a non-existent service "FormBuilderBundle\Factory\FormDefinitionFactoryInterface"." #444

Open
maxihaindl opened this issue Apr 9, 2024 · 0 comments

Comments

@maxihaindl
Copy link

maxihaindl commented Apr 9, 2024

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? yes/no

Hello,

while upgrading pimcore to 11.0.12 and formbuilder to the latest version 5.0.6 i'll get the mentioned error running bin/console doctrine:migrations:migrate -vvv --prefix FormBuilderBundle\Migrations command

maximilian.haindl@tuerbookpro:~/projects/webcontact/wwwroot/tag-on$ docker-compose exec -u www-data -w /var/www/html php bin/console doctrine:migrations:migrate -vvv --prefix FormBuilderBundle\Migrations
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException^ {#352
  #message: "You have requested a non-existent service "FormBuilderBundle\Factory\FormDefinitionFactoryInterface"."
  #code: 0
  #file: "/var/www/html/vendor/symfony/dependency-injection/Container.php"
  #line: 263
  -id: "FormBuilderBundle\Factory\FormDefinitionFactoryInterface"
  -sourceId: null
  -alternatives: []
  trace: {
    /var/www/html/vendor/symfony/dependency-injection/Container.php:263 { …}
    /var/www/html/vendor/symfony/dependency-injection/Container.php:211 { …}
    /var/www/html/vendor/dachcom-digital/formbuilder/src/FormBuilderBundle.php:50 { …}
    /var/www/html/vendor/dachcom-digital/formbuilder/src/FormBuilderBundle.php:37 { …}
    /var/www/html/vendor/symfony/http-kernel/Kernel.php:131 { …}
    /var/www/html/vendor/pimcore/pimcore/lib/Kernel.php:160 { …}
    /var/www/html/vendor/pimcore/pimcore/lib/Bootstrap.php:211 { …}
    /var/www/html/vendor/pimcore/pimcore/lib/Bootstrap.php:58 { …}
    /var/www/html/bin/console:46 {
      › /** @var \Pimcore\Kernel $kernel */
      › $kernel = \Pimcore\Bootstrap::startupCli();
      › $application = new \Pimcore\Console\Application($kernel);
    }
  }
}

The command doesnt really matter, the error occurs no matter what console command is running. Any help is appreciated :-)

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

No branches or pull requests

1 participant