Skip to content

Argument 2 passed to OCA\UserStatus\Controller\UserStatusController::setCustomMessage() must be of the type string, null given #23332

@SbloodyS

Description

@SbloodyS

Steps to reproduce

1.modify the status

Actual behaviour

Although the status was modified successfully. But an error was reported, and there was an error log

Server configuration

**Operating system:ubuntu 16.04

**Web server:Nginx

**Database:Mysql

**PHP version:7.4.11

**Nextcloud version:20.0.0

**Updated from an older Nextcloud/ownCloud or fresh install:Updated from nextcould 19

**Where did you install Nextcloud from:Docker compose

Client configuration

**Browser:Chrome

**Operating system:Windows 10

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Exception: Argument 2 passed to OCA\UserStatus\Controller\UserStatusController::setCustomMessage() must be of the type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 169 /var/www/html/lib/private/AppFramework/App.php - line 152:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\UserStat ... {}, "setCustomMessage")

/var/www/html/lib/private/Route/Router.php - line 308:

OC\AppFramework\App::main("OCA\UserSt ... r", "setCustomMessage", OC\AppFramew ... {}, { action: nu ... "})

/var/www/html/ocs/v1.php - line 88:

OC\Route\Router->match("/ocsapp/app ... m")

/var/www/html/ocs/v2.php - line 24:

require_once("/var/www/html/ocs/v1.php")

Insert your Nextcloud log here

Browser log

Browser log
There was an error saving the status

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions