- Affected Version
- WoltLab Suite 5.4
- Affected App
- WoltLab Suite Core
Mir ist bekannt das PHP 8.1 nicht offiziell unterstütz wird.
Bei der Ankündigung über Aktualisierung für ein Paket kam es zur folgenden Fehlermeldung.
- Requested URL
- GET /
- Referrer
- https://www.wiederladeforum.de/
- Error Message
- str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
- Type
- wcf\system\exception\ErrorException
- File (Line)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/WCF.class.php (344)
- Template Context
- <div><?php if (OFFLINE_MESSAGE_ALLOW_HTML) { ?><?=$this->pluginObjects['wcf\system\template\plugin\LanguageModifierTemplatePlugin']->execute([OFFLINE_MESSAGE], $this);?><?php } else { ?><?=$this->pluginObjects['wcf\system\template\plugin\NewlineToBreakModifierTemplatePlugin']->execute([$this->pluginObjects['wcf\system\template\plugin\LanguageModifierTemplatePlugin']->execute([OFFLINE_MESSAGE], $this)], $this);?><?php } ?></div> </div> <?php } ?> ====> <?php if ($this->v['__wcf']->session->getPermission('admin.configuration.package.canUpdatePackage') && $this->v['__wcf']->getAvailableUpdates() && SHOW_UPDATE_NOTICE_FRONTEND) { ?> <p class="info" role="status">Es sind <a href="<?php $this->tagStack[] = ['link', ['controller' => 'PackageUpdate', 'isACP' => true]]; $this->pluginObjects['wcf\system\template\plugin\LinkBlockTemplatePlugin']->init($this->tagStack[count($this->tagStack) - 1][1], $this); while ($this->pluginObjects['wcf\system\template\plugin\LinkBlockTemplatePlugin']->next($this)) { ob_start(); ?><?php echo $this->pluginObjects['wcf\system\template\plugin\LinkBlockTemplatePlugin']->execute($this->tagStack[count($this->tagStack) - 1][1], ob_get_clean(), $this); } array_pop($this->tagStack);?>">Aktualisierungen für installierte Pakete</a> verfügbar.</p> <?php } ?>
- Stacktrace
-
- [internal function] (?): wcf\system\WCF::handleError(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/data/package/Package.class.php (435): str_replace(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/data/package/Package.class.php (417): wcf\data\package\Package::formatVersionForCompare(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/package/PackageUpdateDispatcher.class.php (818): wcf\data\package\Package::compareVersion(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/cache/builder/PackageUpdateCacheBuilder.class.php (22): wcf\system\package\PackageUpdateDispatcher->getAvailableUpdates(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/cache/builder/AbstractCacheBuilder.class.php (42): wcf\system\cache\builder\PackageUpdateCacheBuilder->rebuild(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/WCF.class.php (1145): wcf\system\cache\builder\AbstractCacheBuilder->getData(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/templates/compiled/5_wbb_1_boardList.php (2819): wcf\system\WCF->getAvailableUpdates(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/template/TemplateEngine.class.php (346): include(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/page/AbstractPage.class.php (371): wcf\system\template\TemplateEngine->display(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/page/AbstractPage.class.php (122): wcf\page\AbstractPage->show(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/request/Request.class.php (89): wcf\page\AbstractPage->__run(…)
- /homepages/36/d488721828/htdocs/wiederladen/wcf/lib/system/request/RequestHandler.class.php (121): wcf\system\request\Request->execute(…)
- /homepages/36/d488721828/htdocs/wiederladen/index.php (11): wcf\system\request\RequestHandler->handle(…)