Call to a member function set Weight() on null in Drupal\language\Configurable LanguageManager->updateLockedLanguageWeights()

Created on 26 September 2018, almost 6 years ago
Updated 11 June 2024, 3 months ago

I encounter an error when I want to add a new language in the Drupal site using /admin/config/regional/language/add path.
The error is:
'Error: Call to a member function set Weight() on null in Drupal\language\Configurable LanguageManager->updateLockedLanguageWeights()'

Even if the error is received the language is created when I go on the language list.

I am using Drupal 8.5.1 version.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Language module 

Last updated 1 day ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇷🇴Romania iuana Bacau

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024