Closed (fixed)
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2011 at 05:14 UTC
Updated:
5 Dec 2011 at 11:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
salvisWhich Subscriptions modules do you have enabled?
As a quick test, does it help if you enable all of them?
Comment #2
salvisI've just pushed a fix to the -dev version for this — thank you for your report!
Be sure to clear the cache after updating to the -dev version!
Please let us know what you find...
Comment #3
vegantriathleteI am running the 7.x-1.0-alpha5 version and get the following errors (for each piece of content that is triggering a notification) on cron run (see attached screen shots):
Undefined offset: 0 in _subscriptions_mail_cron() (line 84 . . .
Undefined variable: body in _subscriptions_mail_cron() (line 103 . . .
Undefined variable: mailvars in _subscriptions_mail_cron() (line 108 . . .
Undefined variable: mailvars in _subscriptions_mail_cron() (line 109 . . .
I'll have to install the -dev and see what happens
I also get the following:
Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send() (line 248 . . .
Is this also fixed in the latest -dev? Or should I open a separate issue?
Comment #4
salvisThe -dev version has a lot of fixes by now. ALPHA6 is ready, but it also requires an update to Mail Editor, which has some issues that I was hoping to fix before publishing the update.
Please hold off reporting bugs unless you're using the latest -dev version. We'll take a fresh start with ALPHA6.
Comment #6
akkedirk commentedRunning alpha6 version and, when running cron, still getting :
Notice: Undefined variable: body in _subscriptions_mail_cron() (line 104 ...
Notice: Undefined variable: mailvars in _subscriptions_mail_cron() (line 109 ...
Notice: Undefined variable: mailvars in _subscriptions_mail_cron() (line 110 ...
Warning: Invalid argument supplied for foreach() in _subscriptions_mail_send() (line 249 ...
And notifications are NOT sent.
This only occurs when Digest mode is turned on for at least one user. Turning Digest mode off makes the problem go away.
Comment #7
salvisExactly. We know that Digest Mode is not working in ALPHA6.
Comment #8
salvisPlease see #1327376-8: Implementing digest mode for D7 — feel free to reopen this issue if this is still a problem with the -dev (or upcoming BETA1) version.