Support » Plugin: GamiPress » Fatal Error when trying to delete a user

  • Resolved demonboy

    (@demonboy)


    I am unable to delete a user, which I need to be able to do in order for them to resubscribe. It is returning this fatal error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function gamipress_on_delete_user(), 1 passed in /home/followth/public_html/wp-includes/class-wp-hook.php on line 290 and exactly 2 expected in /home/followth/public_html/wp-content/plugins/gamipress/includes/users.php:80 Stack trace: #0 /home/followth/public_html/wp-includes/class-wp-hook.php(290): gamipress_on_delete_user(949) #1 /home/followth/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #2 /home/followth/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/followth/public_html/wp-admin/includes/user.php(367): do_action(‘delete_user’, 949, NULL) #4 /home/followth/public_html/wp-admin/users.php(196): wp_delete_user(949) #5 {main} thrown in /home/followth/public_html/wp-content/plugins/gamipress/includes/users.php on line 80

    Please advise, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rubengc

    (@rubengc)

    Hi @demonboy

    Thank you so much for report this issue we will release a fix as soon as possible (probably for today)

    Best regards

    timgoodenoughza

    (@timgoodenoughza)

    Thank you, I have the same error and I look forward to seeing the the fix. Appreciated

    Plugin Author rubengc

    (@rubengc)

    Hi @demonboy and @timgoodenoughza

    The new update (1.8.0.1) has been released!

    Only update GamiPress to the latest release to get this issue fixed

    Thank you for your patience

    Best regards

    timgoodenoughza

    (@timgoodenoughza)

    Many thanks for your prompt response. I have updated and the error didnt return when I deleted a user.
    Thx

    demonboy

    (@demonboy)

    @rubengc kudos to you guys for coming back with an update so quickly. That’s excellent work, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error when trying to delete a user’ is closed to new replies.