Habe mir heute gedacht das ich ein paar Ränge dazu mache so das sich die User selbst Kennzeichnen können.
Das Standart Rang unter Module deaktiviert und danach versucht meine Ränge auszuwählen, beim absenden kommt eine Fehlermeldung.
Im ACP finde ich das:
Brainfuck
Tue, 23 Feb 2016 16:27:44 +0000
Message: PHP warning in file /home/.sites/596/site8042470/web/wbb/wcf/lib/system/option/MultirankOptionType.class.php (43): Invalid argument supplied for foreach()
File: /home/.sites/596/site8042470/web/wbb/wcf/lib/system/WCF.class.php (309)
PHP version: 5.5.29
WCF version: 2.1.9 pl 1 (Typhoon)
Request URI: /wbb/index.php?ajax-proxy/&
Referrer: http://www.austria-rc-web.info/wbb/index.php?user/1-aron/&editOnInit=true
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Information: ""
Stacktrace:
#0 /home/.sites/596/site8042470/web/wbb/wcf/lib/system/option/MultirankOptionType.class.php(43): wcf\system\WCF::handleError(2, 'Invalid argumen...', '/home/.sites/59...', 43, Array)
#1 /home/.sites/596/site8042470/web/wbb/wcf/lib/system/option/OptionHandler.class.php(311): wcf\system\option\MultirankOptionType->validate(Object(wcf\data\user\option\UserOption), '25')
#2 /home/.sites/596/site8042470/web/wbb/wcf/lib/system/option/user/UserOptionHandler.class.php(188): wcf\system\option\OptionHandler->validateOption(Object(wcf\data\user\option\UserOption))
#3 /home/.sites/596/site8042470/web/wbb/wcf/lib/system/option/OptionHandler.class.php(146): wcf\system\option\user\UserOptionHandler->validateOption(Object(wcf\data\user\option\UserOption))
#4 /home/.sites/596/site8042470/web/wbb/wcf/lib/data/user/UserProfileAction.class.php(243): wcf\system\option\OptionHandler->validate()
#5 [internal function]: wcf\data\user\UserProfileAction->save()
#6 /home/.sites/596/site8042470/web/wbb/wcf/lib/data/AbstractDatabaseObjectAction.class.php(196): call_user_func(Array)
#7 /home/.sites/596/site8042470/web/wbb/wcf/lib/action/AJAXProxyAction.class.php(77): wcf\data\AbstractDatabaseObjectAction->executeAction()
#8 /home/.sites/596/site8042470/web/wbb/wcf/lib/action/AJAXInvokeAction.class.php(96): wcf\action\AJAXProxyAction->invoke()
#9 /home/.sites/596/site8042470/web/wbb/wcf/lib/action/AbstractAction.class.php(49): wcf\action\AJAXInvokeAction->execute()
#10 /home/.sites/596/site8042470/web/wbb/wcf/lib/action/AJAXInvokeAction.class.php(63): wcf\action\AbstractAction->__run()
#11 /home/.sites/596/site8042470/web/wbb/wcf/lib/system/request/Request.class.php(58): wcf\action\AJAXInvokeAction->__run()
#12 /home/.sites/596/site8042470/web/wbb/wcf/lib/system/request/RequestHandler.class.php(139): wcf\system\request\Request->execute()
#13 /home/.sites/596/site8042470/web/wbb/index.php(10): wcf\system\request\RequestHandler->handle('wbb')
#14 {main}
Alles anzeigen
Habe ich da jetzt was falsch gemacht.