Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Invalid Entry Type ID: 8 when trying to delete an entry #16539

Closed
JayBox325 opened this issue Jan 27, 2025 · 3 comments
Closed

[5.x]: Invalid Entry Type ID: 8 when trying to delete an entry #16539

JayBox325 opened this issue Jan 27, 2025 · 3 comments
Labels

Comments

@JayBox325
Copy link
Contributor

JayBox325 commented Jan 27, 2025

What happened?

Description

I am receiving an "Invalid Entry Type ID: 8" error when I try to delete an entry or revert it to a previous version. The ID 8 is an entry in another site that is not being referenced by the entry I'm trying to delete or change.

I have tried removing all content from the entry I'm trying to delete in order to get past this, but nothing seems to resolve it.

Image

Steps to reproduce

  1. Try to delete an entry in my CMS.

Expected behavior

I'd expect the entry to be deleted.

Actual behavior

The error warning appears.

Craft CMS version

5.6.0.2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@JayBox325 JayBox325 added the bug label Jan 27, 2025
@JayBox325
Copy link
Contributor Author

I think this resolved itself, but I believe it was when a page was marked as "edited" and I tried to delete the entry it threw this error, which is still not a great AX.

@brandonkelly
Copy link
Member

Looks like this could be caused if an entry’s type is no longer allowed by its section/field.

Just fixed for the next release.

@brandonkelly
Copy link
Member

brandonkelly commented Jan 29, 2025

Craft 5.6.2 is out with that fix. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants