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

Created on 26 September 2018, about 6 years ago
Updated 25 January 2023, almost 2 years 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

10.1

Component
Language module 

Last updated 2 days 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

Merge Requests

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