round(): Passing null to parameter #1 ($num) of type int|float is deprecated

  • Affected Version
    WoltLab Suite 5.5
    Affected App
    WoltLab Suite Gallery
    Requested URL
    GET /gallery/index.php?image-add/
    Referrer
    /gallery/
    Error Message
    round(): Passing null to parameter #1 ($num) of type int|float is deprecated
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /wsc/lib/system/WCF.class.php (341)
    Stacktrace
    1. [internal function] (?): wcf\system\WCF::handleError(…)
    2. /wsc/lib/util/FileUtil.class.php (392): round(…)
    3. /wsc/lib/system/template/plugin/FilesizeModifierTemplatePlugin.class.php (27): wcf\util\FileUtil::formatFilesize(…)
    4. /wsc/templates/compiled/0_gallery_1_imageAdd.php (2789): wcf\system\template\plugin\FilesizeModifierTemplatePlugin->execute(…)
    5. /wsc/lib/system/template/TemplateEngine.class.php (350): include(…)
    6. /wsc/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    7. /wsc/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    8. /wsc/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    9. /wsc/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    10. /wsc/gallery/index.php (11): wcf\system\request\RequestHandler->handle(…)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!