- Issue created by @bburg
- Status changed to Needs review
over 1 year ago 9:10pm 19 September 2023 - Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - πΊπΈUnited States bburg Washington D.C.
Patch seems to prevent the errors. Not entirely sure if it fixes the original problem in the other issue.
- Status changed to Needs work
over 1 year ago 10:24pm 19 September 2023 - π΅πPhilippines kenyoOwen
Hi bburg
I reproduced the error by enabling the module and applied your patch but still it has errors. Please see the screenshots attached.
Thank you.
- Status changed to Needs review
over 1 year ago 1:17pm 20 September 2023 - πΊπΈUnited States bburg Washington D.C.
KenyoOwen, I don't believe the error in your screenshot can be attributed to this issue per se, it seems related to this one #3005048: Circular reference detected for service "router.route_provider" β . But feel free to correct me if you think I'm wrong.
- πΊπΈUnited States bburg Washington D.C.
Not sure if it's related to the patch, but upon coming back to this same project after a few days, I am getting this error:
Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "entity_type.manager", path: "user_last_access_subscriber -> entity_type.manager -> string_translation -> string_translator.locale.lookup -> config.factory -> domain_language.overrider -> domain.negotiator". in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:147
domain.negotiator was one of the arguments added to the overrider class in this issue.
- Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - πΊπΈUnited States bburg Washington D.C.
To address the errors in my last comment, I've moved accessing the domain.negotiatior to it's own method, that conditionally checks if it's already available. I was just following the example agentrickard uses in #3005048-16: Circular reference detected for service "router.route_provider" β . Which seems to have stopped the error for me, although I don't really understand why...
- Status changed to RTBC
11 months ago 1:22am 20 January 2024 - πΊπΈUnited States banoodle San Francisco, CA
Patch #7 works beautifully for me - thank you!
- Status changed to Needs review
10 months ago 10:52am 8 March 2024 - π³π±Netherlands mike.vindicate
Attached patch fixes a deprecation for php 8.2 that came in with the last patch, it's a small fix and thanks for the patch in #7 @bburg.
Deprecated function: Creation of dynamic property Drupal\domain_language\DomainLanguageOverrider::$currrentUser is deprecated in Drupal\domain_language\DomainLanguageOverrider->initiateContext()
- π³π±Netherlands mike.vindicate
Forgot to add the services part in #9, re-added in this patch.
- First commit to issue fork.
- π«π·France GuillaumePacilly
Applied patch modifications into a MR and cleaned up references and annotations.
- First commit to issue fork.