nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
846 stars 259 forks source link

Error message when changing password #1485

Open ghofman opened 5 years ago

ghofman commented 5 years ago

Expected behavior

Password for the account is being changed.

Actual behavior

An error massage appears: Error while updating the account: Internal Server Error Log record in Nextcloud logs:

TypeError: Argument 5 passed to OCA\Mail\Controller\AccountsController::update() must be of the type string, null given, called in /storage/html/cloud.deontdekkers.nl/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 166

Mail app

Mail app version: (see apps admin page, e.g. 0.5.3) Mail 0.11.0

Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...) IMAP server on shared hosting account at Versio.nl

Server configuration

Operating system: (e.g. Debian 8) Debian 8

Web server: (e.g. Apache, Nginx,...) Apache 2.4.10 (Debian)

Database: (e.g. MariaDB, SQLite or PostgreSQL) MariaDB 10.0.37

PHP version: (e.g. 7.0) 7.2.11

Nextcloud Version: (see admin page, e.g. 13.0.2) 14.0.6

Client configuration

Browser: (e.g. Firefox 48) Firefox 64.0

Operating system: (e.g. Arch Linux) Linux Mint 18.2

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/69028106-error-message-when-changing-password?utm_campaign=plugin&utm_content=tracker%2F44154351&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F44154351&utm_medium=issues&utm_source=github).
ChristophWurst commented 5 years ago

TypeError: Argument 5 passed to OCA\Mail\Controller\AccountsController::update() must be of the type string, null given, called in /storage/html/cloud.deontdekkers.nl/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 166

Please share the full stack trace!

ghofman commented 5 years ago

TypeError: Argument 5 passed to OCA\Mail\Controller\AccountsController::update() must be of the type string, null given, called in /storage/html/cloud.mydomain.nl/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 166

/storage/html/cloud.mydomain.nl/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:
OCA\Mail\Controller\AccountsController->update(8, "Democratisc ... s", "info@mydomain.nl", "MYPassword", null, null, null, null, null, null, null, null, null, null, true)

/storage/html/cloud.mydomain.nl/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Con ... {}, "update")

/storage/html/cloud.mydomain.nl/nextcloud/lib/private/AppFramework/App.php - line 118:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Con ... {}, "update")

/storage/html/cloud.mydomain.nl/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OCA\\Mail\\ ... r", "update", OC\AppFramew ... {}, { id: "8",_r ... "})

OC\AppFramework\Routing\RouteActionHandler->__invoke({ id: "8",_r ... "})

/storage/html/cloud.mydomain.nl/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { id: "8",_r ... "})

/storage/html/cloud.mydomain.nl/nextcloud/lib/base.php - line 987:
OC\Route\Router->match("/apps/mail/api/accounts/8")

/storage/html/cloud.mydomain.nl/nextcloud/index.php - line 42:
OC::handleRequest()