You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can’t reproduce that, but it looks like it would happen if something is causing a validation error on the user that’s being created, preventing the element from getting saved.
I just added a check so if that happens, an exception will be thrown that lists any validation errors on the user, which should help point you in the right direction.
You can test that change by changing your craftcms/cms requirement in composer.json to:
What happened?
Description
System error when attempting to create a new user in the control panel.
Steps to reproduce
Expected behavior
A new user profile.
Actual behavior
TypeError at line 1026
craft\controllers\UsersController::actionCreate(): Return value must be of type yii\web\Response, null returned
Craft CMS version
Craft Pro 5.5.10
PHP version
8.2
Operating system and version
MacOS Sequoa 15.1.1
Database type and version
MySQL 8.0.27
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.1-43)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: