-
Notifications
You must be signed in to change notification settings - Fork 267
Description
Basic Information
My error log is showing several of this error per-day, apparently when someone tries to register (user is Guest).
Essentially it just says "2: Undefined array key "code"
Steps to reproduce
I do not know how to reproduce. I have some successful registrations, and some of these log events suggesting registration basically works, but some condition causes it to fail sometimes, and trigger a code error. I have tried registering myself and it seemed to go OK. The message seems pretty straightforward, and the point in the code where it literally tries to access the array with the key 'code' is obvious. I just don't know the code well enough to understand why or what's going on.
Expected result
We should not be seeing an error in the log - this appears to be a code bug.
In other words, failed registrations are a different issue to this.
Actual result
As noted, it's intermittent and appears to be related to new registrations.
All that I know is the error log showing the message.
Version/Git revision
2.1.4
Database Engine
MySQL
Database Version
5.7.44-percona-sure1-log
PHP Version
8.1
Logs
No response
Additional Information
No response