Users are disappearing from database

Hi Team,

my wordpress users are regularly and unexplainably disappearing from my WordPress Database and in the Affiliate Database-Table they are set on “deleted” and I simply cannot figure out why.

I first had installed a 2FA – Plugin, which might deactivate the users, if they are not verifying their email-address within a certain period of time. So I thought, this was the culprit. But I now again this is happening. And I simply cannot explain why.

Could you give me a professional hint?

Thanks a lot in advance.

Best,
Martin


Comments

3 responses to “Users are disappearing from database”

  1. Eugen Bleck Avatar
    Eugen Bleck

    Hi Martin,

    Thanks for reaching out.

    Indeed this is a strange case. But on following your thread here, I’d suggest you enable WP Debug as recommended by George on the topic. This is so as the log would most likely have some information that could point towards the cause of the issue.

    Furthermore, it would be great to revisit the plugins you have installed and be certain you have just those that are super necessary. Since some plugins out there cause more harm than good.

    Here’s what to do in order to enable WP Debugging.

    Edit your wp-config.php file and do the following:
    Replace this line:
    define( ‘WP_DEBUG’, false );

    with these lines:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    All log messages will be stored in wp-content/debug.log file.

    I wish you a great day ahead.

    Warm regards,
    Eugen.

    1. Martin Bohnhorst Avatar
      Martin Bohnhorst

      Hi Eugen,

      thank you for your advice. I managed to find the culprit. I got the Woocommerce Subscription Plugin installed and in its settings, there was a setting, that inactive subscribers should be deleted after a certain period of time. I set this period to 1 year and now the users stay in database.

      Sorry for disturbing you with this matter, but maybe it is of some help for anyone facing a similar issue.

      Best,
      Martin

      1. Eugen Bleck Avatar
        Eugen Bleck

        Hi Martin,

        Thanks for updating me on your findings and I am glad you were able to find the culprit.

        Have a great day ahead.

        Stay safe and kindest regards,
        Eugen.

Share