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 1 year, 10 months ago by admin.
-
AuthorPosts
-
December 12, 2022 at 8:05 am #84769kreartSpectator
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 #84773wzpModeratorDo you have any debug logs, that show what is happening?
January 11, 2023 at 11:00 am #84798kreartSpectatorHi ! 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 = elysebergeronJanuary 12, 2023 at 5:59 pm #84802adminKeymasterThe 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 #84805kreartSpectator[deleted log after checking it]
- This reply was modified 1 year, 10 months ago by admin.
January 18, 2023 at 5:23 pm #84809adminKeymasterThank 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.
January 25, 2023 at 8:43 am #84827kreartSpectatorHi !
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 #84830adminKeymasterDoes it show as the email (to that same address) being sent twice in the following debug log file?
eMember_debug_cronjob.txt
-
AuthorPosts
- You must be logged in to reply to this topic.