Same message sent on every cron run with 'use queue'

Created on 20 June 2016, about 8 years ago
Updated 6 January 2024, 6 months ago

When sending a message via `message_subscribe_send_message()` with `use queue` set to TRUE in the subscribe_options, the same message will send on every cron run.

This happens with both rc2 and dev versions.

I have to manually remove the records from the queue table for them to stop sending.

Is there an issue here or is it the way I'm sending the message?

// First I setup the subscripte options to use the queue
$notify_options = array();
$subscribe_options = array('uids' => array(), 'use queue' => TRUE);
$subscribe_options['uids'][1] = array('notifiers' => array('email'));
// Then create the $message here
...
// Finally, send the message
message_subscribe_send_message('node', $node, $message, $notify_options, $subscribe_options);
πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mmilano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024