menu
#4220374 Undefined offset: 0

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Direct
Report date: 2020-05-23 04:40:33 +0000 UTC

System Information

PHP version: 7.3.15
Operating system: linux
System banner: Linux fc1fbd13-b1ff-4a3f-898c-1afec1b8553a 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64

Error information

Warning: the Koth plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined offset: 0
File: plugins/Koth_v0.0.1.phar/src/Itzdvbravo/Koth/Commands
Line: #26
Error level: ErrorException
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
        switch ($cmd->getName()){
case "koth":
if (!isset($args)){
$player->sendMessage("§e---------------+Koth Commands+----------------");
$player->sendMessage("§b/koth join §f- §eJoin koth event if it is going on");
$player->sendMessage("§b/koth time §f-§e get the time left for koth");
$player->sendMessage("§e===============================================");
return;
}
switch($args[0]) {
default:
$player->sendMessage("§e---------------+Koth Commands+----------------");
$player->sendMessage("§b/koth join §f- §eJoin koth event if it is going on");
$player->sendMessage("§b/koth time §f-§e get the time left for koth");
$player->sendMessage("§e===============================================");
case "join":
if ($player instanceof Player){
Koth::$arena->addPlayer($player);
}
break;
#0 plugins/Koth_v0.0.1.phar/src/Itzdvbravo/Koth/Commands(26): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 0, string[80] phar:///home/container/plugins/Koth_v0.0.1.phar/src/Itzdvbravo/Koth/Commands.php, integer 26, array[4])
#1 plugins/Koth_v0.0.1.phar/src/Itzdvbravo/Koth/Koth(29): Itzdvbravo\Koth\Commands->CmdHandler(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[4] koth, array[0])
#2 src/pocketmine/command/PluginCommand(54): Itzdvbravo\Koth\Koth->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[4] koth, array[0])
#3 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[4] koth, array[0])
#4 src/pocketmine/Server(1807): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[4] koth)
#5 src/pocketmine/Server(1419): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[4] koth)
#6 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#7 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#8 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1590208833.5392)
#9 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1584): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#12 src/pocketmine/PocketMine(295): pocketmine\server()
#13 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show