menu
#4530614 Call to a member function scorehudAddon() on null

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Indirect
Report date: 2020-09-15 22:17:40 +0000 UTC

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux thangdoan-Celes 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64

Error information

Warning: the ScoreHud plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to a member function scorehudAddon() on null
File: /home/thangdoan/plugin_data/ScoreHud/addons/BravoClanAddon
Line: #30
Error level: Error
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
            $this->BravoClan = $this->getServer()->getPluginManager()->getPlugin("BravoClan");
}

/**
* @param Player $player
* @return array
*/
public function getProcessedTags(Player $player): array{
return [
"{clan}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan"),
"{clan_xp}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_xp"),
"{clan_next_lvl}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_next_lvl"),
"{clan_kills}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_kills"),
"{clan_deaths}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_deaths"),
"{clan_members}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_members"),
"{clan_max_members}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_max_members"),
"{member_kills}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "member_kills"),
"{member_deaths}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "member_deaths"),
];
}
#0 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(229): JackMD\ScoreHud\Addons\BravoClanAddon->getProcessedTags(object pocketmine\Player)
#1 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(264): JackMD\ScoreHud\ScoreHud->process(object pocketmine\Player, string[19] ..aName: ..b{name})
#2 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(208): JackMD\ScoreHud\ScoreHud->displayDefaultScoreboard(object pocketmine\Player)
#3 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object pocketmine\Player)
#4 plugins/ScoreHud.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object pocketmine\Player, string[28] ..cElite..aFaction..bNetwork)
#5 src/pocketmine/scheduler/TaskHandler(137): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 61)
#6 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 61)
#7 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 61)
#8 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 61)
#9 src/pocketmine/Server(2154): pocketmine\Server->tick()
#10 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1588): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/thangdoan/, string[24] /home/thangdoan/plugins/)
#13 src/pocketmine/PocketMine(304): pocketmine\server()
#14 (11): require(string[71] phar:///home/thangdoan/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies