Problem/Motivation
CAPTCHA point form ID is set to null and when enabled it gives deprecated function message in logs
Steps to reproduce
Install PHP 8.1
Install Captcha and Database Logging modules
Enable both Captcha and Database Logging modules
Navigate to admin/config/people/captcha/captcha-points
Enable any existing captcha point without editing
Navigate to admin/reports/dblog?type%5B%5D=php&severity%5B%5D=7
A deprecated function message will be found.
Proposed resolution
Set form ID for Captcha point and autofill it's form ID if found.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | hook-3293710-3.patch | 3.7 KB | suhyeon |
| #2 | add label-3293710-1.patch | 3.04 KB | suhyeon |
Comments
Comment #2
suhyeon commentedComment #3
suhyeon commentedComment #4
pandaski commentedComment #5
japerryNot even sure why that label is there. its strictly a machine name and shouldn't have that second configuration. but thats an issue for another day. This patch looks good. Fixed!