- Affected Version
- WoltLab Suite 5.4
- Affected App
- WoltLab Suite Core
Hallo,
mir ist bewusst, dass PHP 8.1 (noch) nicht offiziell unterstützt wird, aber prinzipiell lauffähig sein soll. Leider wurde bei meinem Testsystem automatisch auf 8.1 aktualisiert und ich kann nur mit deutlichen Mehraufwand wieder downgraden. Also dachte ich mir: kein Problem, testen wir mal wie gut die Suite mit PHP 8.1 läuft.
Nun lief soweit auch erstmal alles, als ich dann aber im ACP unter Konfiguration -> Allgemein auf den Button "Absenden" geklickt habe, habe ich folgende Fehlermeldung erhalten:
- Requested URL
- POST /acp/index.php?option/8/
- Referrer
- https://*****/acp/index.php?option/8/
- Error Message
- preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
- Type
- wcf\system\exception\ErrorException
- File (Line)
- /Users/*****/www/wsc54/lib/system/WCF.class.php (344)
- Stacktrace
-
- [internal function] (?): wcf\system\WCF::handleError(…)
- /Users/*****/www/wsc54/lib/util/StringUtil.class.php (95): preg_replace(…)
- /Users/*****/www/wsc54/lib/system/option/TextareaOptionType.class.php (51): wcf\util\StringUtil::unifyNewlines(…)
- /Users/*****/www/wsc54/lib/system/option/OptionHandler.class.php (397): wcf\system\option\TextareaOptionType->getData(…)
- /Users/*****/www/wsc54/lib/system/option/OptionHandler.class.php (185): wcf\system\option\OptionHandler->validateOption(…)
- /Users/*****/www/wsc54/lib/acp/form/AbstractOptionListForm.class.php (97): wcf\system\option\OptionHandler->validate(…)
- /Users/*****/www/wsc54/lib/form/AbstractForm.class.php (64): wcf\acp\form\AbstractOptionListForm->validate(…)
- /Users/*****/www/wsc54/lib/form/AbstractForm.class.php (134): wcf\form\AbstractForm->submit(…)
- /Users/*****/www/wsc54/lib/acp/form/AbstractOptionListForm.class.php (111): wcf\form\AbstractForm->readData(…)
- /Users/*****/www/wsc54/lib/acp/form/OptionForm.class.php (100): wcf\acp\form\AbstractOptionListForm->readData(…)
- /Users/*****/www/wsc54/lib/page/AbstractPage.class.php (339): wcf\acp\form\OptionForm->readData(…)
- /Users/*****/www/wsc54/lib/acp/form/OptionForm.class.php (145): wcf\page\AbstractPage->show(…)
- /Users/*****/www/wsc54/lib/page/AbstractPage.class.php (122): wcf\acp\form\OptionForm->show(…)
- /Users/*****/www/wsc54/lib/system/request/Request.class.php (89): wcf\page\AbstractPage->__run(…)
- /Users/*****/www/wsc54/lib/system/request/RequestHandler.class.php (119): wcf\system\request\Request->execute(…)
- /Users/*****/www/wsc54/acp/index.php (11): wcf\system\request\RequestHandler->handle(…)
P.S.: mir ist bewusst, dass ich Deprecations in der php.ini deaktivieren kann