menu
#6717752 Typed property tobias14\clearlag\ClearLag::$prefix must not be accessed before initialization

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Direct
Report date: 2022-05-14 05:44:49 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 0 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux b0ae9559-1420-42db-ba46-33a38c8f9c7c 5.4.0-1070-oracle #76~18.04.1-Ubuntu SMP Wed Apr 6 14:38:58 UTC 2022 x86_64

Error information

Warning: the ClearLag plugin was directly involved in this crash. Please contact the plugin author.
Message: Typed property tobias14\clearlag\ClearLag::$prefix must not be accessed before initialization
File: plugins/ClearLag_v1.0.1.phar/src/ClearLag
Line: #49
Error level: Error
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
    protected Language $lang;

public function getLanguage(): Language
{
return $this->lang;
}

public function getMessagePrefix(): string
{
return $this->prefix;
}

protected function onEnable(): void
{
self::$instance = $this;
define("tobias14\clearlag\LANGUAGE", 'lang_' . $this->getDescription()->getVersion());
$this->reloadConfig();
$this->saveResource(LANGUAGE . '.ini');
$this->initialize();
ClearTask::run($this->clearDelay, $this->entityExceptions);
#0 plugins/ClearLag_v1.0.1.phar/src/command/ClearLagCommand(33): tobias14\clearlag\ClearLag->getMessagePrefix()
#1 pmsrc/src/command/SimpleCommandMap(220): tobias14\clearlag\command\ClearLagCommand->execute(object pocketmine\player\Player#29186, string[8] clearlag, array[0])
#2 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#29186, string[8] clearlag)
#3 pmsrc/src/player/Player(1402): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#29186, string[8] clearlag)
#4 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[9] /clearlag)
#5 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#103912)
#6 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#98420)
#7 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#103912, string[30] M./clearlag..B?..&.1..f&o.....)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[77] ....O.IM,.ILg..d.a......ij.].;...'02..a.fe....o..l;[email protected],@v....{A4.)
#9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[86] ..)\...6.5.f...i.sq8d...>...w..e..e..2.QX...2.u..b.v..v......PE}'/..qC.j.O.W..I.)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#27673)
#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 1652507089.3763)
#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