• don’t know if this is the right forum…

    I have created two users that have EDITOR rights on the website, did this weeks ago.
    Now they say they can’t log in – critical error.
    Well, I tried to reset their password – got the “critical error on this website”. Then deleted one user, created a new one – critical error on website. Tried to change the editor status to admin – same thing.
    (and when the error message says “check your email for further details” – no e-mails to check..)

    Everything else works fine, just this user/update password problem.

    Don’t know where to start looking for the error.
    I disabled all the plugins and switched to Twenty-Twenty-Four theme – made no difference, still critical error.

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    If that does not resolve the issue, check the error log on your server. If you can’t find the log, please contact your host. Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://ww.wp.xz.cn/support/article/debugging-in-wordpress/

    Also review the following articles:
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-critical-error-in-wordpress/
    https://kinsta.com/knowledgebase/there-has-been-a-critical-error-on-your-website/

    Thread Starter dweeb

    (@dweeb)

    None of the above mentioned helped.
    The debug log showed “deprecated” for one plugin (easy wp smtp), which I uninstalled completely, didn’t help. No errors came up in the debugging. And after uninstalling the plugin, no debug information at all.

    Created a completely new user, and got this message suddenly:

    Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/PHPMailer/PHPMailer.php:874 Stack trace: #0 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/PHPMailer/PHPMailer.php(1961): PHPMailer\PHPMailer\PHPMailer->mailPassthru() #1 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/PHPMailer/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend() #2 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/PHPMailer/PHPMailer.php(1518): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/pluggable.php(546): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/user.php(2662): wp_mail() #5 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-admin/includes/user.php(233): wp_update_user() #6 /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-admin/user-edit.php(170): edit_user() #7 {main} thrown in /home/zeejipbjxl/domains/kulttuurihansa.fi/public_html/wp-includes/PHPMailer/PHPMailer.php on line 874

    This didn’t come up before, only after creating the new user.
    When trying to log in with the new user info, it won’t let me in. No error message (unless I try with a wrong password), it just doesn’t do anything.

    User database doesn’t show anything special. Nothing shows anything special (!)…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Critial error when updating users password’ is closed to new replies.