menu
#9249547 Undefined array key "-4949 -64 -1470"

Submitted by PocketMine-MP 5.5.0

General information

Version: 5.5.0
Git commit: c8d357f4
Plugin involvement: Direct
Report date: 2023-09-19 16:42:27 +0000 UTC
Server uptime: 0 days 4 hours 41 minutes 38 seconds

System Information

PHP version: 8.1.23
JIT status: Not available
Operating system: linux
System banner: Linux e6bf1d77-3b5d-45c5-8f7a-d0676ff268bd 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64

Error information

Warning: the PoliteTeleports plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Undefined array key "-4949 -64 -1470"
File: plugins/PoliteTeleports.phar/src/Main
Line: #205
Type: ErrorException
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
	 * "Teleport Delay": int,
* "Teleport Countdown": bool,
* "Alert Teleporting": bool,
* "Alert Receiver": bool,
* "Random Location Radius": int,
* "Random Location Safety": bool
* }
*/
public static function getPlayerSettings(string $playerName) : array{
return self::$playerSettings[$playerName];
}

/**
* @phpstan-param array<string, int|bool> $settings
*/
public static function updatePlayerSettings(string $playerName, array $settings) : void{
// validate settings
if(!isset(self::$playerSettings[$playerName]))
throw new InvalidArgumentException("Player $playerName does not exist");
if(!isset($settings["Teleport Delay"]) || !is_int($settings["Teleport Delay"]))
#0 plugins/PoliteTeleports.phar/src/Main(205): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[37] Undefined array key "-4949 -64 -1470", string[64] phar:///home/container/plugins/PoliteTeleports.phar/src/Main.php, int 205)
#1 plugins/PoliteTeleports.phar/src/task/HandleTeleportTask(149): jasonw4331\PoliteTeleports\Main::getPlayerSettings(string[15] -4949 -64 -1470)
#2 pmsrc/src/scheduler/TaskHandler(113): jasonw4331\PoliteTeleports\task\HandleTeleportTask->onRun()
#3 pmsrc/src/scheduler/TaskScheduler(137): pocketmine\scheduler\TaskHandler->run()
#4 pmsrc/src/plugin/PluginManager(530): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 336446)
#5 pmsrc/src/Server(1789): pocketmine\plugin\PluginManager->tickSchedulers(int 336446)
#6 pmsrc/src/Server(1678): pocketmine\Server->tick()
#7 pmsrc/src/Server(1064): pocketmine\Server->tickProcessor()
#8 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#3, object pocketmine\utils\MainLogger#6, string[16] /home/container/, string[24] /home/container/plugins/)
#9 pmsrc/src/PocketMine(357): pocketmine\server()
#10 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show