WoltLab/WCF — Issue #273: New users can't be created via ACP
Author: Gravatronics
Created: 2011-12-01 21:54:10+00:00
State: open

User options error (I know, Alexander really likes them ;)):

```
error message: PHP error in file ***/wcf2/installations/2011.11.21/wcf/lib/data/user/option/UserOption.class.php (52): Argument 1 passed to wcf\data\user\option\UserOption::setUser() must be an instance of wcf\data\user\User, null given, called in ***/wcf2/installations/2011.11.21/wcf/lib/system/option/user/UserOptionHandler.class.php on line 110 and defined
error code: 0
file: ***/wcf2/installations/2011.11.21/wcf/lib/system/WCF.class.php (262)
php version: 5.3.6
wcf version: 2.0.0 Alpha 1 (Maelstrom)
date: Thu, 01 Dec 2011 21:48:59 +0000
request: /woltlab/wcf2/installations/2011.11.21/shdb/acp/index.php/UserAdd/?s=c14bc026baf2e76f3fae27ea48b70bb90ec34aa9
referer: http://localhost:8888/woltlab/wcf2/installations/2011.11.21/shdb/acp/index.php/UserList/?s=c14bc026baf2e76f3fae27ea48b70bb90ec34aa9
Stacktrace:
#0 ***/wcf2/installations/2011.11.21/wcf/lib/data/user/option/UserOption.class.php(52): wcf\system\WCF::handleError(4096, 'Argument 1 pass...', '***...', 52, Array)
#1 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/user/UserOptionHandler.class.php(110): wcf\data\user\option\UserOption->setUser(NULL)
#2 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/OptionHandler.class.php(463): wcf\system\option\user\UserOptionHandler->checkVisibility(Object(wcf\data\user\option\UserOption))
#3 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/OptionHandler.class.php(378): wcf\system\option\OptionHandler->checkOption(Object(wcf\data\user\option\UserOption))
#4 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/OptionHandler.class.php(386): wcf\system\option\OptionHandler->loadActiveOptions('profile.aboutMe')
#5 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/OptionHandler.class.php(386): wcf\system\option\OptionHandler->loadActiveOptions('profile')
#6 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/OptionHandler.class.php(362): wcf\system\option\OptionHandler->loadActiveOptions('')
#7 ***/wcf2/installations/2011.11.21/wcf/lib/system/option/OptionHandler.class.php(118): wcf\system\option\OptionHandler->readCache(true)
#8 ***/wcf2/installations/2011.11.21/wcf/lib/acp/form/AbstractOptionListForm.class.php(82): wcf\system\option\OptionHandler->__construct('user-option', 'wcf\system\cach...', false, '', '', true)
#9 ***/wcf2/installations/2011.11.21/wcf/lib/page/AbstractPage.class.php(54): wcf\acp\form\AbstractOptionListForm->readParameters()
#10 ***/wcf2/installations/2011.11.21/wcf/lib/system/request/Request.class.php(58): wcf\page\AbstractPage->__construct()
#11 ***/wcf2/installations/2011.11.21/wcf/lib/system/request/RequestHandler.class.php(38): wcf\system\request\Request->execute()
#12 ***/wcf2/installations/2011.11.21/shdb/acp/index.php(3): wcf\system\request\RequestHandler->handle('shdb', true)
#13 {main}
```