Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Support request] WP eMember Email Broadcast Add On is sending double emails

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Email Broadcast Add On is sending double emails

  • This topic has 7 replies, 3 voices, and was last updated 2 years, 4 months ago by admin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 12, 2022 at 8:05 am #84769
    kreart
    Spectator

    Hi !

    I’m using the WP eMember Email Broadcast Add On and each time I send an email, my users receive it twice. It’s really annoying. I tried to put no date on the form, but it just doesn’t send it. Can you help me with this ?

    December 12, 2022 at 6:56 pm #84773
    wzp
    Moderator

    Do you have any debug logs, that show what is happening?

    January 11, 2023 at 11:00 am #84798
    kreart
    Spectator

    Hi ! Sorry for the delay. I have a debug log, but I don’t think it will help. It only shows that the emails were sent successfully. The problem is that each member receives the same email 2 times.

    [01/11/2023 3:26 PM] – SUCCESS :The username of the member: AnneMicheleBlais, WP User ID is: 31, Target role name: membre
    [01/11/2023 3:28 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:29 PM] – SUCCESS :
    [01/11/2023 3:29 PM] – SUCCESS :
    [01/11/2023 3:29 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:29 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:30 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:31 PM] – SUCCESS :login_through_wp() called with username = GuylaineBoucher
    [01/11/2023 3:34 PM] – SUCCESS :WooCommerce emember integration – Order processed… checking if member account needs to be created or updated.
    [01/11/2023 3:34 PM] – SUCCESS :WooCommerce emember integration – Order status: pending
    [01/11/2023 3:34 PM] – SUCCESS :WooCommerce emember integration – Order status for this transaction is not in a ‘completed’ or ‘processing’ state. Membership update won’t be handled at this stage.
    [01/11/2023 3:34 PM] – SUCCESS :The membership account creation or update for this transaction will be handled when you set the order status to completed.
    [01/11/2023 3:34 PM] – SUCCESS :WooCommerce emember integration – Order processed… checking if member account needs to be created or updated.
    [01/11/2023 3:34 PM] – SUCCESS :WooCommerce emember integration – Order status: completed
    [01/11/2023 3:34 PM] – SUCCESS :Membership Level ID (3) is present in this product (Product ID: 10204). Processing membership account related tasks…
    [01/11/2023 3:34 PM] – SUCCESS :Invoking eMember user signup handling function.
    [01/11/2023 3:34 PM] – SUCCESS :
    [01/11/2023 3:34 PM] – SUCCESS :
    [01/11/2023 3:35 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:35 PM] – SUCCESS :
    [01/11/2023 3:35 PM] – SUCCESS :
    [01/11/2023 3:35 PM] – SUCCESS :login_through_wp() called with username = HeloiseVilleneuve
    [01/11/2023 3:36 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:36 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:37 PM] – SUCCESS :Email Broadcast Addon – Send mail function executed successfuly. Value of mail_sent var :1
    [01/11/2023 3:37 PM] – SUCCESS :
    [01/11/2023 3:37 PM] – SUCCESS :
    [01/11/2023 3:38 PM] – SUCCESS :login_through_wp() called with username = AnnieLecavalier
    [01/11/2023 3:42 PM] – SUCCESS :login_through_wp() called with username = FrancineGendron
    [01/11/2023 3:42 PM] – SUCCESS :login_through_wp() called with username = AnneMicheleBlais
    [01/11/2023 3:43 PM] – SUCCESS :login_through_wp() called with username = AnneMicheleBlais
    [01/11/2023 3:51 PM] – SUCCESS :login_through_wp() called with username = MarieClaudeThemens
    [01/11/2023 4:07 PM] – SUCCESS :login_through_wp() called with username = MarieEveBachand
    [01/11/2023 4:11 PM] – SUCCESS :WooCommerce emember integration – Order processed… checking if member account needs to be created or updated.
    [01/11/2023 4:11 PM] – SUCCESS :WooCommerce emember integration – Order status: pending
    [01/11/2023 4:11 PM] – SUCCESS :WooCommerce emember integration – Order status for this transaction is not in a ‘completed’ or ‘processing’ state. Membership update won’t be handled at this stage.
    [01/11/2023 4:11 PM] – SUCCESS :The membership account creation or update for this transaction will be handled when you set the order status to completed.
    [01/11/2023 4:13 PM] – SUCCESS :
    [01/11/2023 4:13 PM] – SUCCESS :
    [01/11/2023 4:14 PM] – SUCCESS :login_through_wp() called with username = CatherineChayer
    [01/11/2023 4:15 PM] – SUCCESS :login_through_wp() called with username = HeleneFortin
    [01/11/2023 4:27 PM] – SUCCESS :WooCommerce emember integration – Order processed… checking if member account needs to be created or updated.
    [01/11/2023 4:27 PM] – SUCCESS :WooCommerce emember integration – Order status: pending
    [01/11/2023 4:27 PM] – SUCCESS :WooCommerce emember integration – Order status for this transaction is not in a ‘completed’ or ‘processing’ state. Membership update won’t be handled at this stage.
    [01/11/2023 4:27 PM] – SUCCESS :The membership account creation or update for this transaction will be handled when you set the order status to completed.
    [01/11/2023 4:27 PM] – SUCCESS :login_through_wp() called with username = CaroleHovington
    [01/11/2023 4:30 PM] – SUCCESS :WooCommerce emember integration – Order processed… checking if member account needs to be created or updated.
    [01/11/2023 4:30 PM] – SUCCESS :WooCommerce emember integration – Order status: pending
    [01/11/2023 4:30 PM] – SUCCESS :WooCommerce emember integration – Order status for this transaction is not in a ‘completed’ or ‘processing’ state. Membership update won’t be handled at this stage.
    [01/11/2023 4:30 PM] – SUCCESS :The membership account creation or update for this transaction will be handled when you set the order status to completed.
    [01/11/2023 4:34 PM] – SUCCESS :
    [01/11/2023 4:34 PM] – SUCCESS :
    [01/11/2023 4:39 PM] – SUCCESS :
    [01/11/2023 4:39 PM] – SUCCESS :
    [01/11/2023 4:39 PM] – SUCCESS :login_through_wp() called with username = DominiqueLabelle
    [01/11/2023 4:53 PM] – SUCCESS :
    [01/11/2023 4:53 PM] – SUCCESS :
    [01/11/2023 4:53 PM] – SUCCESS :login_through_wp() called with username = MartinBeaudet
    [01/11/2023 4:55 PM] – SUCCESS :login_through_wp() called with username = SylvieMenard
    [01/11/2023 4:58 PM] – SUCCESS :WooCommerce emember integration – Order processed… checking if member account needs to be created or updated.
    [01/11/2023 4:58 PM] – SUCCESS :WooCommerce emember integration – Order status: pending
    [01/11/2023 4:58 PM] – SUCCESS :WooCommerce emember integration – Order status for this transaction is not in a ‘completed’ or ‘processing’ state. Membership update won’t be handled at this stage.
    [01/11/2023 4:58 PM] – SUCCESS :The membership account creation or update for this transaction will be handled when you set the order status to completed.
    [01/11/2023 5:38 PM] – SUCCESS :login_through_wp() called with username = elysebergeron

    January 12, 2023 at 5:59 pm #84802
    admin
    Keymaster

    The first thing we need to see is if our plugin is executing that email sending code twice on your site or the issue is external to the plugin (the mail server duplicating it for some reason). Based on that, we can determine what the next item that should be looked at.

    Can you please share the content of the following debug log file:

    
    eMember_debug_cronjob.txt
    
    January 16, 2023 at 8:39 am #84805
    kreart
    Spectator

    [deleted log after checking it]

    • This reply was modified 2 years, 5 months ago by admin.
    January 18, 2023 at 5:23 pm #84809
    admin
    Keymaster

    Thank you. The logs confirm that the plugin is not executing any duplicate email sending code. So there is an external factor at play here (some kind of conflict).

    Next, lets check if the cronjob events are all registered incorrectly on this site (to make sure there are no duplicate cronjob events registered). Use the WP Control plugin to check if any of the cronjobs are registered multiple times. If they are, you can delete the duplicates. The following tutorial has information that will be helpful.

    How to View and Control WordPress Cron Jobs

    January 25, 2023 at 8:43 am #84827
    kreart
    Spectator

    Hi !

    Last week, the emails weren’t duplicated anymore (I don’t know why, I didn’t do anything diferent) but today the email was sent twice, again. I looked at the cron jobs and there’s no double. In the WP eMember Email Broadcast interface, the email appears 2 times though. I talked with support from my server and the problem isn’t there, it seems it’s triggered in the wordpress. Honestly I don’t know what to do.

    January 25, 2023 at 7:54 pm #84830
    admin
    Keymaster

    Does it show as the email (to that same address) being sent twice in the following debug log file?

    
    eMember_debug_cronjob.txt
    
  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ