Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"MiniLoginForm" is unusable #111

Open
GuySartorelli opened this issue Jun 22, 2023 · 0 comments
Open

"MiniLoginForm" is unusable #111

GuySartorelli opened this issue Jun 22, 2023 · 0 comments

Comments

@GuySartorelli
Copy link
Member

GuySartorelli commented Jun 22, 2023

This class references self::$action_button_name - but that variable hasn't been defined. I suspect it's a holdover from a previous version and was relying on its parent class hierarchy to define it but in any case because that's not defined, the whole form just doesn't work and trying to instantiate the class results in this error:

[Emergency] Uncaught Error: Access to undeclared static property: SilverStripe\RealMe\Authenticator\MiniLoginForm::$action_button_name
GET /
Line 21 in /var/www/vendor/silverstripe/realme/src/Authenticator/MiniLoginForm.php

Note: Because the form doesn't work, I can't rebrand it as part of #105 so the styling will also need to be amended as part of this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant