Active
Project:
Redirect
Version:
8.x-1.12
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2026 at 21:43 UTC
Updated:
19 Jan 2026 at 21:57 UTC
Jump to comment: Most recent
Found this error in version 1.12:
Drupal\Core\Entity\Exception\UnsupportedEntityTypeDefinitionException: The entity type redirect does not have a "published" entity key. in Drupal\redirect\Entity\Redirect::publishedBaseFieldDefinitions() (line 32 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php).
Any idea what could possibly causing this issue? Appreciate for any inputs thanks
Version upgrade from 1.11 to 1.12
Comments
Comment #2
shank115 commentedI wasn’t able to replicate this issue on my setup.
Here’s what I did:
I’m using Drupal 11.3.2.
Could you please provide more detailed steps to reproduce the error?
The error 'The entity type redirect does not have a "published" entity key' typically occurs when some custom or contributed code expects the entity to have a published key
Comment #3
janpongos commentedThanks @shank115
I should have add more context - this is installed with core 10.5.6 and the node causing error is the translated node.
No issue with the original language.
Comment #4
kepesv commentedSame experience here during deployment. (I cannot provide more detailed information at this time.)
Comment #5
joseph.olstadJust upgraded from Drupal 11.1 to Drupal 11.2 with the upgraded redirect module.
First cache rebuild:
The entity type redirect does not have a "published" entity key.Second cache rebuild:
[success] Cache rebuild complete.