- Issue created by @SirClickALot
- ๐ช๐ธSpain lpeidro Madrid
Hello Sirclickalot:
Thank you very much for your feedback. We will fix the issue as soon as possible to ensure compatibility with sites that are not multilingual.
Best regards.
- ๐ฎ๐ณIndia aman_lnwebworks
I have to get the same issue when I am trying to install this module
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "entity_mesh.static_language_negotiator" has a dependency on a non-existent service "plugin.manager.language_negotiation_method". in Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass@anonymousD:\laragon\www\27scan\vendor\symfony\dependency-injection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass.php:104$109ff->processValue() (line 119 of vendor\symfony\dependency-injection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass.php).
When I ran the drush cr, I faced the same issue.
The service "entity_mesh.static_language_negotiator" has a dependency on a non-existent service "plugin.manager.language_negotiation_method".
The error message indicates that the entity_mesh.static_language_negotiator service depends on plugin.manager.language_negotiation_method, which does not exist in your environment. This usually happens due to missing or incompatible dependencies.
The missing service plugin.manager.language_negotiation_method is provided by the Language module
You can add language module dependencies in your info file
dependencies: - drupal:language
Thank you!!
- ๐ช๐ธSpain lpeidro Madrid
I created a new branch (3506358-manage-dependency) to manage the service dependency without requiring the Language module to be enabled.
- Merge request !13Draft: Issue #3506358: Added system to manage dependencies between services โ (Open) created by lpeidro
- ๐ช๐ธSpain eduardo morales alberti Spain, ๐ช๐บ
eduardo morales alberti โ made their first commit to this issueโs fork.
- Merge request !16Resolve #3506358 "Content translation optional" โ (Merged) created by eduardo morales alberti
- ๐ช๐ธSpain eduardo morales alberti Spain, ๐ช๐บ
Ready to review!!
- ๐ช๐ธSpain eduardo morales alberti Spain, ๐ช๐บ
eduardo morales alberti โ changed the visibility of the branch 3506358-cannot-install-cleanly to hidden.
- ๐ช๐ธSpain eduardo morales alberti Spain, ๐ช๐บ
eduardo morales alberti โ changed the visibility of the branch 3506358-manage-dependency to hidden.
-
lpeidro โ
committed 566f1bc0 on 1.0.x authored by
eduardo morales alberti โ
Resolve #3506358 "Content translation optional"
-
lpeidro โ
committed 566f1bc0 on 1.0.x authored by
eduardo morales alberti โ
- ๐ช๐ธSpain lpeidro Madrid
Branch merged, and a new issue was created to apply the definitive fix: https://www.drupal.org/project/entity_mesh/issues/3509575 ๐ Manage dependencies in sites that are not multilingual Active
Automatically closed - issue fixed for 2 weeks with no activity.