Needs review
Project:
Disqus
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2017 at 09:54 UTC
Updated:
24 Jan 2022 at 14:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tom robert commentedComment #3
tom robert commentedForgot the use statement for LanguageInterface.
Comment #4
damienmckennaComment #5
gaurav.kapoor commentedThanks for raising this issue @Tom Robert. I found another similar issue https://www.drupal.org/project/redirect/issues/2991423 in the redirect module and as per it we can set
$disqus['language'] = \Drupal::languageManager()->getCurrentLanguage()->getId();to
$disqus['language'] = \Drupal::languageManager()->getCurrentLanguage(LanguageInterface::TYPE_URL)->getId();This can be a temporary solution till the time the core issue https://www.drupal.org/project/drupal/issues/3067007 is fixed or suggests anything.
@DamienMcKenna Do you have any suggestion on what should we do here?
Comment #6
gaurav.kapoor commented