menu
#7556747 Undefined array key "slowcc0der"

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-22 21:49:41 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 41 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux 861bdd76-7e20-4855-85d7-80b88ab2fd95 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 x86_64

Error information

Warning: the TopKills plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "slowcc0der"
File: plugins/TopKills (2).phar/src/vNiqkz/TopDeathCommand
Line: #21
Error level: ErrorException
12
13
14
15
16
17
18
19
20
21
22
23
24
25
    public function execute(CommandSender $sender, string $commandLabel, array $args)
{
$c = Main::$instance->getConfig();
$data = new Config(Main::$instance->getDataFolder()."deaths.yml", Config::YAML);
$players = $data->getAll(true);
arsort($players);
$array = array_slice($players, 0, 10);
$lines[] = $c->get("deathsTitle");
foreach($array as $info){
$lines[] = str_replace(["&", "{points}", "{player}"], ["", $players[$info], $info], $c->get("format"));
}
$sender->sendMessage(join("\n", $lines));
}
}
#0 plugins/TopKills (2).phar/src/vNiqkz/TopDeathCommand(21): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[32] Undefined array key "slowcc0der", string[79] phar:///home/container/plugins/TopKills (2).phar/src/vNiqkz/TopDeathCommand.php, int 21)
#1 pmsrc/src/command/SimpleCommandMap(205): vNiqkz\TopDeathCommand->execute(object pocketmine\player\Player#26077, string[9] topdeaths, array[0])
#2 pmsrc/src/Server(1448): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#26077, string[9] topdeaths)
#3 pmsrc/src/player/Player(1410): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#26077, string[9] topdeaths)
#4 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[10] /topdeaths)
#5 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#252733)
#6 pmsrc/src/network/mcpe/NetworkSession(409): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#253315)
#7 pmsrc/src/network/mcpe/NetworkSession(372): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#252733, string[31] M./topdeaths..L.tKN.&C.CS.J^...)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[34] ...././HIM,.(fh.9]...I...s.9......)
#9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[43] .b.......s.m.....Di......AB.....h.O..p.).N.)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#24550)
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1663883381.4321)
#14 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#16 pmsrc/src/PocketMine(328): pocketmine\server()
#17 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show