• Resolved mihailmc

    (@mihailungu)


    With Ultimate WP mail active, if i trie to change a user’s password, after pressing update i get a critical error. I activated debugging and this is the error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function EWD_UWPM_Send_On_User_Password_Reset(), 1 passed in /home/biovibez/public_html/wp-includes/class-wp-hook.php on line 289 and exactly 3 expected in /home/biovibez/public_html/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php:33 Stack trace: #0 /home/biovibez/public_html/wp-includes/class-wp-hook.php(289): EWD_UWPM_Send_On_User_Password_Reset(Array) #1 /home/biovibez/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array) #2 /home/biovibez/public_html/wp-includes/user.php(2264): apply_filters(‘password_change…’, Array, Array, Array) #3 /home/biovibez/public_html/wp-admin/includes/user.php(227): wp_update_user(Array) #4 /home/biovibez/public_html/wp-admin/user-edit.php(164): edit_user(2) #5 {main} thrown in /home/biovibez/public_html/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php on line 33

Viewing 1 replies (of 1 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hello mihail

    Any conflict caused by you changing a password is probably related to the functionality we have in our plugin to automatically send an email on password change.

    The file, in our plugin, that has the code for this is EWD_UWPM_Send_On_Actions.php (in the Functions folder). You can see in there that there is a function called “EWD_UWPM_Send_On_User_Password_Reset”. If you were to comment out the filter that hooks this function into WordPress, it should remove that functionality from the plugin and hopefully the conflict you are facing. The line you would want to comment out/remove is the following:

    add_filter('password_change_email', 'EWD_UWPM_Send_On_User_Password_Reset');

Viewing 1 replies (of 1 total)

The topic ‘Critical error when changing password’ is closed to new replies.