Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Had notice that my db log is filling with these entries:
Notice: Undefined index: #limit_validation_errors in Drupal\captcha\Element\Captcha::processCaptchaElement()
Will attach a patch to fix this.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2929153-4.patch | 927 bytes | gpbarga |
| |||
#3 | captcha-undefined-index-2929153-3-8.3.7.patch | 807 bytes | welly |
Comments
Comment #2
welly CreditAttribution: welly at Fat Beehive commentedComment #3
welly CreditAttribution: welly at Fat Beehive commentedComment #4
gpbarga CreditAttribution: gpbarga commentedHey, ran into this problem aswell.
I think we should also ensure that the $form_state->getTriggerElement()['#limit_validation_errors'] is an array aswell instead of just checking if its set to preserve the intention of calling is_array().
Comment #5
welly CreditAttribution: welly at Fat Beehive commentedMakes sense @gpbarga! Tested your updated patch, looks good to me!
Comment #6
welly CreditAttribution: welly at Fat Beehive commentedComment #7
wundo CreditAttribution: wundo at Chuva Inc. commentedComment #8
wundo CreditAttribution: wundo at Chuva Inc. commentedComment #10
wundo CreditAttribution: wundo at Chuva Inc. commented