TypeError: Drupal\languagefield\Entity\CustomLanguage::getId()

Created on 21 December 2024, 16 days ago

Problem/Motivation

TypeError: Drupal\languagefield\Entity\CustomLanguage::getId(): Return value must be of type string, null returned in Drupal\languagefield\Entity\CustomLanguage->getId() (line 123 of modules/contrib/languagefield/src/Entity/CustomLanguage.php).

Steps to reproduce

When you open the the page https://example.org/admin/config/regional/custom_language/add the exception is shown.

Proposed resolution

Allows NULL as return value.

Remaining tasks

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany tobiasb Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024