Problem/Motivation

Enable the module, an error appears:
Fatal error: Type of Drupal\webauthn\Form\WebAuthnVerifyForm::$requestStack must not be defined (as in class Drupal\Core\Form\FormBase) in /var/www/html/web/modules/contrib/dmfa/src/Form/WebAuthnVerifyForm.php on line 21

Issue fork dmfa-3582203

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nicrodgers created an issue. See original summary.

nicrodgers’s picture

Also this:

Fatal error: Type of Drupal\webauthn\Form\WebAuthnVerifyForm::$configFactory must not be defined (as in class Drupal\Core\Form\FormBase) in /var/www/html/web/modules/contrib/dmfa/src/Form/WebAuthnVerifyForm.php on line 21

vinodhini.e’s picture

Status: Active » Reviewed & tested by the community

Hi, Tested this on Drupal 11.2.5. While installing the module, I encountered the following fatal error:

Fatal error: Type of Drupal\webauthn\Form\WebAuthnVerifyForm::$requestStack must not be defined (as in class Drupal\Core\Form\FormBase) in /web/modules/contrib/dmfa/src/Form/WebAuthnVerifyForm.php on line 21

Applied MR !1 and reinstalled the module, the issue is resolved. The module installs successfully without any errors. The patch is working as expected.

Moving to RTBC.

Thanks.