Object of type EckEntityBundle cannot be printed on Token render via Devel module

Created on 11 February 2018, about 7 years ago
Updated 26 April 2023, almost 2 years ago

When we try to render Token values of ECK entity via admin/structure/eck/entity//[eck_entity_type]/[eck_entity_id]/devel/token - got the empty page with error:
The website encountered an unexpected error. Please try again later.
and with PHP error in logs:
PHP message: Uncaught PHP Exception Exception: "Object of type Drupal\\eck\\Entity\\EckEntityBundle cannot be printed." at /srv/mru/public_html/core/lib/Drupal/Core/Template/TwigExtension.php line 465

Same problem reproducible on clean Drupal 8.x install with ECK + Token + Devel module on any ECK Entity type.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia murz Yerevan, Armenia

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

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.71.5 2024