Fehlermeldung: Call to a member function getUserProfile() on null

  • Affected Version
    WoltLab Suite 5.3
    Affected App
    WoltLab Suite Core

    Kann mir jemand weiterhelfen?

    Ich habe die gleiche Fehlermeldung, aber was bedeudet sie?

    Requested URL
    POST /wsc/index.php?ajax-proxy/&t=ceaa2a296683e85b8c0c0dac7c9115e0ac4836aa
    Referrer
    https://seelenschreiberei.org/wsc/conversation-list/
    WoltLab Suite
    5.3.4
    PHP
    7.4.14
    Error Message
    Call to a member function getUserProfile() on null
    Type
    Error
    File (Line)
    /www/htdocs/w018f428/seelenschreiberei.org/wsc/templates/compiled/17_wcf_1_conversationMessagePreview.php (19)
    Stacktrace
    1. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/template/TemplateEngine.class.php (334): include(…)
    2. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/template/TemplateEngine.class.php (562): wcf\system\template\TemplateEngine->display(…)
    3. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/data/conversation/ConversationAction.class.php (458): wcf\system\template\TemplateEngine->fetch(…)
    4. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/data/AbstractDatabaseObjectAction.class.php (204): wcf\data\conversation\ConversationAction->getPopover(…)
    5. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AJAXProxyAction.class.php (75): wcf\data\AbstractDatabaseObjectAction->executeAction(…)
    6. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AJAXInvokeAction.class.php (94): wcf\action\AJAXProxyAction->invoke(…)
    7. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AbstractAction.class.php (47): wcf\action\AJAXInvokeAction->execute(…)
    8. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AJAXInvokeAction.class.php (61): wcf\action\AbstractAction->__run(…)
    9. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/request/Request.class.php (83): wcf\action\AJAXInvokeAction->__run(…)
    10. /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    11. /www/htdocs/w018f428/seelenschreiberei.org/wsc/index.php (9): wcf\system\request\RequestHandler->handle(…)


    In der Datei in Zeile 19 steht:

    PHP
    <?php if ($this->v['message']->getUserProfile()->getAvatar()) { ?>

    Die ganze Datei sieht so aus

  • Alexander Ebert February 23, 2021 at 10:20 AM

    Added the Label Feedback required
  • So?

  • Alexander Ebert February 23, 2021 at 2:31 PM

    Set the Label from Feedback required to Not a bug

Participate now!

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