Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | examplesFix_2474097_1.patch | 1.1 KB | LKS90 |
Comments
Comment #1
hass CreditAttribution: hass commentedComment #2
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedI'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.
Comment #3
hass CreditAttribution: hass commentedI 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.
Comment #5
wundo CreditAttribution: wundo commentedComment #7
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commented