explode(): Passing null to parameter #2 ($string) of type string is deprecated (PHP 8.1)

  • Betroffene Version
    WoltLab Suite 5.5
    Betroffene App
    WoltLab Suite Core

    Fehler tritt nun beim Anklicken des Usernamens im Kalender auf (Geburtstage) unter (8.0 keine Fehler)

    Fehlerprotokoll

    Fri, 25 Nov 2022 09:14:27 +0000

    Message: explode(): Passing null to parameter #2 ($string) of type string is deprecated

    PHP version: 8.1.12-he.0

    WoltLab Suite version: 5.5.7

    Request URI: GET /cms/user/1519-brothersinarms/

    Referrer: https://fat-bob-forum.de/calendar/

    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

    Peak Memory Usage: 3863376/402653184

    ======

    Error Class: wcf\system\exception\ErrorException

    Error Message: explode(): Passing null to parameter #2 ($string) of type string is deprecated

    Error Code: 0

    File: /is/htdocs/wp1191068_NEGDCYO16V/www/suite/cms/lib/system/WCF.class.php (341)

    Extra Information: -

    Stack Trace: [{"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[8192,"explode(): Passing null to parameter #2 ($string) of type string is deprecated","\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/MultiSelectOptionType.class.php",43],"file":"[internal function]","line":"?"},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/MultiSelectOptionType.class.php","line":43,"function":"explode","args":["\n",null],"class":"","type":""},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/OptionHandler.class.php","line":420,"function":"getFormElement","class":"wcf\\system\\option\\MultiSelectOptionType","type":"->","args":["wcf\\data\\user\\option\\UserOption",null]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/user\/UserOptionHandler.class.php","line":250,"function":"getFormElement","class":"wcf\\system\\option\\OptionHandler","type":"->","args":["multiSelect","wcf\\data\\user\\option\\UserOption"]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/OptionHandler.class.php","line":359,"function":"getFormElement","class":"wcf\\system\\option\\user\\UserOptionHandler","type":"->","args":["multiSelect","wcf\\data\\user\\option\\UserOption"]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/user\/UserOptionHandler.class.php","line":206,"function":"getOption","class":"wcf\\system\\option\\OptionHandler","type":"->","args":["option42"]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/OptionHandler.class.php","line":254,"function":"getOption","class":"wcf\\system\\option\\user\\UserOptionHandler","type":"->","args":["option42"]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/OptionHandler.class.php","line":217,"function":"getCategoryOptions","class":"wcf\\system\\option\\OptionHandler","type":"->","args":["userOptionCategory46"]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/option\/OptionHandler.class.php","line":213,"function":"getOptionTree","class":"wcf\\system\\option\\OptionHandler","type":"->","args":["profile",1]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/menu\/user\/profile\/content\/AboutUserProfileMenuContent.class.php","line":41,"function":"getOptionTree","class":"wcf\\system\\option\\OptionHandler","type":"->","args":[]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/page\/UserPage.class.php","line":128,"function":"getContent","class":"wcf\\system\\menu\\user\\profile\\content\\AboutUserProfileMenuContent","type":"->","args":[1519]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/page\/AbstractPage.class.php","line":353,"function":"readData","class":"wcf\\page\\UserPage","type":"->","args":[]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/page\/UserPage.class.php","line":218,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/page\/AbstractPage.class.php","line":135,"function":"show","class":"wcf\\page\\UserPage","type":"->","args":[]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/request\/Request.class.php","line":90,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/is\/htdocs\/wp1191068_NEGDCYO16V\/www\/suite\/cms\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]

  • Alexander Ebert 9. Dezember 2022 um 13:49

    Hat das Label 5.5.8 hinzugefügt.
  • Alexander Ebert 9. Dezember 2022 um 13:49

    Hat das Label Behoben hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!