I am using simplenews_scheduler in Drupal 7 to set up a weekly digest of new content. I am getting the following error on the screen and scheduled newsletters aren't going out, even after running cron. When I send it right away or send it as a test, it goes out and renders just fine.
Notice: Trying to get property of non-object in simplenews_scheduler_node_page() (line 600 sites/all/modules/simplenews_scheduler/simplenews_scheduler.module)
For reference, here is lines 598-601, referenced in the error:
foreach ($result as $row) {
$node = node_load($row->eid);
$rows[] = array(l($node->title, 'node/' . $row->eid), format_date($row->date_issued, 'custom', 'Y-m-d H:i'));
}
I'm not sure this error is related as it seems to go only to loading editions already sent.
Drupal 7.65, simplenews 7.x-1.1, simplenews_scheduler 7.x-1.0-beta2
Does anyone know what could be causing this error or an alternative to sending a scheduled mailing? The module makes a copy of a base node each for each edition so it's kind of nice.