I encountered this fatal error when cloning certain nodes that had paragraphs. The strange thing is it wasn't hitting this error in all cases. I think it was getting hit when a paragraph was including another paragraph...but only sometimes.

Error message
EntityMalformedException: Uncaught exception 'EntityMalformedException' with message 'Missing bundle property on entity of type paragraphs_item.' in /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/includes/common.inc:7939

Stack trace
in entity_extract_ids called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/sites/all/modules/contrib/paragraphs/paragraphs.node_clone.inc (61)
in paragraphs_clone_items called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/sites/all/modules/contrib/paragraphs/paragraphs.node_clone.inc (73)
in paragraphs_clone_items called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/sites/all/modules/contrib/paragraphs/paragraphs.node_clone.inc (16)
in paragraphs_clone_node_alter called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/includes/module.inc (1163)
in drupal_alter called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/sites/all/modules/contrib/node_clone/clone.pages.inc (179)
in clone_node_prepopulate called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/sites/all/modules/contrib/node_clone/clone.pages.inc (102)
in clone_node_check called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/includes/menu.inc (527)
…andler called at /srv/bindings/c997501f6bc94c5c97f5f38c30cb12f4/code/
index.php (21)

I finally tracked it down and added simple code to prevent this from happening. I will post the patch for the fix.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chrisroane created an issue. See original summary.

chrisroane’s picture

Status: Active » Needs review
FileSize
536 bytes

Attach is the simple patch that fixes the fatal error.

chrisroane’s picture

Issue summary: View changes