View Issue Details

IDProjectCategoryView StatusLast Update
0016657phpList 3 applicationCampaign Send Processpublic22-03-13 20:41
Reporterseanfulton Assigned To 
Status resolvedResolutionfixed 
Product Version2.11.6 
Target Version2.11.8Fixed in Version2.11.8 
Summary0016657: Enabling Plugins causes messages to fail to send
DescriptionEnabling plugins by defining the PLUGIN_ROOTDIR path in config.php causes all messages to not be sent. Entries are created in phplist_usermessage with the status="not sent" and are not retried.

I suspect the issue is in the following lines from processqueue.php:
## Ask plugins if they are ok with sending this message to this user
      if (!empty($getspeedstats)) output('start check plugins ');

      while ($cansend && $plugin = current($GLOBALS['plugins']) ) {
        $cansend = $plugin->canSend($msgdata, $user);
        if (!$cansend) $failure_reason .= 'Sending blocked by plugin '.$plugin->name;

      if (!empty($getspeedstats)) output('end check plugins ');

This happened on two of our installations where we enabled a plugin this weekend. Unsetting PLUGIN_ROOTDIR causes messages to be sent normally.

Steps To ReproduceSet PLUGIN_ROOTDIR
TagsNo tags attached.


has duplicate 0016691 resolvedmichiel rssmanager plugin vetoes sending any message to any user 



22-03-13 20:41

administrator   ~0051975

I've removed the default plugins, as they are out of date. Plugin system is being reviewed