menu
#7034727 Undefined array key "Name"

Submitted by PocketMine-MP 4.5.1

General information

Version: 4.5.1
Git commit: d641812c
Plugin involvement: Direct
Report date: 2022-06-23 13:19:43 +0000 UTC
Server uptime: 0 days 0 hours 41 minutes 22 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux fc89fe20-3f93-4d6a-9df9-0f48ed083dd7 5.4.0-110-generic #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022 x86_64

Error information

Warning: the 7TogkKeyShop plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "Name"
File: plugins/7TogkKeyShop_dev-2.phar/src/Angga7Togk/KeyShop/Main
Line: #149
Error level: ErrorException
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
            } else {
$player->sendMessage("§cFailed buy a key");
}
break;
}
});
$form->setTitle("§l7TogkKeyShop");
for($i = 0;$i <= 9;$i++){
if($this->config->exists($i)){
$form->addButton($this->config->get($i)["Button"]["Name"] . "\n§r" . $this->config->get($i)["Button"]["Sub-Name"]);
}
}
$form->sendToPlayer($player);
return $form;

}

}
#0 plugins/7TogkKeyShop_dev-2.phar/src/Angga7Togk/KeyShop/Main(149): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[26] Undefined array key "Name", string[86] phar:///home/container/plugins/7TogkKeyShop_dev-2.phar/src/Angga7Togk/KeyShop/Ma, int 149)
#1 plugins/7TogkKeyShop_dev-2.phar/src/Angga7Togk/KeyShop/Main(31): Angga7Togk\KeyShop\Main->KeyShopMenu(object pocketmine\player\Player#105648)
#2 pmsrc/src/command/PluginCommand(50): Angga7Togk\KeyShop\Main->onCommand(object pocketmine\player\Player#105648, object pocketmine\command\PluginCommand#27725, string[7] keyshop, array[0])
#3 pmsrc/src/command/SimpleCommandMap(205): pocketmine\command\PluginCommand->execute(object pocketmine\player\Player#105648, string[7] keyshop, array[0])
#4 plugins/SimpleNPC (1).phar/src/brokiem/snpc/commands/RcaCommand(40): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#105648, string[7] keyshop)
#5 pmsrc/src/command/SimpleCommandMap(205): brokiem\snpc\commands\RcaCommand->execute(object pocketmine\console\ConsoleCommandSender#144570, string[3] rca, array[1])
#6 plugins/SimpleNPC (1).phar/src/brokiem/snpc/entity/CustomHuman(129): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\console\ConsoleCommandSender#144570, string[24] rca "xRazaaCeha" keyshop)
#7 plugins/SimpleNPC (1).phar/src/brokiem/snpc/EventHandler(58): brokiem\snpc\entity\CustomHuman->interact(object pocketmine\player\Player#105648)
#8 pmsrc/src/event/RegisteredListener(60): brokiem\snpc\EventHandler->onDamage(object pocketmine\event\entity\EntityDamageByEntityEvent#148149)
#9 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent#148149)
#10 pmsrc/src/entity/Entity(525): pocketmine\event\Event->call()
#11 pmsrc/src/entity/Living(517): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#148149)
#12 pmsrc/src/player/Player(1741): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#148149)
#13 pmsrc/src/network/mcpe/handler/InGamePacketHandler(511): pocketmine\player\Player->attackEntity(object brokiem\snpc\entity\CustomHuman#151377)
#14 pmsrc/src/network/mcpe/handler/InGamePacketHandler(301): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemOnEntityTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData#131536)
#15 plugins/VanillaX_PM4.phar/src/CLADevs/VanillaX/network/InGamePacketHandlerX(205): pocketmine\network\mcpe\handler\InGamePacketHandler->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#135157)
#16 pmsrc/vendor/pocketmine/bedrock-protocol/src/InventoryTransactionPacket(105): CLADevs\VanillaX\network\InGamePacketHandlerX->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#135157)
#17 pmsrc/src/network/mcpe/NetworkSession(388): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#98263)
#18 pmsrc/src/network/mcpe/NetworkSession(351): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#135157, string[49] [email protected]?\.D..JA..w.............)
#19 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[112] c.abd.b.jm..=..4{.{r.G..r3.R....J..r.+S...........X......p1..=P...^`..H.|.....Ny)
#20 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[121] ..X...y\.X.F.CB.:@I...J....a.[.a}N].pmJ..o6.....T.9.2L......P...hr...g.....+..d_)
#21 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#104993)
#22 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#23 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#24 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1655990383.5875)
#25 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#26 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#27 pmsrc/src/PocketMine(327): pocketmine\server()
#28 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show