• Resolved FixItDik

    (@fixitdik)


    A user reported this to me and so I have created a dummy user and gone through the “Forgotten password” route a couple of times (once using v3.1.4 and then again after spotting an update was available and so updating to 3.1.5). But the problem persists. On the login form click the “Forgotten password” link, enter username/email address and submit – a reset password email is mailed to the user. Click the link in the email and you see a form asking for your new password (and a second field to confirm the new password). All fine and dandy until you click the Submit (having filled in the form with a valid password) and the screen clears showing “There has been a critical error on this website” with the URL “{my website}/my-account/lost-password/?show-reset-form=true” – anyone else seeing the same? I only have a few hundred users so this feature is not used very often, could have been broken for ages and I wouldn’t have known, but just wanted to check it was not something I was doing wrong ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter FixItDik

    (@fixitdik)

    Just to note: The new password does appear to be set correctly and the normal (logged in) method for changing your password as a user is working fine.

    Plugin Support sanjuacharya77

    (@sanjuacharya77)

    Hello @fixitdik,

    Thanks for writing in details. Could you please provide us the url of the registration and login form? We will test and get back to you accordingly.

    Regards!

    Thread Starter FixItDik

    (@fixitdik)

    Hi Sanju, I did reply to your email yesterday (sorry to make my request both here and by email). Can you let me know if you got my reply as I would rather not publicise the web site unless absolutely necessary. Thanks. Dik

    Thread Starter FixItDik

    (@fixitdik)

    Just to say a huge thank you to Sanju – with the help of the User Registration log file (accessible via the Tools sub-menu when you hover over the User Registration admin menu item) the problem was located in my own code and resolved super quick after that.

    Just in case anyone else hits the same or similar issues:

    • Check the log (Admin menu > User Registration > Tools) as the errors trapped there were not even being trapped by the WP Activity Log plugin I have installed
    • If your own code (or that of another plugin) is attempting to fiddle with the logic that sends an email to the administrator when a user resets their password, make sure it is using the latest version of the parameters (my own code was for an older version of the event hook that only had 3 parameters, the current version expects one parameter, an array)

    Thank you again!

    Dik

    • This reply was modified 8 months, 1 week ago by FixItDik.
    Thread Starter FixItDik

    (@fixitdik)

    (marking as Solved)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reset password form results in Critical Error’ is closed to new replies.