The "" entity type does not exist when using the Recurring formatter

Created on 3 May 2024, about 2 months ago

Problem/Motivation

When I use the recurring formatter, I get the following error:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Steps to reproduce

In Manage display and using the layout builder, I configured the field to use the following settings:
Formatter: Recurring
Time Parts: Start and End
Smart Date Format: select any
Recent Instances: 1
Upcoming Instances: 0

Then view the node and get the error.

Proposed resolution

I believe the issue is in Drupal\smart_date_recur\Entity\SmartDateRule::getParentEntity()
The value of $entity_type is empty.

It maybe a settings issue which I am not sure how that happened.

πŸ› Bug report
Status

Active

Version

4.0

Component

Smart Date Recur

Created by

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

Comments & Activities

Production build 0.69.0 2024