menu
#9648689 Class "score\manager\systems\Config" not found

Submitted by PocketMine-MP 5.8.2

General information

Version: 5.8.2
Git commit: c3c81b09
Plugin involvement: Direct
Report date: 2023-11-21 00:26:35 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 47 seconds

System Information

PHP version: 8.1.25
JIT status: Not available
Operating system: linux
System banner: Linux 4eac9506-9e8a-4561-87b9-16f0e1c4ec25 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64

Error information

Warning: the DarkRankup plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Class "score\manager\systems\Config" not found
File: plugins/DarkRankup/src/score/manager/systems/SellFishUI
Line: #44
Type: Error
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
        $form->setTitle("┬žaVender");
$form->setContent(" ");

$form->addButton("Vender seus peixes");

$player->sendForm($form);
}

private function sellFish($playerName) {
$config = new Config($this->plugin->getDataFolder() . "playerfishs.json", Config::JSON);

$playerFishData = $config->getNested($playerName, ["peixes" => []]);

$totalPrice = 0;

foreach ($this->priceFishs as $fishType => $price) {
$fishCount = $playerFishData["peixes"][$fishType] ?? 0;
$fishTotalPrice = $price * $fishCount;

$totalPrice += $fishTotalPrice;
#0 plugins/DarkRankup/src/score/manager/systems/SellFishUI(30): score\manager\systems\SellFishUI->sellFish(string[7] Zdraw01)
#1 plugins/DarkRankup/src/jojoe77777/FormAPI/Form(31): score\manager\systems\SellFishUI->score\manager\systems\{closure}(object pocketmine\player\Player#306730, int 0)
#2 pmsrc/src/player/Player(2139): jojoe77777\FormAPI\Form->handleResponse(object pocketmine\player\Player#306730, int 0)
#3 pmsrc/src/network/mcpe/handler/InGamePacketHandler(978): pocketmine\player\Player->onFormSubmit(int 0, int 0)
#4 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(63): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#237029)
#5 pmsrc/src/network/mcpe/NetworkSession(445): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#231815)
#6 pmsrc/src/network/mcpe/NetworkSession(383): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#237029, string[7] e...0..)
#7 pmsrc/src/network/mcpe/raklib/RakLibInterface(219): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[56] cOe`d2.b...(...h..~..j.s..T.3>...P..ohp`db....6.MX......)
#8 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[65] .g..g.c.......wAM.u....>......x...F...GT..M...H.......!.4M.....R.)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(111): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#307332)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#11 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#13 pmsrc/src/Server(1683): pocketmine\snooze\SleeperHandler->sleepUntil(float 1700526395.3631)
#14 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#3, object pocketmine\utils\MainLogger#6, string[16] /home/container/, string[24] /home/container/plugins/)
#16 pmsrc/src/PocketMine(364): pocketmine\server()
#17 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