TypeError: _calc_indents(): Argument #4 ($item) must be of type Drupal\calendar\CalendarEvent, array given

Created on 19 August 2025, 4 days ago

TypeError: _calc_indents(): Argument #4 ($item) must be of type Drupal\calendar\CalendarEvent, array given

In the current version of the code, this argument is enforced as a CalendarEvent instead of an array. This is the opposite of the behavior described in issue: https://www.drupal.org/project/calendar/issues/3175873

Steps to reproduce

Go to a calendar page, then go to the week view.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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