[SOLVED][Drupal Errors] EntityMalformedException: Missing bundle property on entity of type node

| | 1 min read

A number of Drupal users were getting the following error message on their Drupal site when trying to edit a term reference field. "EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() ". If you are facing a similar message in your Drupal site then continue reading to know the solution.

This error could be caused due to one of several different problems as listed in the issue referenced below.

  • Most Drupal users facing the issue reported that removing a few modules removed the error message. The common culprits were
    • Field permissions module
    • Drag'n'Drop Uploads module
  • A few Drupal users found success by deleting the term reference field and recreating it.

Ultimately the error is what it says, there is an invalid data for the given node entity. You can debug and troubleshoot the issue by finding out exactly the specific field in the node that caused it become invalid. You can find the issue by running debug_backtrace at the point where this error is raised and reviewing the data that was being processed.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.