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.

Comments

suhyeon created an issue. See original summary.

suhyeon’s picture

StatusFileSize
new3.04 KB
suhyeon’s picture

StatusFileSize
new3.7 KB
pandaski’s picture

Version: 8.x-1.3 » 8.x-1.4
Status: Active » Needs review
japerry’s picture

Status: Needs review » Fixed

Not 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!

  • japerry committed 61fe1ea on 8.x-1.x
    Issue #3293710 by suhyeon: CAPTCHA point form ID is set to null
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.