Closed (won't fix)
Project:
Privatemsg
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2007 at 12:15 UTC
Updated:
5 May 2010 at 07:38 UTC
Hi everyone,
when sending a new message, the system puts out the following error message: "Fatal error: Call to undefined function: subscriptions_hold() in .../privatemsg.module on line 2434". I've had the subscriptions module installed, but deinstalled it a long time ago.
Here's the code snippet of the concerning function privatemsg_subscriptions_handle:
function privatemsg_subscriptions_handle($message, $cron = FALSE) {
subscriptions_hold($message, 'pmsg', 'insert', $message->uid);
subscriptions_mailvars($message->type, $message->id, $message->author, 'pmsg', $cron);
}
Comments
Comment #1
Joe Malik commentedForgot one point: Despite the error message, private messages are sent correctly, but there's no email sent.
Comment #2
Street-1 commentedI have the same thing with 5.x-2.x-dev (2007-Aug-16). I have never used the Subscriptions module on this site though.
Comment #3
EnekoAlonso-1 commentedInstalling the subscriptions module (even if no permissions are granted to users for this module) solves the problem.
Now, I don't understand why this module is required neither why this is not mentioned anywhere.
Comment #4
salvischx is working to upgrade both Privatemsg and Subscriptions, and apparently he's factoring out duplicate functionality. The result at present is that Privatemsg requires Subscriptions, and Subscriptions requires mail_edit (which is part of Privatemsg).
I don't know what his plans are, but the 5.x-2.x-dev versions of both modules are work in progress and currently not stable.
Comment #5
chx commentedComment #6
(not verified) commentedComment #7
mr.andrey commentedAny update on this?
I just tried using PrivateMsg Jan-22 dev and Subscriptions beta9. The following message occurs when I send a private message with Private Message Notification module enabled:
Thanks,
Andrey.
Comment #8
EnekoAlonso-1 commentedSame here. I just activated the pm_subscriptions module and got the error when sending a message. Before activating this module Private Messages were working fine.
Comment #9
berdirSorry for pinging the participants, I am closing old issues.
This version of Privatemsg is not supported anymore, maybe it is already implemented in Privatemsg for Drupal 6 and if not, you are welcome to open a new issue for it.