-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error during installation #209
Comments
Hey @NiklasBr thank you for rising this issue with us. We tried to reproduce the error but were not able to. What we found so far is, that the class Can you please check where this class is coming from? |
Thanks for the quick response! I have been testing this further and think it is some incompatibility with dachcom-digital/pimcore-seo which we have been using for a while: a. Running this PimcoreGenericDataIndexBundle and the SeoBundle at the same time causes the exception to be thrown. |
I guess maybe you should open up an issue at dachcom-digital/pimcore-seo Maybe they can provide a fix or if it is not fixable at their codebase, we can come back to this issue? WDYT? |
Maybe @solverat has an idea? |
@NiklasBr, @mattamon yes, it's because this bundle introduces a dedicated entity manager (I don't know why, though. I'm pretty sure this bundle doesn't need a custom entity manager). generic-data-index-bundle/config/doctrine.yaml Lines 1 to 12 in 1757342
However, to fix this, you have to define the default entity manager explicitly: # app/config/config.yaml
doctrine:
orm:
default_entity_manager: default |
@solverat thanks for the quick response! @markus-moser I think you have to tackle this question please. @NiklasBr #164 There is already an issue, it also breaks CoreShop. Guess we can close this issue then since its actually a duplicate, right? |
Duplicate of #164 |
Platform version 2024.2 (Pimcore 11.3.2.1)
Run
composer require pimcore/generic-data-index-bundle
Run
bin/console pimcore:bundle:install PimcoreGenericDataIndexBundle
And this results in the following error:
The text was updated successfully, but these errors were encountered: