WoltLab/com.woltlab.wcf.user — Issue #20: UserOptionHandler broken
Author: Gravatronics
Created: 2012-02-24 17:05:56+00:00
State: open

Searching/Adding/Editing users doesn't work anymore:

```
Fatal error: PHP notice in file /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/data/user/option/UserOption.class.php (84): Trying to get property of non-object
Information:
error message: PHP notice in file /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/data/user/option/UserOption.class.php (84): Trying to get property of non-object
error code: 0
file: /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/WCF.class.php (271)
php version: 5.3.6
wcf version: 2.0.0 Alpha 1 (Maelstrom)
date: Fri, 24 Feb 2012 17:01:56 +0000
request: /WoltLab/WCF%202.0/installations/2012-02-24/gtpm/acp/index.php/UserAdd/?s=b069ba364da553fd1cebaa610b1166f030ff376b
Stacktrace:
#0 Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/data/user/option/UserOption.class.php(84): wcf\system\WCF::handleError(8, 'Trying to get p...', '...', 84, Array)
#1 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/user/UserOptionHandler.class.php(117): wcf\data\user\option\UserOption->isVisible()
#2 Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(485): wcf\system\option\user\UserOptionHandler->checkVisibility(Object(wcf\data\user\option\UserOption))
#3 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(400): wcf\system\option\OptionHandler->checkOption(Object(wcf\data\user\option\UserOption))
#4 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(408): wcf\system\option\OptionHandler->loadActiveOptions('settings.privac...', Array)
#5 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(408): wcf\system\option\OptionHandler->loadActiveOptions('settings.privac...', Array)
#6 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(408): wcf\system\option\OptionHandler->loadActiveOptions('settings', Array)
#7 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(378): wcf\system\option\OptionHandler->loadActiveOptions('')
#8 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/option/OptionHandler.class.php(119): wcf\system\option\OptionHandler->readCache(true)
#9 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/acp/form/AbstractOptionListForm.class.php(82): wcf\system\option\OptionHandler->__construct('user-option', 'wcf\system\cach...', false, '', '', true)
#10 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/page/AbstractPage.class.php(55): wcf\acp\form\AbstractOptionListForm->readParameters()
#11 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/request/Request.class.php(58): wcf\page\AbstractPage->__construct()
#12 /Development/WoltLab/WCF 2.0/installations/2012-02-24/wcf/lib/system/request/RequestHandler.class.php(38): wcf\system\request\Request->execute()
#13 /Development/WoltLab/WCF 2.0/installations/2012-02-24/gtpm/acp/index.php(3): wcf\system\request\RequestHandler->handle('gtpm', true)
#14 {main}