menu
#6718450 Undefined array key 4

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Direct
Report date: 2022-05-14 06:58:07 +0000 UTC
Server uptime: 0 days 0 hours 5 minutes 43 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux 160-251-7-28 4.15.0-167-generic #175-Ubuntu SMP Wed Jan 5 01:56:07 UTC 2022 x86_64

Error information

Warning: the ProperDuels plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key 4
File: plugins/ProperDuels_dev-16.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/traits/ArgumentableTrait
Line: #139
Error level: ErrorException
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
						$offset += $len;
$parsed = true;
break;
}
if($offset > count($rawArgs)) {
break; // we've reached the end of the argument list the user passed
}
}
if(!$parsed && !($optional && empty($arg))) { // we tried every other possible argument type, none was satisfied
$expectedArgs = $this->argumentList[$offset];
$expected = "";
foreach($expectedArgs as $expectedArg){
$expected .= $expectedArg->getTypeName() . "|";
}

$return["errors"][] = [
"code" => BaseCommand::ERR_INVALID_ARG_VALUE,
"data" => [
"value" => $rawArgs[$offset] ?? "",
"position" => $pos + 1,
#0 plugins/ProperDuels_dev-16.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/traits/ArgumentableTrait(139): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[21] Undefined array key 4, string[137] phar:///home/pmmp/pmmp/plugins/ProperDuels_dev-16.phar/src/JavierLeon9966/Proper, integer 139)
#1 plugins/ProperDuels_dev-16.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/BaseCommand(134): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->parseArguments(array[7], object jkorn\pvpcore\player\PvPCPlayer#147601)
#2 plugins/ProperDuels_dev-16.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/BaseCommand(111): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->attemptArgumentParsing(object JavierLeon9966\ProperDuels\command\arena\subcommand\CreateSubCommand#25388, array[7])
#3 plugins/ProperDuels_dev-16.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/BaseCommand(107): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->execute(object jkorn\pvpcore\player\PvPCPlayer#147601, string[6] create, array[7])
#4 pmsrc/src/command/SimpleCommandMap(220): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->execute(object jkorn\pvpcore\player\PvPCPlayer#147601, string[5] arena, array[7])
#5 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object jkorn\pvpcore\player\PvPCPlayer#147601, string[43] arena create 200 70 250 200 70 170 nodebuff)
#6 pmsrc/src/player/Player(1402): pocketmine\Server->dispatchCommand(object jkorn\pvpcore\player\PvPCPlayer#147601, string[43] arena create 200 70 250 200 70 170 nodebuff)
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[44] /arena create 200 70 250 200 70 170 nodebuff)
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#137017)
#9 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#142699)
#10 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#137017, string[65] M,/arena create 200 70 250 200 70 170 nodebuff..K../'...;.Q/E....)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[100] s...O,J.KTH.JM,IU020P07P025.1..8/?%5.4-...{.#}..L.....]o.c`0..xb.)......Vy8...;.)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 1, string[109] ..s..:IF=.z.....U...J}...v.....x...Y(..|.........O.d.a<H~.P7.mA......?cS.....0..)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#32805)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652511487.2697)
#17 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[16] /home/pmmp/pmmp/, string[24] /home/pmmp/pmmp/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/pmmp/pmmp/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show