menu
#6719380 Undefined array key "mahdi9933"

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Direct
Report date: 2022-05-14 08:37:08 +0000 UTC
Server uptime: 0 days 0 hours 23 minutes 45 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux ddf3e688-a4bd-49aa-9a73-401da6ca7c6e 5.13.0-1023-azure #27~20.04.1-Ubuntu SMP Mon Apr 25 22:39:07 UTC 2022 x86_64

Error information

Warning: the BankUI plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "mahdi9933"
File: plugins/BankUI.phar/src/Electro/BankUI/BankUI
Line: #594
Error level: ErrorException
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
            $playerBankMoney->save();
}


}

public function saveData(Player $player)
{
$playerBankMoney = new Config($this->getDataFolder() . "Players/" . $player->getName() . ".yml", Config::YAML);
$playerBankMoney->set("Money", $this->playersMoney[$player->getName()]);
$playerBankMoney->set("Transactions", $this->playersTransactions[$player->getName()]);
$playerBankMoney->save();
}

public function saveAllData()
{
foreach ($this->playersMoney as $player => $amount) {
$playerBankMoney = new Config($this->getDataFolder() . "Players/" . $player . ".yml", Config::YAML);
$playerBankMoney->set("Money", $amount);
$playerBankMoney->save();
#0 plugins/BankUI.phar/src/Electro/BankUI/BankUI(594): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[31] Undefined array key "mahdi9933", string[72] phar:///home/container/plugins/BankUI.phar/src/Electro/BankUI/BankUI.php, integer 594)
#1 plugins/BankUI.phar/src/Electro/BankUI/BankUI(89): Electro\BankUI\BankUI->saveData(object pocketmine\player\Player#101374)
#2 pmsrc/src/event/RegisteredListener(75): Electro\BankUI\BankUI->onQuit(object pocketmine\event\player\PlayerQuitEvent#133126)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent#133126)
#4 pmsrc/src/player/Player(2094): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(582): pocketmine\player\Player->onPostDisconnect(string[7] timeout, 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#116810, string[7] timeout)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(151): pocketmine\network\mcpe\NetworkSession->onClientDisconnect(string[7] timeout)
#9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(75): pocketmine\network\mcpe\raklib\RakLibInterface->onClientDisconnect(integer 0, string[7] timeout)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#29792)
#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 1652517428.9153)
#14 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#16 pmsrc/src/PocketMine(327): pocketmine\server()
#17 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show