Datetime field errors on save

Created on 13 February 2025, 12 days ago

Problem/Motivation

After update to version 8.x-1.0-beta11 I cannot save entities after update when the Datetime fields are present on the form.

Error: Cannot use object of type Drupal\Core\Datetime\DrupalDateTime as array in Drupal\Core\Datetime\Element\Datetime::validateDatetime() (line 355 of /code/core/lib/Drupal/Core/Datetime/Element/Datetime.php).

Proposed resolution

Revert to version 8.x-1.0-beta10 fixed this issue.

Remaining tasks

Any other solutions are welcome.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine vitalius2009

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

Comments & Activities

Production build 0.71.5 2024