Problem/Motivation

When invoking Drupal\eck_site_settings\SettingsRepository->getSettingByClass() without passing a langcode key to the $context argument, the following warning is triggered:

Warning: Undefined array key "langcode" in Drupal\eck_site_settings\SettingsRepository->getSettingByClass() (line 219 of /[..]/deploy/releases/20260304122845/web/modules/contrib/eck_site_settings/src/SettingsRepository.php).

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:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Needs review

  • dieterholvoet committed 706095a1 on 1.x
    Issue #3577510 by dieterholvoet: Warning: Undefined array key "langcode...
dieterholvoet’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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