menu
#10625050 Call to a member function getFolderName() on null

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Direct
Report date: 2024-04-03 05:31:37 +0000 UTC
Server uptime: 0 days 12 hours 9 minutes 39 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: linux
System banner: Linux 745db2dd-f4d5-4363-a876-d118dc310c5e 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64

Error information

Warning: the PiggyFactions plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Call to a member function getFolderName() on null
File: plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/claims/ClaimsManager
Line: #74
Type: Error
65
66
67
68
69
70
71
72
73
74
75
76
77
            "level" => $world->getFolderName()
];
$this->claims[$args["chunkX"] . ":" . $args["chunkZ"] . ":" . $args["level"]] = new Claim($args["faction"], $args["chunkX"], $args["chunkZ"], $args["level"]);
$this->plugin->getDatabase()->executeInsert("piggyfactions.claims.create", $args);
return $this->claims[$args["chunkX"] . ":" . $args["chunkZ"] . ":" . $args["level"]];
}

public function deleteClaim(Claim $claim): void
{
unset($this->claims[($chunkX = $claim->getChunkX()) . ":" . ($chunkZ = $claim->getChunkZ()) . ":" . ($level = $claim->getLevel()->getFolderName())]);
$this->plugin->getDatabase()->executeGeneric("piggyfactions.claims.delete", ["chunkX" => $chunkX, "chunkZ" => $chunkZ, "level" => $level]);
}
}
#0 plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/factions/Faction(412): DaPigGuy\PiggyFactions\claims\ClaimsManager->deleteClaim(object DaPigGuy\PiggyFactions\claims\Claim#65285)
#1 plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/commands/subcommands/management/DisbandSubCommand(26): DaPigGuy\PiggyFactions\factions\Faction->disband()
#2 plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/commands/subcommands/FactionSubCommand(89): DaPigGuy\PiggyFactions\commands\subcommands\management\DisbandSubCommand->onNormalRun(object pocketmine\player\Player#213570, object DaPigGuy\PiggyFactions\factions\Faction#65743, object DaPigGuy\PiggyFactions\players\FactionsPlayer#65288, string[7] disband, array[0])
#3 plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/libs/CortexPE/Commando/BaseCommand(123): DaPigGuy\PiggyFactions\commands\subcommands\FactionSubCommand->onRun(object pocketmine\player\Player#213570, string[7] disband, array[0])
#4 plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/libs/CortexPE/Commando/BaseCommand(107): DaPigGuy\PiggyFactions\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\player\Player#213570, string[7] disband, array[0])
#5 pmsrc/src/command/SimpleCommandMap(212): DaPigGuy\PiggyFactions\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\player\Player#213570, string[1] f, array[0])
#6 pmsrc/src/Server(1431): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#213570, string[9] f disband)
#7 pmsrc/src/player/Player(1516): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#213570, string[9] f disband)
#8 pmsrc/src/network/mcpe/handler/InGamePacketHandler(819): pocketmine\player\Player->chat(string[10] /f disband)
#9 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#225881)
#10 pmsrc/src/network/mcpe/NetworkSession(456): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#101371)
#11 pmsrc/src/network/mcpe/NetworkSession(394): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#225881, string[32] M./f [email protected])
#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(214): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[85] .S...OSH.,NJ.Ka.s|..2q.. ..Uzr.&10..O`d...`...)....._.8>][email protected][email protected]....)
#13 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 5, string[94] .......v.4....><..]M..e.l..4...jdrz.t...].R..V.P.."&3=.aZ..?.^XT....&p.>b.P.A..l)
#14 pmsrc/src/network/mcpe/raklib/RakLibInterface(107): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#184595)
#15 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#17 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#19 pmsrc/src/Server(1696): pocketmine\snooze\SleeperHandler->sleepUntil(float 1712122297.8092)
#20 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#21 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#22 pmsrc/src/PocketMine(373): pocketmine\server()
#23 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