menu
#4531821 Call to a member function getExp() on null

Submitted by PocketMine-MP 3.15.0

General information

Version: 3.15.0
Git commit: a498b041
Plugin involvement: Indirect
Report date: 2020-09-16 12:13:40 +0000 UTC

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux Shosting 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 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 getExp() on null
File: /root/oneblock/plugin_data/ScoreHud/addons/JumpAddon
Line: #35
Error level: Error
26
27
28
29
30
31
32
33
34
35
36
37
38
39
			$this->jump = $this->getServer()->getPluginManager()->getPlugin("JumpRecord");
}

/**
* @param Player $player
* @return array
*/
public function getProcessedTags(Player $sender): array{
return [
"{jump}" => $this->jump->getExp($sender)
];
}
}
}
#0 plugins/ScoreHud (2).phar/src/JackMD/ScoreHud/ScoreHud(229): JackMD\ScoreHud\Addons\JumpAddon->getProcessedTags(object pocketmine\Player)
#1 plugins/ScoreHud (2).phar/src/JackMD/ScoreHud/ScoreHud(264): JackMD\ScoreHud\ScoreHud->process(object pocketmine\Player, string[30] )
#2 plugins/ScoreHud (2).phar/src/JackMD/ScoreHud/ScoreHud(208): JackMD\ScoreHud\ScoreHud->displayDefaultScoreboard(object pocketmine\Player)
#3 plugins/ScoreHud (2).phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object pocketmine\Player)
#4 plugins/ScoreHud (2).phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object pocketmine\Player, string[35] ..l..eONE BLOCK )
#5 src/pocketmine/scheduler/TaskHandler(137): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 17381)
#6 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 17381)
#7 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 17381)
#8 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 17381)
#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[15] /root/oneblock/, string[23] /root/oneblock/plugins/)
#13 src/pocketmine/PocketMine(304): pocketmine\server()
#14 (11): require(string[70] phar:///root/oneblock/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies