menu
#6720568 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 10:51:48 +0000 UTC
Server uptime: 0 days 1 hours 3 minutes 7 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux b7e91960-125b-4a61-94b1-2fd221216dbc 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 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-17.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-17.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/container/plugins/ProperDuels_dev-17.phar/src/JavierLeon9966/Proper, integer 139)
#1 plugins/ProperDuels_dev-17.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/BaseCommand(134): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->parseArguments(array[7], object pocketmine\player\Player#100838)
#2 plugins/ProperDuels_dev-17.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/BaseCommand(111): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->attemptArgumentParsing(object JavierLeon9966\ProperDuels\command\arena\subcommand\CreateSubCommand#24993, array[7])
#3 plugins/ProperDuels_dev-17.phar/src/JavierLeon9966/ProperDuels/libs/CortexPE/Commando/BaseCommand(107): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\player\Player#100838, string[6] create, array[7])
#4 pmsrc/src/command/SimpleCommandMap(220): JavierLeon9966\ProperDuels\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\player\Player#100838, string[5] arena, array[7])
#5 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#100838, string[33] arena create 0 70 0 20 70 20 test)
#6 pmsrc/src/player/Player(1402): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#100838, string[33] arena create 0 70 0 20 70 20 test)
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[34] /arena create 0 70 0 20 70 20 test)
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#134344)
#9 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#99500)
#10 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#134344, string[55] M"/arena create 0 70 0 20 70 20 test.eF..#........{....)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[95] 3.U.O,J.KTH.JM,IU0P07..F`.H....0..-...h.C.{...U.jg`0..h.H........58?.*s.u.......)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[104] .v....Z....6...#..{.........#...d..]...9K.x..K...V...>......O.._...+..I.<=.0m.Xw)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#28483)
#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 1652525508.9291)
#17 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show