menu
#7557421 Typed property _64FF00\PureChat\PureChat::$factionsAPI must not be accessed before initialization

Submitted by PocketMine-MP 4.8.1

General information

Version: 4.8.1
Git commit: 0a92e91a
Plugin involvement: Direct
Report date: 2022-09-23 01:59:35 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 32 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux 1d7310dd-c88e-4397-9218-a49924c80679 5.15.0-1017-azure #20~20.04.1-Ubuntu SMP Fri Aug 5 12:16:53 UTC 2022 x86_64

Error information

Warning: the PureChat plugin was directly involved in this crash. Please contact the plugin author.
Message: Typed property _64FF00\PureChat\PureChat::$factionsAPI must not be accessed before initialization
File: plugins/PureChat_fernanACM (2).phar/src/_64FF00/PureChat/PureChat
Line: #298
Error level: Error
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
        $string = str_replace("{display_name}", $player->getDisplayName(), $string);
if ($message === null)
$message = "";
if ($player->hasPermission("pchat.coloredMessages")) {
$string = str_replace("{msg}", $this->applyColors($message), $string);
} else {
$string = str_replace("{msg}", $this->stripColors($message), $string);
}
if ($this->getConfig()->get("faction-support", false) === true) {
if ($this->factionsAPI) {
$string = str_replace("{fac_name}", $this->factionsAPI->getPlayerFaction($player), $string);
$string = str_replace("{fac_rank}", $this->factionsAPI->getPlayerRank($player), $string);
} else {
$string = str_replace("{fac_name}", '', $string);
$string = str_replace("{fac_rank}", '', $string);
}
}
$string = str_replace("{world}", ($WorldName === null ? "" : $WorldName), $string);
$string = str_replace("{prefix}", $this->getPrefix($player, $WorldName), $string);
$string = str_replace("{suffix}", $this->getSuffix($player, $WorldName), $string);
#0 plugins/PureChat_fernanACM (2).phar/src/_64FF00/PureChat/PureChat(324): _64FF00\PureChat\PureChat->applyPCTags(string[23] ..l[Guest] [WILLYAM151], object pocketmine\player\Player#90357, string[0] , null)
#1 plugins/PureChat_fernanACM (2).phar/src/_64FF00/PureChat/PCListener(38): _64FF00\PureChat\PureChat->getNametag(object pocketmine\player\Player#90357, null)
#2 pmsrc/src/event/RegisteredListener(60): _64FF00\PureChat\PCListener->onPlayerJoin(object pocketmine\event\player\PlayerJoinEvent#147361)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent#147361)
#4 pmsrc/src/player/Player(834): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(708): pocketmine\player\Player->doFirstSpawn()
#6 pmsrc/src/network/mcpe/NetworkSession(701): pocketmine\network\mcpe\NetworkSession->onClientSpawnResponse()
#7 pmsrc/src/network/mcpe/handler/SpawnResponsePacketHandler(35): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}()
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/SetLocalPlayerAsInitializedPacket(42): pocketmine\network\mcpe\handler\SpawnResponsePacketHandler->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#140104)
#9 pmsrc/src/network/mcpe/NetworkSession(392): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\handler\SpawnResponsePacketHandler#132200)
#10 pmsrc/src/network/mcpe/NetworkSession(355): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#140104, string[2] q.)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[68] c*..Wd.N2x.....S..}.,&[email protected]@......LLL.`.z......Di....A...)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[77] .... [email protected]#;.<...=.&.*j...b..K#7j}s..........fd....&.....h...')
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#100491)
#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 1663898375.1375)
#17 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(328): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show