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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

welly created an issue. See original summary.

welly’s picture

Version: 8.x-1.x-dev » 8.x-1.0-beta1
welly’s picture

gpbarga’s picture

Hey, 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().

welly’s picture

Makes sense @gpbarga! Tested your updated patch, looks good to me!

welly’s picture

Status: Active » Reviewed & tested by the community
wundo’s picture

Version: 8.x-1.0-beta1 » 8.x-1.x-dev
wundo’s picture

  • wundo committed 09cecda on 8.x-1.x authored by gpbarga
    Issue #2929153 by welly, gpbarga, wundo: Notice: Undefined index: #...
wundo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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