menu
#6719411 Undefined array key "Ferro2305"

Submitted by PocketMine-MP 4.3.1

General information

Version: 4.3.1
Git commit: f7dce4af
Plugin involvement: Direct
Report date: 2022-05-14 08:39:54 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 59 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux 774f359fac23 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64

Error information

Warning: the BetterHomes plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "Ferro2305"
File: plugins/BetterHomes.phar/src/Electro/BetterHomes/BetterHomes
Line: #179
Error level: ErrorException
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
                $submitter->teleport(new Position($this->homes[$submitter->getName()][$homeName][0], $this->homes[$submitter->getName()][$homeName][1], $this->homes[$submitter->getName()][$homeName][2], $this->getServer()->getWorldManager()->getWorldByName($this->homes[$submitter->getName()][$homeName][3])));
$submitter->sendMessage("§aYou have successfully teleported to " . $homeName);
},
);
}

public function saveData(Player $player)
{
$playerHomes = new Config($this->getDataFolder() . "Players/" . $player->getName() . ".yml", Config::YAML);
$playerHomes->set("Homes", $this->homes[$player->getName()]);
$playerHomes->save();
}

public function saveAllData()
{
foreach ($this->homes as $player => $home) {
$playerHomes = new Config($this->getDataFolder() . "Players/" . $player . ".yml", Config::YAML);
$playerHomes->set("Homes", $home);
$playerHomes->save();
}
#0 plugins/BetterHomes.phar/src/Electro/BetterHomes/BetterHomes(179): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[31] Undefined array key "Ferro2305", string[79] phar:///server/plugins/BetterHomes.phar/src/Electro/BetterHomes/BetterHomes.php, integer 179)
#1 plugins/BetterHomes.phar/src/Electro/BetterHomes/BetterHomes(49): Electro\BetterHomes\BetterHomes->saveData(object pocketmine\player\Player#36651)
#2 pmsrc/src/event/RegisteredListener(75): Electro\BetterHomes\BetterHomes->onQuit(object pocketmine\event\player\PlayerQuitEvent#36607)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent#36607)
#4 pmsrc/src/player/Player(2094): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(582): pocketmine\player\Player->onPostDisconnect(string[17] client disconnect, NULL )
#6 pmsrc/src/network/mcpe/NetworkSession(515): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}()
#7 pmsrc/src/network/mcpe/NetworkSession(584): pocketmine\network\mcpe\NetworkSession->tryDisconnect(object Closure#28455, string[17] client disconnect)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(151): pocketmine\network\mcpe\NetworkSession->onClientDisconnect(string[17] client disconnect)
#9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(75): pocketmine\network\mcpe\raklib\RakLibInterface->onClientDisconnect(integer 0, string[17] client disconnect)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#29564)
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652517589.8823)
#14 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[8] /server/, string[16] /server/plugins/)
#16 pmsrc/src/PocketMine(327): pocketmine\server()
#17 pmsrc(11): require(string[45] phar:///server/server.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show