Fatal TypeError if the config entity does not exist

Created on 7 November 2021, over 2 years ago
Updated 16 April 2024, 2 months ago

Problem/Motivation

Bug preventing the latest stable version working with Drupal 9.

Argument 1 passed to Drupal\daterange_compact\DateRangeCompactFormatter::derivePatterns() must implement interface Drupal\daterange_compact\Entity\DateRangeCompactFormatInterface, null given, called in /var/www/html/web/modules/contrib/daterange_compact/src/DateRangeCompactFormatter.php on line 63 in Drupal\daterange_compact\DateRangeCompactFormatter->derivePatterns() (line 96 of modules/contrib/daterange_compact/src/DateRangeCompactFormatter.php).

Steps to reproduce

drupal/core-recommended:~9.2.7
drupal/daterange_compact:^2.0.0

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

๐Ÿ‡ช๐Ÿ‡จEcuador jwilson3

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024