The "node" entity cannot have a URI as it does not have an ID

Created on 13 February 2025, 2 months ago

Problem/Motivation

The website encountered an unexpected error. Try again later.

Drupal\Core\Entity\EntityMalformedException: The "node" entity cannot have a URI as it does not have an ID in Drupal\Core\Entity\EntityBase->toUrl() (line 161 of core/lib/Drupal/Core/Entity/EntityBase.php).

Steps to reproduce

Create new test article and preview the article
http://localhost/node/preview/5a52e72b-aa28-4ba5-8273-0fa9c90caf1a/full

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.4

Component

entity system

Created by

🇮🇳India suryabhi

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