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

version 2.21.0 Log::error not enough parameters in crypt.php #657

Closed
joergmschulz opened this issue Nov 11, 2022 · 1 comment
Closed

version 2.21.0 Log::error not enough parameters in crypt.php #657

joergmschulz opened this issue Nov 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@joergmschulz
Copy link

joergmschulz commented Nov 11, 2022

login in nextcloud is impossible when 2.21.0 is installed.

This happens when you try to login directly to the mail app like in: https://nextcloud.example.tld/apps/snappymail/

Message displayed:

Typ: Exception
Code: 0
Nachricht: Too few arguments to function SnappyMail\Log::error(), 1 passed in /data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/crypt.php on line 102 and exactly 2 expected in file '/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/log.php' line 18
Datei: /www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Zeile: 165

Reason: crypt php didn't get an update for the Log::error call with the 2nd parameter.

 grep -ri Log::err /data/apps/snappymail/app/snappymail/*
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/repository.php:			\SnappyMail\Log::error('INSTALLER', "{$e->getCode()} {$e->getMessage()}");
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/repository.php:			\SnappyMail\Log::error('INSTALLER', "Install package {$sRealFile} failed: {$e->getMessage()}");
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/http/csp.php:			\SnappyMail\Log::error('CSP', $json);
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/pgp/gpg.php:				\SnappyMail\Log::error('GPG', \implode("\n\t", $result['errors']));
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/pgp/gpg.php:			\SnappyMail\Log::error('GPG', "{$this->version} too old");
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/crypt.php:			Log::error($e->getMessage());
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/snappymail/crypt.php:			Log::error($e->getMessage());
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/RainLoop/ServiceActions.php:					\SnappyMail\Log::error('Proxy', $msg);
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/RainLoop/Actions.php:				\SnappyMail\LOG::error('AddressBook', $e->getMessage());
/data/apps/snappymail/app/snappymail/v/2.21.0/app/libraries/MailSo/Mail/MailClient.php:				\SnappyMail\Log::error('IMAP', 'FolderSubscribeList: ' . $oException->getMessage());
@joergmschulz
Copy link
Author

Will you create a maintenance release?

the-djmaze pushed a commit that referenced this issue Nov 13, 2022
@the-djmaze the-djmaze added the bug Something isn't working label Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants