- Affected Version
- WoltLab Suite 5.3
- Affected App
- WoltLab Suite Core
Kann mir jemand weiterhelfen?
Display MoreIch 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/
- 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
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/template/TemplateEngine.class.php (334): include(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/template/TemplateEngine.class.php (562): wcf\system\template\TemplateEngine->display(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/data/conversation/ConversationAction.class.php (458): wcf\system\template\TemplateEngine->fetch(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/data/AbstractDatabaseObjectAction.class.php (204): wcf\data\conversation\ConversationAction->getPopover(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AJAXProxyAction.class.php (75): wcf\data\AbstractDatabaseObjectAction->executeAction(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AJAXInvokeAction.class.php (94): wcf\action\AJAXProxyAction->invoke(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AbstractAction.class.php (47): wcf\action\AJAXInvokeAction->execute(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/action/AJAXInvokeAction.class.php (61): wcf\action\AbstractAction->__run(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/request/Request.class.php (83): wcf\action\AJAXInvokeAction->__run(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
- /www/htdocs/w018f428/seelenschreiberei.org/wsc/index.php (9): wcf\system\request\RequestHandler->handle(…)
In der Datei in Zeile 19 steht:
Die ganze Datei sieht so aus
PHPDisplay More<?php /** * WoltLab Suite * Template: conversationMessagePreview * Compiled at: Tue, 16 Feb 2021 06:11:25 +0000 * * DO NOT EDIT THIS FILE */ $this->v['tpl']['template'] = 'conversationMessagePreview'; ?> <?php if (!isset($this->pluginObjects['wcf\system\template\plugin\UserFunctionTemplatePlugin'])) { $this->pluginObjects['wcf\system\template\plugin\UserFunctionTemplatePlugin'] = new wcf\system\template\plugin\UserFunctionTemplatePlugin; } if (!isset($this->pluginObjects['wcf\system\template\plugin\TimeModifierTemplatePlugin'])) { $this->pluginObjects['wcf\system\template\plugin\TimeModifierTemplatePlugin'] = new wcf\system\template\plugin\TimeModifierTemplatePlugin; } ?><div class="box48"> <?php if ($this->v['message']->getUserProfile()->getAvatar()) { ?> <?=$this->pluginObjects['wcf\system\template\plugin\UserFunctionTemplatePlugin']->execute(['object' => $this->v['message']->getUserProfile(), 'type' => 'avatar48', 'ariaHidden' => 'true'], $this);?> <?php } ?> <div> <div class="containerHeadline"> <h3><?=$this->pluginObjects['wcf\system\template\plugin\UserFunctionTemplatePlugin']->execute(['object' => $this->v['message']->getUserProfile()], $this);?> <small class="separatorLeft"><?=$this->pluginObjects['wcf\system\template\plugin\TimeModifierTemplatePlugin']->execute([$this->v['message']->time], $this);?></small></h3> </div> <div><?=$this->v['message']->getExcerpt();?></div> </div> </div>