No link template 'canonical' found for the 'paragraph'

Created on 23 September 2019, about 5 years ago
Updated 3 April 2023, over 1 year ago

When i trying to render paragraph entity:
"Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'canonical' found for the 'paragraph' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 227 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php)." error appear.
This is beacause paragraph entity return null when call "toUrl" method.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇷🇴Romania ion.macaria Bucharest, 🇷🇴

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.

  • 🇦🇺Australia mingsong 🇦🇺

    As it requires a lots of resource to maintain 3 major versions and Drupal 8 is not supported anymore by the Drupal core team, the 8.x-2.x versions were not supported since Drupal 10 is averrable.

    I am sorry, but have to mark any issues with 8.x-2.x as out of dates to inform the new users that.

Production build 0.71.5 2024