Problem/Motivation

Drupal 9.5.4
dropdown_language 3.1.0

Configure the block to use: "Native Name, Language Name used as title attribute"

See the following PHP notice:

Notice: Undefined index: language in Drupal\dropdown_language\Plugin\Block\DropdownLanguage->build() (line 195 of modules/contrib/dropdown_language/src/Plugin/Block/DropdownLanguage.php).
CommentFileSizeAuthor
#2 3347370-2.patch961 bytesadil_siddiqui
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 3.0.x Comparecompare

Comments

Finn Lewis created an issue. See original summary.

adil_siddiqui’s picture

Status: Active » Needs review
StatusFileSize
new961 bytes

Patch created

anybody’s picture

Status: Needs review » Reviewed & tested by the community

RTBC for #2 from looking at the code. Should be fixed asap with a new stable release please.
I guess 4.x is also affected?

anybody’s picture

This is also highly related to the other issues, but not the same.

skaught’s picture

Status: Reviewed & tested by the community » Fixed

thanks. i see my email is exploding. releasing 3.1.2

anybody’s picture

Thanks @SKAUGHT, please have a look at #3344286: $links variable can be undefined when only one language present , the links I posted there and the MR. I think that's the core problem... but there are several issues around this.

anybody’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.