URL: /admin/config/people/captcha/examples

Fatal error: Call to undefined function Drupal\captcha\Form\l() in modules\captcha\src\Form\CaptchaExamplesForm.php on line 56

CommentFileSizeAuthor
#2 examplesFix_2474097_1.patch1.1 KBLKS90
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hass’s picture

Issue summary: View changes
LKS90’s picture

Status: Active » Needs review
FileSize
1.1 KB

I'm currently working on this module and saw your issue so here is a patch for that issue. The l() function in Drupal 8 is now \Drupal::l() and the second argument has to be a URL object. And we just return the form since the parent class is abstract and has no buildForm() implementation.

hass’s picture

I just found this issues while upgrading reCAPTCHA. If you need a plugin to test, check out the 8.x-2.x, please. It is stable.

  • wundo committed 8db47eb on 8.x-1.x authored by LKS90
    Issue #2474097 by LKS90: Call to undefined function l()
    
wundo’s picture

Status: Needs review » Fixed

Status: Fixed » Needs work

The last submitted patch, 2: examplesFix_2474097_1.patch, failed testing.

LKS90’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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