Fatal error: Call to undefined function subscriptions_hold() in modules\privatemsg\privatemsg.module on line 2443.

I'm using the "Last updated: August 17, 2007 - 02:08" - version, clean db install.

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

detot’s picture

I get this error when i try to send a private message.

xaverx’s picture

i have same error, when I comment these 2 lines all works
// subscriptions_hold($message, 'pmsg', 'insert', $message->uid);
// subscriptions_mailvars($message->type, $message->id, $message->author, 'pmsg', $cron);

Joe Malik’s picture

Hi, I posted this issue yesterday (http://drupal.org/node/167882).
Did/do you've got the "subscriptions" module installed?
After uncommenting the privatemsg_subscriptions_handle() function in privatemsg.module: Is there an email sent for the pm?

salvis’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)