-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Bundle(s) affected: bundle1,bundle2, etc.
v4.2, v5.x probaly too
Description
ezpublish-kernel v7.5.16 implemented a new siteaccess aware Entity Manager
e.g. ezsystems/ezpublish-kernel#3092
with this new entity manager the seo bundle is not working
How to reproduce
update to new ezpublish-kernel v7.5.16
clear caches
try to run the website
Possible Solution
change the service declaration to
Novactive\Bundle\eZSEOBundle\Core\SiteAccessAwareEntityManagerFactory:
arguments:
- '@doctrine'
- '@ezpublish.api.repository_configuration_provider'
- '@doctrine.orm.default_entity_listener_resolver'
- $settings: { debug: "%kernel.debug%", cache_dir: "%kernel.cache_dir%" }
Additional context
error in cli
In DefinitionErrorExceptionPass.php line 37:
Cannot autowire service "Novactive\Bundle\eZSEOBundle\Core\SiteAccessAwareEntityManagerFactory": argument "$resolver" of method "
__construct()" references class "Doctrine\Bundle\DoctrineBundle\Mapping\ContainerEntityListenerResolver" but no such service exis ts. You should maybe alias this class to one of these existing services: "doctrine.orm.ibexa_mandant01storage_entity_listener_res olver", "doctrine.orm.ibexa_mandant02storage_entity_listener_resolver", "doctrine.orm.ibexa_mandant03storage_entity_listener_resolver", "doctrine.orm.ibexa_mandant00storage_entity_listener_resolver",
"doctrine.orm.ibexa_default_entity_listener_resolver",
"doctrine.orm.default_entity_listener_resolver".