Hi @robert681
1) When you upgraded to PHP 8, were there other users who have encountered the same problem?
It was only one user
2) Since you did not encounter the same problem with your account, can you highlight the differences between your account and the account of the other user?
The other user is the only one who has choosen the method to get the 2FA code by email.
3) At what stage is the error reported? Is it reported when they try to log in, or when they are doing something else?
I found the corresponding entry in the access log – the user obviously tried to log in:
***.***.***.*** - - [29/Nov/2022:09:05:13 +0100] "POST /wp-login.php HTTP/2.0" 500 8623 "https://example.com/wp-login.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" example.com
4) Do you have a staging environment on which this can be easily reproduced? If yes, can you reproduce it each time?
I have tested it now on a testing environment: I could reproduce the error 500 on PHP 8.0 with a user that has selected the method “one-time codes via email”.