• Resolved andrewreaganm

    (@andrewreaganm)


    I receive this error whenever attempting to change passwords on my site:

    Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /var/www/html/wp-includes/plugin.php:174 
    Stack trace: 
    #0 /var/www/html/wp-content/plugins/bnfw/bnfw.php(1184): apply_filters() 
    #1 [internal function]: BNFW->bnfw_members_sanitize_role() 
    #2 /var/www/html/wp-content/plugins/bnfw/bnfw.php(1130): array_map() 
    #3 /var/www/html/wp-includes/class-wp-hook.php(309): BNFW->user_role_added() 
    #4 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() 
    #5 /var/www/html/wp-includes/plugin.php(474): WP_Hook->do_action() 
    #6 /var/www/html/wp-includes/user.php(2283): do_action() 
    #7 /var/www/html/wp-includes/user.php(2404): wp_insert_user() 
    #8 /var/www/html/wp-admin/includes/user.php(227): wp_update_user() 
    #9 /var/www/html/wp-admin/user-edit.php(166): edit_user() 
    #10 {main} thrown in?/var/www/html/wp-includes/plugin.php?on line?174

    Any thoughts on how I may be able to fix this or on what the cause is?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @andrewreaganm,
    Thanks for your message.

    How are you changing a user’s password on your site? Is it via the front-end using a plugin or via the WP Admin?

    Thread Starter andrewreaganm

    (@andrewreaganm)

    I captured this particular error while trying to change a password through the admin portal. It also happens when trying to reset passwords through my my theme’s styled password reset process.

    Plugin Author bnfw

    (@voltronik)

    Hi @andrewreaganm,
    Thanks for confirming.

    I’ve just tested this using the ‘Send Password Reset’ link below a user when on the Users > All Users screen, as well as going into a user and changing their password and then updating their user account and both work and don’t show any errors for me.

    It could be a plugin or theme conflict, where the password reset function isn’t passing all of the required information to WordPress.

    Please can you make your way through this document and let me know how you get on?

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical Site Error on Password Changes’ is closed to new replies.