menu
#7863837 Undefined array key "x"

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: Direct
Report date: 2022-11-24 19:43:47 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux 8151d4ed-a26a-4366-a95b-36b61dabe585 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64

Error information

Warning: the TeleportCommandAPI plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "x"
File: plugins/TeleportCommandAPI.phar/src/RemBog/TeleportCommandAPI/Main
Line: #21
Error level: ErrorException
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    protected function onEnable(): void
{
@mkdir($this->getDataFolder());

foreach($this->getConfig()->getAll() as $commandName => $properties)
{
$description = $properties['description'];
$usageMessage = "/" . $commandName;
$aliases = $properties['aliases'];
$x = $properties['x'];
$y = $properties['y'];
$z = $properties['z'];
$world = $properties['world'];

$this->getServer()->getCommandMap()->register("teleport", new TeleportCommand($commandName, $description, $usageMessage, $aliases, $x, $y, $z, $world, $this));
}
}

public function onLoad(): void
{
#0 plugins/TeleportCommandAPI.phar/src/RemBog/TeleportCommandAPI/Main(21): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[23] Undefined array key "x", string[93] phar:///home/container/plugins/TeleportCommandAPI.phar/src/RemBog/TeleportComman, int 21)
#1 pmsrc/src/plugin/PluginBase(117): RemBog\TeleportCommandAPI\Main->onEnable()
#2 pmsrc/src/plugin/PluginManager(451): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#3 pmsrc/src/Server(1421): pocketmine\plugin\PluginManager->enablePlugin(object RemBog\TeleportCommandAPI\Main#22048)
#4 pmsrc/src/Server(1026): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21910)
#5 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#6 pmsrc/src/PocketMine(328): pocketmine\server()
#7 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show