Answers.Body: <p>Turns out that this cron error is unrelated to CiviMail going out. I resolved the problem by changing the group owner and permissions of the <code>/sites/default/files/civicrm/templates_c</code> folder, which was effecting <code>/mail.log</code>. The group permissions was changed to root, which won't work for the mail. </p>
  
  <p>I am still getting this cron error, but know now that it probably has to do with Drupal alone.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-17T20:47:27.947Z
Answers.LastActivityDate: 2016-11-18T21:05:04.337Z
Answers.LastEditDate: 2016-11-18T21:05:04.337Z
Answers.UserDisplayName: Christia
Body: <p>After making core updates in Drupal commons, from 7.37 to 7.50, scheduled Civi mails are not being sent. Cron jobs are still set up. Before this update, we've been using it for years with no known issues. Using CiviCRM 4.8.7. Currently trying to upgrade now but there are other roadblocks also.</p>
  
  <p>Watchdog shows the following error for the time of the scheduled mailing:</p>
  
  <pre><code>error    cron     EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7953 of /var/www/html/example/docroot/includes/common.inc).
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-10T22:00:04.520Z
Comments.Text: Maybe you can take a look at http://civicrm.stackexchange.com/questions/15683/mail-system-in-my-install-is-broken-missing-bundle-property-on-entity-of-type-n . Here the problem was caused by a custom module that uses the drupal entity system.
Comments.UserDisplayName: Kainuk - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-11T08:57:30.490Z
Comments.Text: All we did was upgrade Drupal Core. Then it stopped working. I am under the impression that that doesn't include custom work. How would I be able to tell if there is a custom module using the "drupal entity system" and what it might be and why does it affect CiviCRM?
Comments.UserDisplayName: Christia
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-11T15:49:36.987Z
Comments.Text: In the referenced question the problem was the implementation of a custom hook (namely hook_civicrm_tokenValues). The hook was executed when an email was sent (it generated custom tokens) and throw an error. The hook called drupal functions. In your case, did you install drupal dependent CiviCRM extensions, or CiviCRM specific drupal modules?
Comments.UserDisplayName: Kainuk - CiviCooP
Tags: <civimail><drupal><cron>
Title: CiviMail problem; possible Cron Error: EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids()
ThreadText: # CiviMail problem; possible Cron Error: EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids()
  
  (Asked by: username_0 on 2016-11-10)
  
  After making core updates in Drupal commons, from 7.37 to 7.50, scheduled Civi mails are not being sent. Cron jobs are still set up. Before this update, we've been using it for years with no known issues. Using CiviCRM 4.8.7. Currently trying to upgrade now but there are other roadblocks also.
  Watchdog shows the following error for the time of the scheduled mailing:
  error    cron     EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7953 of /var/www/html/example/docroot/includes/common.inc).
  
  **Tags:** civimail, drupal, cron
  
  > **Comments:**
  > **username_1**: Maybe you can take a look at http://civicrm.stackexchange.com/questions/15683/mail-system-in-my-install-is-broken-missing-bundle-property-on-entity-of-type-n . Here the problem was caused by a custom module that uses the drupal entity system.  
  > **username_0**: All we did was upgrade Drupal Core. Then it stopped working. I am under the impression that that doesn't include custom work. How would I be able to tell if there is a custom module using the "drupal entity system" and what it might be and why does it affect CiviCRM?  
  > **username_1**: In the referenced question the problem was the implementation of a custom hook (namely hook_civicrm_tokenValues). The hook was executed when an email was sent (it generated custom tokens) and throw an error. The hook called drupal functions. In your case, did you install drupal dependent CiviCRM extensions, or CiviCRM specific drupal modules?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-11-17. Score: 1 | Accepted answer
  
  Turns out that this cron error is unrelated to CiviMail going out. I resolved the problem by changing the group owner and permissions of the `/sites/default/files/civicrm/templates_c` folder, which was effecting `/mail.log`. The group permissions was changed to root, which won't work for the mail.
  
  I am still getting this cron error, but know now that it probably has to do with Drupal alone.
  
  
  ---
  
  