menu
#7556830 Undefined array key "Join"

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-22 22:21:44 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 38 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux df845ab5-8eb9-4239-830f-b7a6aabf11c4 5.19.8-xanmod1 #0~20220908.git42d221f SMP Thu Sep 8 20:47:44 UTC 2022 x86_64

Error information

Warning: the CustomMessages plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "Join"
File: plugins/CustomMessages.phar/src/Vecnavium/CustomMessages/Main
Line: #26
Error level: ErrorException
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    {
$this->getServer()->getPluginManager()->registerEvents(new Listeners($this), $this);
@mkdir($this->getDataFolder());
$this->saveDefaultConfig();
$this->config = $this->getConfig()->getAll();
}


public function isJoinMessageEnabled() : bool {
return $this->config["Join"]["Enabled"];
}
public function getJoinMessage(Player $player)
{
return TextFormat::colorize($this->replaceVars($this->config["Join"]["message"], array(
"PLAYER" => $player->getName())));
}


public function isQuitMessageEnabled(){
return $this->config["Quit"]["Enabled"];
#0 plugins/CustomMessages.phar/src/Vecnavium/CustomMessages/Main(26): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[26] Undefined array key "Join", string[88] phar:///home/container/plugins/CustomMessages.phar/src/Vecnavium/CustomMessages/, int 26)
#1 plugins/CustomMessages.phar/src/Vecnavium/CustomMessages/Listeners(27): Vecnavium\CustomMessages\Main->isJoinMessageEnabled()
#2 pmsrc/src/event/RegisteredListener(60): Vecnavium\CustomMessages\Listeners->onPlayerJoin(object pocketmine\event\player\PlayerJoinEvent#259593)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent#259593)
#4 pmsrc/src/player/Player(834): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(732): pocketmine\player\Player->doFirstSpawn()
#6 pmsrc/src/network/mcpe/NetworkSession(725): 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#261095)
#9 pmsrc/src/network/mcpe/NetworkSession(409): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\handler\SpawnResponsePacketHandler#277457)
#10 pmsrc/src/network/mcpe/NetworkSession(372): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#261095, string[2] q.)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[47] c*d1... ...pg.]q...E.....T.f...8.#..9F.Go... ..)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[56] ...2) d.au.........W...9..eHaT..6.A....SeJ......4..G..Zw)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#29413)
#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(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1663885303.9596)
#17 pmsrc/src/Server(1065): 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