menu
#7863461 Undefined array key 1

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: Direct
Report date: 2022-11-24 17:58:55 +0000 UTC
Server uptime: 0 days 0 hours 8 minutes 57 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: linux
System banner: Linux 2e34d2e5bb0f 5.4.0-104-generic #118-Ubuntu SMP Wed Mar 2 19:02:41 UTC 2022 x86_64

Error information

Warning: the Oneblock plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key 1
File: plugins/Oneblock.phar/src/lenlenlL6/oneblock/Oneblock
Line: #253
Error level: ErrorException
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
        $this->MenuForm($player);
return true;
}
switch($data){
case 0:
if($this->isHaveIsland($player)){
$pos = $this->island->getNested("islands.oneblock-" . $player->getName() . ".spawn");
$ex = explode(" ", $pos);
$x = ((int)$ex[0]);
$y = ((int)$ex[1]);
$z = ((int)$ex[2]);
$lv = $ex[3];
$this->getServer()->getWorldManager()->loadWorld($lv);
$world = $this->getServer()->getWorldManager()->getWorldByName($lv);
$player->teleport(new Position($x, $y, $z, $world));
$msg = $this->lang->get("BACK_ISLAND");
$player->sendMessage($this->prefix . " $msg");
$pos = new Position($x, $y, $z, $world);
(new HomeEvent($this, $player, $pos))->call();
}else{
#0 plugins/Oneblock.phar/src/lenlenlL6/oneblock/Oneblock(253): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[21] Undefined array key 1, string[72] phar:///server/plugins/Oneblock.phar/src/lenlenlL6/oneblock/Oneblock.php, int 253)
#1 plugins/Oneblock.phar/src/lenlenlL6/oneblock/libs/jojoe77777/FormAPI/Form(46): lenlenlL6\oneblock\Oneblock->lenlenlL6\oneblock\{closure}(object pocketmine\player\Player#26527, int 0)
#2 pmsrc/src/player/Player(2038): lenlenlL6\oneblock\libs\jojoe77777\FormAPI\Form->handleResponse(object pocketmine\player\Player#26527, int 0)
#3 pmsrc/src/network/mcpe/handler/InGamePacketHandler(892): pocketmine\player\Player->onFormSubmit(int 7, int 0)
#4 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(63): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#142023)
#5 pmsrc/src/network/mcpe/NetworkSession(410): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#93616)
#6 pmsrc/src/network/mcpe/NetworkSession(373): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#142023, string[7] e...0..)
#7 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[10] cOegd2.b..)
#8 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[19] ....6H..-...t-.&.0Z)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#24822)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1669312735.5873)
#13 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#14 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[8] /server/, string[16] /server/plugins/)
#15 pmsrc/src/PocketMine(328): pocketmine\server()
#16 pmsrc(11): require(string[45] phar:///server/server.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show