Field field_availability_daily is unknown.

Created on 22 April 2025, 3 days ago

Problem/Motivation

This error occurs when loading the availability page in the context of an hourly reservation.

InvalidArgumentException: Field field_availability_daily is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 616 of core/lib/Drupal/Core/Entity/ContentEntityBase.php). 

Proposed resolution

Modify buildForm in UpdateAvailabilityForm to handle daily or hourly modes based on the node settings.

🐛 Bug report
Status

Active

Version

11.1

Component

Code

Created by

🇫🇷France Ilyna

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