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

ArgumentCountError when logging in #146

Open
hubipe opened this issue May 29, 2024 · 1 comment
Open

ArgumentCountError when logging in #146

hubipe opened this issue May 29, 2024 · 1 comment
Labels

Comments

@hubipe
Copy link

hubipe commented May 29, 2024

Issue Description

There is an error while logging. I don't know what caused it, as there is argument count error for calling sprintf:

ArgumentCountError: 3 arguments are required, 2 given
/bitnami/dokuwiki/lib/plugins/oauth/helper.php(123)
#0 /bitnami/dokuwiki/lib/plugins/oauth/helper.php(123): sprintf()
#1 /bitnami/dokuwiki/lib/plugins/oauth/auth.php(51): helper_plugin_oauth->showException()
#2 /opt/bitnami/dokuwiki/inc/auth.php(102): auth_plugin_oauth->trustExternal()
#3 /opt/bitnami/dokuwiki/inc/init.php(238): auth_setup()
#4 /opt/bitnami/dokuwiki/doku.php(38): require_once('...')
#5 {main}

image

@hubipe hubipe added the bug label May 29, 2024
@hubipe
Copy link
Author

hubipe commented May 29, 2024

I guess I know, which message caused it. It is this message:

$lang['authnotenabled'] = 'The account associated with your email address has not enabled logging in with %s. Please login by other means and enable it in your profile.';

In czech language, there are two specifiers, whereas in english, there are only one:

$lang['authnotenabled'] = 'Uživatelský účet spojený s vaší e-mailovou adresou nemá povolené přihlašování službou %s. Prosím přihlašte se jinou metodou a povolte přihlašování službou %s ve svém profilu

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

No branches or pull requests

1 participant