FieldException in Drupal\field\Entity\FieldConfig->getFieldStorageDefinition() (line 318)

Created on 3 September 2025, about 1 month ago

Problem/Motivation

After successfully adding an SMS phone number to the user with version 2.4.0 in D11.2,
the following error appears when refreshing caches

Drupal\Core\Field\FieldException: Attempted to create, modify or delete an instance of field with name phone_number on entity type user when the field storage does not exist. in Drupal\field\Entity\FieldConfig->getFieldStorageDefinition() (line 318 of core\modules\field\src\Entity\FieldConfig.php).The website encountered an unexpected error. Try again later.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.4

Component

Core Framework

Created by

🇳🇱Netherlands johnv

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

Comments & Activities

Production build 0.71.5 2024