While running the cron job I am getting the following exceptions

WD node: EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7633 of /public_html/includes/common.inc).
WD cron: EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7633 of /public_html/includes/common.inc).

I cannot debug further, please advise

Files: 
CommentFileSizeAuthor
#2 Screenshot - 030213 - 16:01:02.png21.8 KBradiobuzzer

Comments

Title:EntityMalformedException running cron jobEntityMalformedException running cron job, when scheduler pointing to deleted node

consequently I went to the content > scheduled and I saw that there was a task with no node associated , only date was shown. This seemed very suspicious. I therefore went manually to the SQL table 'scheduler' and I looked for the entry around the specified date. Indeed, that was a scheduled task pointing on a deleted node. I deleted this table row and now scheduler works again.

I do not know why this was still in the table, but it was causing failure.
I can recall that this issue starting occurring after the upgrade to drupal 7. The deleted node was entry there from drupal 6.

Perhaps, there should be some function that prevents error from tasks pointing to non-existing nodes.

StatusFileSize
new21.8 KB

Here is the screenshot of the entry with no node attached

Status:Active» Closed (duplicate)

Hi radiobuzzer,

Yes you have found a problem here. It will be solved in the same fix as for #2011692: Prevent cron errors when scheduled nodes no longer exist hence closing this issue as a duplicate.

Jonathan

Issue summary:View changes

fixed path