• Resolved stormlux

    (@stormlux)


    Hello, this plugin has been great on a website where we require members to be approved before they can login. Over the last few days I have been using another plugin to import around 5,000 user accounts. I had to break up the import into multiple chunks because it kept failing. After I turned off this plugin, the import went smoothly.

    However, when I turn the plugin on, I now get an error 500 in the admin dashboard.

    I experimented a lot with disabling all other plugins and going to a stock WordPress theme, but I cannot activate the plugin. At the moment we have 5,023 users.

    Another test I did was deleting 100-200 users at a time. When I deleted ~700 users, I was able to activate the plugin.

    I’m happy to provide you with a dev site or record a video to show you how I can activate with -700 users but not before. Any assistance would be greatly appreciated!

    Thank you,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stormlux

    (@stormlux)

    I tried everything to get this to work and by randomly commenting out code inside the plugin, I was able to activate the plugin. The line I had to comment out was in new-user-approve.php and line 329:
    //set_transient( ‘new_user_approve_user_statuses’, $user_statuses );

    It now appears to be working fine as far as I can tell.

    @stormlux: I just started having this problem as well. In my case I have less than 1000 users, but most of them were denied registration using New User Approve.

    Anyway, I tried your solution, but sadly it didn’t seem to make any difference. I guess my next step is to delete all those denied users, but that’s a temporary solution at best.

    Please post here if you have any additional information abut this.

    And just like that, I found a solution. I had recently installed the diagnostic plugin Query Monitor, and although it was disabled, parts of it were still apparently running, because when I deleted the plugin completely, my admin dashboard came back to life. I’m now able to use New User Approve as before.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to activate plugin with over ~4,322 users’ is closed to new replies.