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

"A required parameter (key) was missing" #6

Open
Buda9 opened this issue Nov 26, 2023 · 4 comments
Open

"A required parameter (key) was missing" #6

Buda9 opened this issue Nov 26, 2023 · 4 comments

Comments

@Buda9
Copy link

Buda9 commented Nov 26, 2023

Hi @stefanscholz

I'm encountering an issue with a plugin, both on my localhost and the production server. With debugging enabled, I'm seeing the error message "A required parameter (key) was missing," as shown in the attached screenshot from my localhost. I see same error on production server.

Screenshot_119

Did you or anyone experienced a similar issue or has insights into debugging this type of error?

Thank you in advance!

Details:
Moodle 4.3+ (20231123)
$plugin->version = 2023112400;
$plugin->release = 'v1.0.1';
Ubuntu, nginx, hestia cp

@frogMauri
Copy link

Hi
I have the same issue.

I have no idea how to fix the problem

@frogMauri
Copy link

I may have figured out the problem.
I tried changing theme, I was using a custom moodle theme.

It sent the email correctly
With the classic theme it seems to work.

@Buda9 Buda9 closed this as completed Dec 19, 2023
@mudrd8mz
Copy link

I can still reproduce this problem. In my case, I get it when

  1. I use the login page to send the magic link
  2. At the next screen I click Continue link below the green "If you supplied a correct email address ..." message
  3. I attempt to log in via username and password now

@mudrd8mz
Copy link

mudrd8mz commented Aug 22, 2024

Confusingly, even if the error is shown, the user is still logged in. This can have security impact - the user may believe the login did not work and just leave the computer for example.

Ping @stefanscholz

@stefanscholz stefanscholz reopened this Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants