Fehleranzeige

Bitte in den Beiträgen keine externe Bilder einbinden, sondern nur die Dateianhänge verwenden.
Vielen dank.
  • Hallo,

    wenn ich in der Box Kategorien auf eine Kategorie klicke bekomme ich folgenden Fehler:

    Spoiler anzeigen

    Mon, 01 Apr 2024 13:46:46 +0000

    Message: news\data\category\NewsCategory::getCommentCount(): Return value must be of type int, null returned

    PHP version: 8.2.16

    WoltLab Suite version: 6.0.10

    Request URI: GET /news/index.php?category/41-news-aus-dresden/

    Referrer: https://dresdenfans.com/news/?pageNo=1…&sortOrder=DESC

    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

    Peak Memory Usage: 18554512/536870912

    ======

    Error Class: TypeError

    Error Message: news\data\category\NewsCategory::getCommentCount(): Return value must be of type int, null returned

    Error Code: 0

    File: /www/htdocs/w01c1c30/dresdenfans.com/news/lib/data/category/NewsCategory.class.php (335)

    Extra Information: -

    Stack Trace: [{"file":"\/www\/htdocs\/w01c1c30\/dresdenfans.com\/lib\/system\/template\/TemplateEngine.class.php(663) : eval()'d code","line":3,"function":"getCommentCount","class":"news\\data\\category\\NewsCategory","type":"->","args":[]},{"file":"\/www\/htdocs\/w01c1c30\/dresdenfans.com\/lib\/system\/template\/TemplateEngine.class.php","line":663,"function":"eval","class":"","type":"","args":[]},{"file":"\/www\/htdocs\/w01c1c30\/dresdenfans.com\/lib\/data\/language\/Language.class.php","line":143,"function":"fetchString","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["<ul class=\"inlineList dotSeparated\">\n <li><?=wcf\\util\\StringUtil::formatNumeric($this->v['category']->getNewsCount());?> News (<?=wcf\\util\\StringUtil::formatNumeric($this->v['category']->getNewsPerDay());?> News pro Tag)<\/li>\n <li><?=wcf\\util\\StringUtil::formatNumeric($this->v['category']->getCommentCount());?> Kommentar<?php if ($this->v['category']->getCommentCount() > 1) { ?>e<?php } ?> (<?=wcf\\util\\StringUtil::formatNumeric($this->v['category']->getCommentPerDay());?> Kommentar<?php if ($this->v['category']->getCommentPerDay() > 1) { ?>e<?php } ?> pro Tag)<\/li>\n <\/ul>",{"tpl":"[redacted]","__wcf":"[redacted]","baseHref":"[redacted]","__news":"[redacted]","__gallery":"[redacted]","__easymedia":"[redacted]","__wbb":"[redacted]","executeCronjobs":"[redacted]","phrasePreloader":"[redacted]","scDerefererWhitelist":"[redacted]","action":"[redacted]","templateName":"[redacted]","templateNameApplication":"[redacted]","canonicalURL":"[redacted]","pageNo":"[redacted]","pages":"[redacted]","items":"[redacted]","itemsPerPage":"[redacted]","startIndex":"[redacted]","endIndex":"[redacted]","objects":"[redacted]","sortField":"[redacted]","sortOrder":"[redacted]","categoryTree":"[redacted]","stats":"[redacted]","labelGroups":"[redacted]","labelIDs":"[redacted]","canAddNews":"[redacted]","showAddDialog":"[redacted]","hasMarkedItems":"[redacted]","enableEditMode":"[redacted]","category":"[redacted]","__APPLICATION":"[redacted]","pageTitle":"[redacted]","canonicalURLParameters":"[redacted]","hascontent_100e225659515cca68e519609515f415e774ee5a":"[redacted]","contentHeader":"[redacted]","headContent":"[redacted]","sidebarRight":"[redacted]","headerNavigation":"[redacted]","__metaTag":"[redacted]","hascontent_7675d86d11483ad81fa3ff0cf36d6aaa2243e3ec":"[redacted]","hascontent_66976327749d703fb479be970cc5a1cd3daee125":"[redacted]","__jslang_capture_229d3627":"[redacted]","__jslang_capture_73e3d827":"[redacted]","host":"[redacted]","__imageViewerLoaded":"[redacted]","__websiteUrl":"[redacted]","__searchTargetUrl":"[redacted]","menuItemNodeList":"[redacted]","menuTitle":"[redacted]","menuItemNode":"[redacted]","hascontent_6cfe367bd90119e3980ddbbbd6cd06338cccda62":"[redacted]","menuItem":"[redacted]","__jslang_capture_a1d18f80":"[redacted]","__searchTypeLabel":"[redacted]","__searchObjectTypeName":"[redacted]","__searchTypesScoped":"[redacted]","hascontent_ea7c838dc5d6bf4ee2629e0be4bb64ac36fc3112":"[redacted]","_searchObjectType":"[redacted]","_searchObjectTypeName":"[redacted]","hascontent_dcfe19f56157af2bebcf92524589dcdd665e6fdd":"[redacted]","hascontent_825464aec4de942b74f8755769a17a8175c2dc94":"[redacted]","__microdata":"[redacted]","__breadcrumbPos":"[redacted]","breadcrumb":"[redacted]","hascontent_983e727d454958ef066d808cc6c09212e392c63c":"[redacted]","hascontent_31c0dff63196bdc02490961b6f3372bf3341d4b9":"[redacted]","hascontent_ee047c7d92d3d3835e8a5503782016361ab999e8":"[redacted]","categoryList":"[redacted]","activeCategories":"[redacted]","categoryItem":"[redacted]","box":"[redacted]","__sidebarRightContent":"[redacted]","hascontent_813961c341f54f568d23e8e336ceaff5f365abb2":"[redacted]","__userNotice":"[redacted]","hascontent_f0d46db496451418aa2deb74ef3c6c4d283d7522":"[redacted]","__contentInteractionPagination":"[redacted]","__contentInteractionButtons":"[redacted]","__contentInteractionDropdownItems":"[redacted]","__contentInteractionShareButton":"[redacted]","pagesLinks":"[redacted]","hascontent_24c4dad62c7440f1ebd87317b6bcf778c73ec96e":"[redacted]","hascontent_06f11d98a47956d538a84dda09924edad70a5165":"[redacted]","hascontent_ba8a5a772f27074877cbd4a47a83edd47ee71da1":"[redacted]","__language":"[redacted]"}]},{"file":"\/www\/htdocs\/w01c1c30\/dresdenfans.com\/lib\/data\/language\/Language.class.php","line":176,"function":"getDynamicVariable","class":"wcf\\data\\language\\Language","type":"->","args":["de.wbb-elite.news.statistics.data.category",{"tpl":"[redacted]","__wcf":"[redacted]","baseHref":"[redacted]","__news":"[redacted]","__gallery":"[redacted]","__easymedia":"[redacted]","__wbb":"[redacted]","executeCronjobs":"[redacted]","phrasePreloader":"[redacted]","scDerefererWhitelist":"[redacted]","action":"[redacted]","templateName":"[redacted]","templateNameApplication":"[redacted]","canonicalURL":"[redacted]","pageNo":"[redacted]","pages":"[redacted]","items":"[redacted]","itemsPerPage":"[redacted]","startIndex":"[redacted]","endIndex":"[redacted]","objects":"[redacted]","sortField":"[redacted]","sortOrder":"[redacted]","categoryTree":"[redacted]","stats":"[redacted]","labelGroups":"[redacted]","labelIDs":"[redacted]","canAddNews":"[redacted]","showAddDialog":"[redacted]","hasMarkedItems":"[redacted]","enableEditMode":"[redacted]","category":"[redacted]","__APPLICATION":"[redacted]","pageTitle":"[redacted]","canonicalURLParameters":"[redacted]","hascontent_100e225659515cca68e519609515f415e774ee5a":"[redacted]","contentHeader":"[redacted]","headContent":"[redacted]","sidebarRight":"[redacted]","headerNavigation":"[redacted]","__metaTag":"[redacted]","hascontent_7675d86d11483ad81fa3ff0cf36d6aaa2243e3ec":"[redacted]","hascontent_66976327749d703fb479be970cc5a1cd3daee125":"[redacted]","__jslang_capture_229d3627":"[redacted]","__jslang_capture_73e3d827":"[redacted]","host":"[redacted]","__imageViewerLoaded":"[redacted]","__websiteUrl":"[redacted]","__searchTargetUrl":"[redacted]","menuItemNodeList":"[redacted]","menuTitle":"[redacted]","menuItemNode":"[redacted]","hascontent_6cfe367bd90119e3980ddbbbd6cd06338cccda62":"[redacted]","menuItem":"[redacted]","__jslang_capture_a1d18f80":"[redacted]","__searchTypeLabel":"[redacted]","__searchObjectTypeName":"[redacted]","__searchTypesScoped":"[redacted]","hascontent_ea7c838dc5d6bf4ee2629e0be4bb64ac36fc3112":"[redacted]","_searchObjectType":"[redacted]","_searchObjectTypeName":"[redacted]","hascontent_dcfe19f56157af2bebcf92524589dcdd665e6fdd":"[redacted]","hascontent_825464aec4de942b74f8755769a17a8175c2dc94":"[redacted]","__microdata":"[redacted]","__breadcrumbPos":"[redacted]","breadcrumb":"[redacted]","hascontent_983e727d454958ef066d808cc6c09212e392c63c":"[redacted]","hascontent_31c0dff63196bdc02490961b6f3372bf3341d4b9":"[redacted]","hascontent_ee047c7d92d3d3835e8a5503782016361ab999e8":"[redacted]","categoryList":"[redacted]","activeCategories":"[redacted]","categoryItem":"[redacted]","box":"[redacted]","__sidebarRightContent":"[redacted]","hascontent_813961c341f54f568d23e8e336ceaff5f365abb2":"[redacted]","__userNotice":"[redacted]","hascontent_f0d46db496451418aa2deb74ef3c6c4d283d7522":"[redacted]","__contentInteractionPagination":"[redacted]","__contentInteractionButtons":"[redacted]","__contentInteractionDropdownItems":"[redacted]","__contentInteractionShareButton":"[redacted]","pagesLinks":"[redacted]","hascontent_24c4dad62c7440f1ebd87317b6bcf778c73ec96e":"[redacted]","hascontent_06f11d98a47956d538a84dda09924edad70a5165":"[redacted]","hascontent_ba8a5a772f27074877cbd4a47a83edd47ee71da1":"[redacted]","__language":"[redacted]"},false]},{"file":"\/www\/htdocs\/w01c1c30\/dresdenfans.com\/templates\/compiled\/0_news_1_category.php","line":2532,"function":"tplGet","class":"wcf\\data\\language\\Language","type":"->","args":["de.wbb-elite.news.statistics.data.category",{"tpl":"[redacted]","__wcf":"[redacted]","baseHref":"[redacted]","__news":"[redacted]","__gallery":"[redacted]","__easymedia":"[redacted]","__wbb":"..........


    Leider kann ich nicht die komplette Fehlermeldung posten sind nur 10.000 Zeichen zur verfügung steht dann da Nachricht ist zu lang.

  • Cyperghost 2. April 2024 um 19:10

    Hat das Label behoben hinzugefügt.