- Affected Version
- WoltLab Suite 5.4
Hallo,
wir haben so eben das Update auf 5.4. gemacht und beim Benutzer aktualisieren bei Anzeigen aktualisieren kommt ne Fehlermeldung, ich kann sie nicht lesen, kann jemand helfen?
- Requested URL
- GET /
- Referrer
- Error Message
- Call to a member function getLink() on null
- Type
- Error
- File (Line)
- /customers/annika/home/chaos-linie.de/lib/data/menu/item/MenuItem.class.php (102)
- Template Context
- if ((is_countable($_foreach_c90dd5be1b21ab23c72d349095ec6280fb8337eb) && count($_foreach_c90dd5be1b21ab23c72d349095ec6280fb8337eb) > 0) || (!is_countable($_foreach_c90dd5be1b21ab23c72d349095ec6280fb8337eb) && $_foreach_c90dd5be1b21ab23c72d349095ec6280fb8337eb)) { foreach ($_foreach_c90dd5be1b21ab23c72d349095ec6280fb8337eb as $this->v['menuItemNode']) { ?> <li class="<?php if ($this->v['menuItemNode']->isActiveNode()) { ?>active<?php } ?><?php if ($this->v['menuItemNode']->hasChildren()) { ?> boxMenuHasChildren<?php } ?>" data-identifier="<?=$this->v['menuItemNode']->identifier;?>"> ====> <a <?=$this->pluginObjects['wcf\system\template\plugin\AnchorAttributesFunctionTemplatePlugin']->execute(['url' => $this->v['menuItemNode']->getURL(), 'appendClassname' => false], $this);?> class="boxMenuLink"<?php if ($this->v['menuItemNode']->isActiveNode()) { ?> aria-current="page"<?php } ?>> <span class="icon icon32 fa-th-large"></span> <span class="boxMenuLinkTitle"><?=wcf\util\StringUtil::encodeHTML($this->v['menuItemNode']->getTitle());?></span> <?php if ($this->v['menuItemNode']->getOutstandingItems() > 0) { ?> <span class="boxMenuLinkOutstandingItems badge badgeUpdate" aria-label="(<?=wcf\util\StringUtil::formatNumeric($this->v['menuItemNode']->getOutstandingItems());?> <?php if ($this->v['menuItemNode']->getOutstandingItems() == 1) { ?>neuer Eintrag<?php } else { ?>neue Einträge<?php } ?>)"><?=wcf\util\StringUtil::formatNumeric($this->v['menuItemNode']->getOutstandingItems());?></span> <?php } ?> </a>
- Stacktrace
-
- /customers/annika/home/chaos-linie.de/lib/data/DatabaseObjectDecorator.class.php (96): wcf\data\menu\item\MenuItem->getURL(…)
- /customers/annika/home/chaos-linie.de/templates/compiled/130_wcf_1___menu.php (27): wcf\data\DatabaseObjectDecorator->__call(…)
- /customers/annika/home/chaos-linie.de/lib/system/template/TemplateEngine.class.php (346): include(…)
- /customers/annika/home/chaos-linie.de/lib/system/template/TemplateEngine.class.php (590): wcf\system\template\TemplateEngine->display(…)
- /customers/annika/home/chaos-linie.de/lib/data/menu/Menu.class.php (95): wcf\system\template\TemplateEngine->fetch(…)
- /customers/annika/home/chaos-linie.de/lib/data/box/Box.class.php (276): wcf\data\menu\Menu->getContent(…)
- /customers/annika/home/chaos-linie.de/templates/compiled/130_wcf_1___box.php (43): wcf\data\box\Box->getContent(…)
- /customers/annika/home/chaos-linie.de/lib/system/template/TemplateEngine.class.php (346): include(…)
- /customers/annika/home/chaos-linie.de/lib/system/template/TemplateEngine.class.php (590): wcf\system\template\TemplateEngine->display(…)
- /customers/annika/home/chaos-linie.de/lib/data/box/Box.class.php (319): wcf\system\template\TemplateEngine->fetch(…)
- /customers/annika/home/chaos-linie.de/templates/compiled/130_wcf_1_offline.php (1910): wcf\data\box\Box->render(…)
- /customers/annika/home/chaos-linie.de/lib/system/template/TemplateEngine.class.php (346): include(…)
- /customers/annika/home/chaos-linie.de/lib/system/request/RequestHandler.class.php (111): wcf\system\template\TemplateEngine->display(…)
- /customers/annika/home/chaos-linie.de/index.php (11): wcf\system\request\RequestHandler->handle(…)