FieldException: Attempted to create, modify or delete an instance of field with name field_office_hours on entity type node when the field storage does not exist

Created on 6 January 2025, 3 months ago

Problem/Motivation

Trying to add an office hour field on any entity in Drupal 11 gives the following error:

Drupal\Core\Field\FieldException: Attempted to create, modify or delete an instance of field with name field_office_hours on entity type node when the field storage does not exist. in Drupal\field\Entity\FieldConfig->getFieldStorageDefinition() (line 323 of core/modules/field/src/Entity/FieldConfig.php).

The module is freshly installed.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.20

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024