Support » Plugin: Membership 2 » Duplicate notifications

  • Resolved anitrawolf

    (@anitrawolf)


    Our members are receiving duplicate emails for all notifications on the website. The admin gets a double when someone signs up and the expiration emails are sending twice, sometimes three times. Any ideas what could be causing this and how to fix it?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is the same website I previously had issues with and received support for in this ticket: https://wordpress.org/support/topic/membership-has-ended-repeated-messages/

    I made the suggested changes, but have updated Membership2 with new releases and they must no longer be working… I don’t see the same code at the lines listed on that support thread, so if this fix needs to be applied again, could you give me the lines of code for the latest version?

    Plugin Support Jonathan – WPMU DEV Support

    (@wpmudev-support9)

    Hello @anitrawolf

    Hope you are doing well!

    The previous topic is old and much have changed within the Membership 2 plugin’s core files. I’ve tested the plugin along with BuddyPress plugin and could not reproduce the issue. All emails are sent only once. It looks like a conflict with another plugin.

    Please deactivate all the other plugins except Membership and BuddyPress and see if emails will be sent twice. If only one email sent, start activating one plugin at the time till you find the plugin that is causing the issue.

    If you can’t run this test on a live site, please create a development copy of your site to run this test.

    Just in case, add this line to the wp-config.php file on the development copy of your site so no existent subscription will expire define( "MS_LOCK_SUBSCRIPTIONS", true );

    Add the line define( "MS_LOG_EMAILS", true ); to your wp-config.php as well on live and development copy sites, to track outgoing emails. You can find the email history log in Membership 2 > Help.

    For now, please add this line to the wp-config.php file to stop sending duplicate emails within 24 hours
    define( "MS_DUPLICATE_EMAIL_HOURS", 24 );

    Let us know how it went!

    Kind regards,
    Nastia

    Thank you. I have disabled all unnecessary plugins and done a test of the user registration. I have received just one email, so my fingers are crossed that this fixed the issue! I’ve turned on the email history log and will keep track of that in the future as well. Thanks for your help. I’ll be in touch if the client reports any additional duplicates messages.

    Plugin Support Jonathan – WPMU DEV Support

    (@wpmudev-support9)

    Hello @anitrawolf

    Hope you’re well!

    We’ve not heard from you in a while. I’ve marked this ticket as resolved for now, but if you need anything else at all, we’re here for you, please just reopen the ticket or create a new one.

    Have a good day and take care!

    Cheers,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate notifications’ is closed to new replies.