- 🇮🇳India prashant.c Dharamshala
Can you please test the new version
8.x-2.0
and let us know if this issue persists? - 🇧🇬Bulgaria joro78
We have spot the same problem. It emerges when one tries to switch language for a content that is not so far translated. It is very irritating and could make bad impression on the user. A possible solution is to hide the block from it's options, when just one language for the node is available. This, however, is not very user friendly and changes the overall layout. Consider it as a bug.
Error: Call to a member function getName() on null in Drupal\lang_dropdown\Form\LanguageDropdownForm->buildForm() (line 229
Using Drupal 10.3.10 and version 8.x-2.1 of the module.