- ๐บ๐ธUnited States reshma.i
Debugging "This entity (paragraph: ID) cannot be referenced." Error
If you're encountering this error while editing content with Paragraphs, especially after changing paragraph type permissions, consider the following checklist.- Go to: Structure โ Content types โ [Your Content Type] โ Manage fields โ [Paragraph field].
- Ensure the "Allowed paragraph types" includes all types currently used in your content.
- If uncertain, switch to "All paragraph types" temporarily to confirm if that resolves the issue.Or
Check for Custom hook_query_alter() In my case issue was with this unwanted hook.
If youโve recently added custom code using hook_query_alter() (or similar), it might be interfering with paragraph loading.Example:
function MYMODULE_query_alter(QueryAlterableInterface $query) { // Check if this is affecting entity reference or paragraphs }
- ๐จ๐ฆCanada vamirbekyan Toronto
@reshma.i, hving the same issue. How it was fixed for you?