Error after adding some new content and cron job.

Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send() (Zeile 249 von /srv/www/htdocs/sites/all/modules/subscriptions/subscriptions_mail.cron.inc).

Comments

salvis’s picture

Title: Subscriptions send error » "Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send() (line 249"

#1359964: Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send marked as a duplicate of this.

This means you have no send_intervals defined. How did you get into this situation?

Please check admin/config/subscriptions/intervals. It should list

1|As soon as possible
900|Every 15 minutes
3600|Hourly
10800|Every three hours
86400|Daily

Why is this critical?

vegantriathlete’s picture

This is not true that I don't have any intervals set. They are all there as expected.

I think that this is still related to the Digest mode. I have disabled digest mode and the notifications go out successfully without any errors or warnings.

salvis’s picture

Priority: Critical » Normal
Status: Active » Postponed

Ah, digest mode — thanks. Then it must some kind of follow-up error.

Let's see what happens when we finally have it (any day now).

salvis’s picture

Title: "Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send() (line 249" » "Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send() (line 249" in Digest mode
Status: Postponed » Fixed

Please see #1327376-8: Implementing digest mode for D7.

Assuming this is fixed — feel free to reopen this issue if this is still a problem with the -dev (or upcoming BETA1) version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.