Metatags depending on URL cause errors for unsaved entities after updating to Drupal 10.1.4

Created on 1 February 2024, 11 months ago
Updated 13 August 2024, 4 months ago

Creating a new issue clone as the original issue got closed as fixed but there are more people with the same issue still.
🐛 Metatags depending on URL cause errors for unsaved entities after updating to Drupal 8.8.0 Fixed

Original IS:

Hi,

I recently updated to Drupal Core 8.8.0 and then 8.8.1 and I am now getting the following error on various pages like `/node/add/page`: 1 error has been found: Title

In the Drupal Log report I see:

Location: /node/add/page?_wrapper_format=drupal_ajax&ajax_form=1
Referrer: /node/add/page
Message: 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 192 of /app/web/core/lib/Drupal/Core/Entity/EntityBase.php).
Severity: Error

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇧🇪Belgium BramDriesen Belgium 🇧🇪

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

Comments & Activities

Production build 0.71.5 2024