Bulk delete users not working

Home Forums Bulk Delete Addons Scheduler for Deleting Users by Role Bulk delete users not working

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Sudar 10 years, 5 months ago.

  • Author
    Posts
  • #694

    Matthew Briney
    Participant

    I am running the bulk delete users plugin on our site. We have 180668 subscribers that we need to remove from our system.

    I setup the scheduled job to be:

    Jun 15, 2014 @ 22:55 (1402872902)
    Delete
    ngg_custom do-bulk-delete-users-by-role Array ( [0] => Array ( [selected_roles] => Array ( [0] => subscriber ) [no_posts] => [login_restrict] => [login_days] => [limit_to] => ) )

    I’ve let it run now for several days but no users have been deleted.

    The add-on license is valid and shows properly in the extended area.

  • #695

    Sudar
    Keymaster

    Since the number of users to be deleted is huge your server is running out of memory and the process is not able to complete.

    If it is possible, try to increase the amount of memory that is allocated to PHP in your server.

    Give me a day and I will modify the addon so that you can delete users in batches. This will allow you to schedule the deletion in batches and the process should complete even with low memory allocated to users.

  • #711

    Sudar
    Keymaster

    I have added the ability to delete users in batch and will release it as part of v5.2 of the base Bulk Delete plugin in about a week. Unfortunately the change had to be made in the plugin and not in the addon as I previously thought.

    If you can wait for a week till I make the release, then you can automatically update from your WordPress admin site. If you need this feature right away, then you pick up the changes from this commit https://github.com/sudar/bulk-delete/commit/2588fd889e60e8e9a369f62b7e38524359099bec

  • #868

    Sudar
    Keymaster

    I have released v5.2 of the plugin which has the ability to delete users in batches. Try it out and let me know if you are still facing any issues.

    Marking this thread as resolved. Feel free to post again if you still have any more questions.

The forum ‘Scheduler for Deleting Users by Role’ is closed to new topics and replies.