Undefined url function

Created on 1 March 2023, over 1 year ago
Updated 2 February 2024, 8 months ago

Problem/Motivation

When a user attemps to login with a wrong user/password or after multiple tries, the popup does not response because the following error:

Error: Call to undefined method Drupal\ajax_login_popup\Form\CustomUserLoginForm::url()

Steps to reproduce

Try to login more than 3 times with a wrong user/password.

Proposed resolution

Replace the call to the unexisting $this->url() method for Url::fromRoute()

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain dtamajon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024