- Affected Version
- WoltLab Suite 5.5
Hallo,
Habe eine Neuinstallation vun 5.4 durchgeführt.
Alles Daten von der Version 5.2 importiert.
Hat alles funktioniert.
Habe dann ein Upgrade von 5.4 auf 5.5 gemacht und jetzt kann man Artikel nicht mehr aufrufen.
Alles andere funktioniert.
Das einzige Plugin was installiert ist, ist die Chronik
Es handelt sich hier um Artikel trotzdem wird als Referer
angezeigt.
Hoffe dass mir jemand ein Rat geben kann.
Besten Dank im voraus
PHP
System Information
PHP Version:
7.4.30
WoltLab Suite Core:
5.5.5
Peak Memory Usage:
15.006/1024 MiB
Request URI:
GET /afol/index.php?article-list/
Referrer:
http://afol.lu/afol/filebase/
User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.50
Error
Error Type:
wcf\system\exception\ErrorException
Error Message:
Trying to get property 'comments' of non-object
File:
*/lib/system/WCF.class.php (341)
Template Context:
<?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?>
<div class="contentItemMetaIcon">
<span class="icon icon16 fa-comments"></span>
<span aria-label="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?>">
====> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCount());?>
</span>
</div>
<?php } ?>
</div>
Stack Trace:
#0 */lib/system/article/discussion/CommentArticleDiscussionProvider.class.php (25):
wcf\system\WCF::handleError()
#1 */templates/compiled/0_wcf_3_articleList.php (2146):
wcf\system\article\discussion\CommentArticleDiscussionProvider->getDiscussionCount()
#2 */lib/system/template/TemplateEngine.class.php (350):
include('*/templates/compiled/0_wcf_3_articleList.php')
#3 */lib/page/AbstractPage.class.php (390):
wcf\system\template\TemplateEngine->display()
#4 */lib/page/AbstractPage.class.php (135):
wcf\page\AbstractPage->show()
#5 */lib/system/request/Request.class.php (90):
wcf\page\AbstractPage->__run()
#6 */lib/system/request/RequestHandler.class.php (107):
wcf\system\request\Request->execute()
#7 */index.php (11):
wcf\system\request\RequestHandler->handle()
Display More