• Resolved edweiss

    (@edweiss)


    Hi,

    I’m getting the following error message when trying to edit a user’s profile info the backend. Please advise!

    Error Details
    =============
    An error of type E_ERROR was caused in line 33 of the file /var/www/vhosts/camapcanada.ca/httpdocs/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php. Error message: Uncaught ArgumentCountError: Too few arguments to function EWD_UWPM_Send_On_User_Password_Reset(), 1 passed in /var/www/vhosts/camapcanada.ca/httpdocs/wp-includes/class-wp-hook.php on line 288 and exactly 3 expected in /var/www/vhosts/camapcanada.ca/httpdocs/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php:33
    Stack trace:
    #0 /var/www/vhosts/camapcanada.ca/httpdocs/wp-includes/class-wp-hook.php(288): EWD_UWPM_Send_On_User_Password_Reset(Array)
    #1 /var/www/vhosts/camapcanada.ca/httpdocs/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
    #2 /var/www/vhosts/camapcanada.ca/httpdocs/wp-includes/user.php(2000): apply_filters(‘password_change…’, Array, Array, Array)
    #3 /var/www/vhosts/camapcanada.ca/httpdocs/wp-admin/includes/user.php(224): wp_update_user(Array)
    #4 /var/www/vhosts/camapcanada.ca/httpdocs/wp-admin/user-edit.php(160): edit_user(429)
    #5 {main}
    thrown

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi @edweiss,

    What version of WordPress are you running?
    What version of the plugin are you running?
    What version of PHP are you running?

    Thread Starter edweiss

    (@edweiss)

    Hi, it’s WordPress 5.2.1, on php 7.3.5, plugin version 0.19.

    Thanks!

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Not sure why our plugin would have any effect on editing user profiles. These are just regular WordPress users? Were you ever able to make changes like this before? Did you update your PHP version, or WordPress version, and then this started to happen?

    The error indicates the issue is related to the emails that send when someone changes their password. Do you have that enabled in our plugin? If so, what happens if you disable it? Do you not get that error then?

    Thread Starter edweiss

    (@edweiss)

    Yep, just regular WP users. This has been happening for a while now, but it’s only since WP started sending the error details that I’ve known it was related to this plug-in.

    I’ve narrowed it down to the error being thrown only when the password is edited. It works fine if I disable the plug-in.

    I don’t see the particular setting about getting emailed when the password is change, where would I find it?

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi ed,

    There’s a send event (in the Send Events section) that lets you send an email when “Password is Reset”.

    The reason we’re asking is we can’t recreate this on our end. We can update a user no problem when our plugin is enabled. So we’re trying to find out what’s different or specific about your setup that is causing this issue.

    Thread Starter edweiss

    (@edweiss)

    Ah, I see.

    No, that wasn’t enabled. I tried enabling it, then disabling it, and the problem still happens.

    I wonder if the issue is a conflict with another plugin. I’ll disabling others and see if it makes a difference.

    Thread Starter edweiss

    (@edweiss)

    Hi, I tried duplicating the site and disabling all plugins except yours, and it’s still not working! I’m really at a loss…

    Just to confirm, these are my current settings:
    WordPress 5.2.1 running Twenty Nineteen theme.

    Running PHP version: 7.3.6

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    We’re completely unable to recreate this, so I’m not sure what to tell you. The only thing I can think of is, if you downgrade to an earlier version of PHP (e.g. 7.1), does it make a difference?

    Thread Starter edweiss

    (@edweiss)

    Hm, no, downgrading doesn’t seem to change anything.

    I might try to start a fresh installation and see what happens.

    Thread Starter edweiss

    (@edweiss)

    FYI, I tried a brand new installation on Plesk with UWPM as the only plug-in and it’s causing the same error.

    Thread Starter edweiss

    (@edweiss)

    Update: It works fine if I roll back PHP to 7.0.33!

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi @edweiss,

    Thank you for letting us know. We will update you once we find out more information. In the mean time, you can use this as a temporary solution, if that is alright with you. If you find out more information, please let us know. Thank you

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Error thrown on editing user info’ is closed to new replies.