WordPress.org

Ready to get started?Download WordPress

Forums

Bulk Delete
[resolved] Error with bulk user delete (4 posts)

  1. issafly
    Member
    Posted 8 months ago #

    I'm trying to delete all contributor-level users. I get the following error message:

    Warning: call_user_func(Bulk_Delete_Users::render_delete_users_box) [function.call-user-func]: First argument is expected to be a valid callback in /home/content/86/10127886/html/wp-admin/includes/template.php on line 924

    Any suggestions?

    issalfy

    http://wordpress.org/plugins/bulk-delete/

  2. JayUK91
    Member
    Posted 8 months ago #

    Just a note to say I also get this same message upon accessing the "Bulk Delete Users" page, so not an isolated incident.

    On an unrelated note I understand Sudar (the developer) has just had a new addition to his family - so congratulations!

  3. Sudar
    Member
    Plugin Author

    Posted 8 months ago #

    This happens in some version of PHP, because I missed the static keyword in front of render_delete_users_box function. https://github.com/sudar/bulk-delete/issues/31

    On an unrelated note I understand Sudar (the developer) has just had a new addition to his family - so congratulations!

    Thanks :)

    Just give me time till next week and I will release a fix for it. Till then you can just add the static keyword in front of the render_delete_users_box function and this erorr should go away.

    Also let me know the version of PHP you are using. I should add it to my test case as well so that this doesn't happen in future.

  4. Sudar
    Member
    Plugin Author

    Posted 8 months ago #

    I have fixed this in v4.2.1 of the plugin.

    Kindly update the plugin and let me know if you still face this issue.

Reply

You must log in to post.

About this Plugin

About this Topic