Closed libressence closed 1 year ago
When i add
admin.page: class: App\Admin\PageAdmin arguments: [~, App\Entity\Page, ~] tags: - { name: sonata.admin, manager_type: orm, label: Page }
in services.yaml,
i have a problem after type command bin/console cache:clear : The service "sonata_translation.admin.extension.gedmo_translatable" has a dependency on a non-existent service "stof_doctrine_extensions.listener.translatable".
Why ??
You should enable it in configuration:
stof_doctrine_extensions: default_locale: en_US orm: default: translatable: true # <--- this will enable listener
When i add
in services.yaml,
i have a problem after type command bin/console cache:clear : The service "sonata_translation.admin.extension.gedmo_translatable" has a dependency on a non-existent service "stof_doctrine_extensions.listener.translatable".
Why ??