menu
#7034692 Call to undefined method ShopID\command\subcommand\joniCommand::getServer()

Submitted by PocketMine-MP 4.5.1

General information

Version: 4.5.1
Git commit: d641812c
Plugin involvement: Direct
Report date: 2022-06-23 13:10:32 +0000 UTC
Server uptime: 0 days 0 hours 14 minutes 13 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux anjim 5.13.0-1031-azure #37~20.04.1-Ubuntu SMP Mon Jun 13 22:51:01 UTC 2022 x86_64

Error information

Warning: the ShopID plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method ShopID\command\subcommand\joniCommand::getServer()
File: plugins/ShopID_v1.phar/src/ShopID/command/subcommand/joniCommand
Line: #288
Error level: Error
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
                    $sender->getInventory()->addItem($this->id->get(477, 0, 64));
$sender->sendMessage("Terima Kasih Telah Berbelanja Di Lobby");
return $transaction->discard();
} else {
$sender->sendMessage("Duit Lu Habis Bangke Kerja Sono");
return $transaction->discard();
}
}
if($itemClicked->getId() == 339){
$this->getServer()->dispatchCommand($sender, "sell joni");
}
return $transaction->continue();
});
}
}
#0 /root/acid/virions/InvMenu-4.0/src/muqsit/invmenu/InvMenu(166): ShopID\command\subcommand\joniCommand->ShopID\command\subcommand\{closure}(object muqsit\invmenu\transaction\SimpleInvMenuTransaction#138131)
#1 /root/acid/virions/InvMenu-4.0/src/muqsit/invmenu/InvMenuEventHandler(106): muqsit\invmenu\InvMenu->handleInventoryTransaction(object ipad54\netherblocks\player\Player#94279, object pocketmine\item\Item#137607, object pocketmine\item\ItemBlock#135616, object pocketmine\inventory\transaction\action\SlotChangeAction#130807, object pocketmine\inventory\transaction\InventoryTransaction#137307)
#2 pmsrc/src/event/RegisteredListener(60): muqsit\invmenu\InvMenuEventHandler->onInventoryTransaction(object pocketmine\event\inventory\InventoryTransactionEvent#130615)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\inventory\InventoryTransactionEvent#130615)
#4 pmsrc/src/inventory/transaction/InventoryTransaction(294): pocketmine\event\Event->call()
#5 pmsrc/src/inventory/transaction/InventoryTransaction(312): pocketmine\inventory\transaction\InventoryTransaction->callExecuteEvent()
#6 pmsrc/src/network/mcpe/handler/InGamePacketHandler(398): pocketmine\inventory\transaction\InventoryTransaction->execute()
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(293): pocketmine\network\mcpe\handler\InGamePacketHandler->handleNormalTransaction(object pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData#137480)
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/InventoryTransactionPacket(105): pocketmine\network\mcpe\handler\InGamePacketHandler->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#130913)
#9 pmsrc/src/network/mcpe/NetworkSession(388): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#112564)
#10 pmsrc/src/network/mcpe/NetworkSession(351): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#130913, string[236] ..............h.........display...Lore........ Jual Hasil Perkebunan Kalian...Na)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[107] {.(.... ".........3r10p.3.d...$Vr.0....r.d.....J.s.<..3s..R..S.J......s2..8X...s)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[116] .yo.[XG..F.f.$.1..;.1#.....asw......1.....").h..8.Y.;...Oh....;J.X.F3...b..}K=..)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#104962)
#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(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1655989832.1801)
#17 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[11] /root/acid/, string[19] /root/acid/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[55] phar:///root/acid/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show