menu
#7862745 Undefined array key 5

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: Direct
Report date: 2022-11-24 14:57:16 +0000 UTC
Server uptime: 0 days 0 hours 16 minutes 54 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: linux
System banner: Linux 2cb6e0d12074 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 x86_64

Error information

Warning: the CustomShopUI plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key 5
File: plugins/CustomShopUI.phar/src/AlexPads/CustomShopUI/Main
Line: #293
Error level: ErrorException
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
        if ($this->getConfig()->get("Items_ExitButton") === true) {
$form->addButton($msg->getNested("Messages.ExitButton"),0,"textures/ui/ps4_dpad_right");
}
$items = $cfg[$categorys];
$items2 = $items["Sub"];
if ($ans !== null) {
$items3 = $items2[$ans];
foreach ($items3["Items"] as $cate => $item) {
$list = explode(":", $item);
if ($list[5] == "Default") {
$name = ItemFactory::getInstance()->get((int)$list[0], (int)$list[1], 1)->getName();
} else {
$name = $list[5];
}
if ($list[0] == "cmd") {
if (substr($list[5], 0, 4) == "http") {
$form->addButton($list[1] . " " . $list[2] . $msg->getNested("Messages.Each"), 1, $list[5] . ":" . $list[6]);
} else {
$form->addButton($list[1] . " " . $list[2] . $msg->getNested("Messages.Each"), 0, $list[5]);
}
#0 plugins/CustomShopUI.phar/src/AlexPads/CustomShopUI/Main(293): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[21] Undefined array key 5, string[75] phar:///server/plugins/CustomShopUI.phar/src/AlexPads/CustomShopUI/Main.php, int 293)
#1 plugins/CustomShopUI.phar/src/AlexPads/CustomShopUI/Main(198): AlexPads\CustomShopUI\Main->SubItems(object pocketmine\player\Player#27721, int 2, array[8], int 0)
#2 plugins/CustomShopUI.phar/src/AlexPads/CustomShopUI/libs/Vecnavium/FormsUI/Form(46): AlexPads\CustomShopUI\Main->AlexPads\CustomShopUI\{closure}(object pocketmine\player\Player#27721, int 1)
#3 pmsrc/src/player/Player(2038): AlexPads\CustomShopUI\libs\Vecnavium\FormsUI\Form->handleResponse(object pocketmine\player\Player#27721, int 1)
#4 pmsrc/src/network/mcpe/handler/InGamePacketHandler(892): pocketmine\player\Player->onFormSubmit(int 18, int 1)
#5 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(63): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#121109)
#6 pmsrc/src/network/mcpe/NetworkSession(410): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#115884)
#7 pmsrc/src/network/mcpe/NetworkSession(373): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#121109, string[7] e...1..)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[10] cO.bd2.b..)
#9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[19] .......9.\w1l.5.Y}.)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#25968)
#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 1669301836.1725)
#14 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[8] /server/, string[16] /server/plugins/)
#16 pmsrc/src/PocketMine(328): pocketmine\server()
#17 pmsrc(11): require(string[45] phar:///server/server.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show