Attempt to read property "articleThreadID" on null

  • Affected Version
    WoltLab Suite 5.5
    Affected App
    WoltLab Suite Core

    Hallo zusammen,

    seit 2 Wochen bekomme ich jeden Tag die folgende Fehlermeldung:

    Ich habe absolut keine Idee wo ich den Fehler suchen könnte. Ich habe auch nichts verändert oder in den letzten Wochen neue Plugins installiert.

    Habt ihr eine Idee woran es liegt?

  • Kann es sein, dass Du unlängst Artikel gelöscht hast, für die ein Diskussionsthema im Forum erstellt wurde?


    Gruß norse

    Zugang zu meinen Arbeiten und dem dazugehörigen Support bekommt Ihr bei Interesse hier und hier.

  • Nicht das ich wüsste. Was ich damals gemacht habe, wenn ich Artikel erstelle im Forum ein Diskussionsthema erstellt wird. Da hab ich aber nichts gelöscht.

    Code
     GET /article/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ <<<<<----- Hier ist egal was steht, es ändert sich immer wieder der Inhalt

    Und hier - existieren alle Artikel. Keinen Schimmer warum :(

  • Existieren für alle Artikel denn noch die dazugehörigen Themen?

    Ich denke schon. Denn alle links die in der Fehlermeldung aufgelistet werden existieren .

    Ich zähle aktuell auf der Seite 33 Artikel und 41 Diskussionsthemen zu Artikeln.


    Gruß norse

    Wenn Du auf meiner Seite bist (ich hab doch eigentlich alles entfernt :/ ;) ) dann kann es damit zu tun haben das die Artikel in 2 Sprachen verfasst wurden (nicht alle).

    Wie bekomme ich denn raus welche Artikel fehlen? Denn wie gesagt die Fehlermeldungen zu den Entsprechenden Artikeln kann ich nicht nachvollziehen da diese existieren.

  • Hier die gesamte Fehlermeldung von einem Tag:

    Requested URL
    GET /article/27-autumn-bonus-promotion/
    Referrer
    https://www.meinedomain.de/article/27-autumn-bonus-promotion
    WoltLab Suite
    5.5.6
    PHP
    8.1.10
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_2_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_1_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_1_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_1_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_1_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_2_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_2_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    Attempt to read property "articleThreadID" on null
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /home/users/myuser/www/lib/system/WCF.class.php (341)
    Template Context
    <meta itemprop="datePublished" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> <meta itemprop="dateModified" content="<?=$this->pluginObjects['wcf\system\template\plugin\DateModifierTemplatePlugin']->execute([$this->v['article']->time,'c'], $this);?>"> </li> ====> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase()) { ?> <li itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <span class="icon icon16 fa-comments"></span> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?><a href="<?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionLink());?>"><?php } else { ?><span><?php } ?> <?=wcf\util\StringUtil::encodeHTML($this->v['article']->getDiscussionProvider()->getDiscussionCountPhrase());?> <?php if ($this->v['article']->getDiscussionProvider()->getDiscussionLink()) { ?></a><?php } else { ?></span><?php } ?> <meta itemprop="interactionType" content="http://schema.org/CommentAction">
    Stacktrace
    1. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (129): wcf\system\WCF::handleError(…)
    2. /home/users/myuser/www/forum/lib/system/article/discussion/ThreadArticleDiscussionProvider.class.php (59): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getThread(…)
    3. /home/users/myuser/www/templates/compiled/5_wcf_2_article.php (77): wbb\system\article\discussion\ThreadArticleDiscussionProvider->getDiscussionCountPhrase(…)
    4. /home/users/myuser/www/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /home/users/myuser/www/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /home/users/myuser/www/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /home/users/myuser/www/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /home/users/myuser/www/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /home/users/myuser/www/index.php (11): wcf\system\request\RequestHandler->handle(…)

    Wenn noch etwas benötigt werden sollte, dann bitte fragen :)

  • Nun, ja. Es ist verschoben in Erledigte Fehlermeldungen, mein Problem besteht immer noich und ein Feedback habe ich auch nicht bekommen.

    Wie kann ich dieses Problem lösen? Bzw. hatte ich an den Artikeln und Einträgen nicht geändert, aber plötzlich bekomme ich diese Fehlermeldung.

Participate now!

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