Problem/Motivation

Since update to latest Drupal Core 10.6.5 and now 10.6.6' ay login the followinh error is thrown

InvalidArgumentException: Class "\Drupal\tfa\Form\TfaLoginForm" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 37 of core/lib/Drupal/Core/DependencyInjection/ClassResolver.php).

Yet the Module does exist.

The site works until you try to login

Comments

cebab54 created an issue. See original summary.

cmlara’s picture

cmlara’s picture

Title: TFA not worling since update to Core 10.6.5 and 10.6.6 » TFA not working since update to Core 10.6.5 and 10.6.6
Status: Active » Postponed (maintainer needs more info)
Issue tags: -TFA is causin

https://git.drupalcode.org/project/tfa/-/jobs/9287690#L152 Appears to be unrelated, I'm seeing it on older versions of 10.x core as well. That test manually sets controller routes to test changes and is not indicative of a production deployment (cursory checks appear to indicate the requirements hook is not being called in TFA which is separate from forms)

I'm not currently able to reproduce any issues with the login form throwing an error. Can you please provide more detailed steps to reproduce from a vanilla Drupal Core 10.6 install without any patches applied to TFA or Core?