HyperEnte / CustomJoinMessage

MIT License
2 stars 0 forks source link

Internal server error when I join to my server #1

Open MisledPaul58 opened 3 years ago

MisledPaul58 commented 3 years ago

[15:43:16] [Server thread/CRITICAL]: ErrorException: "Undefined index: joinmessage" (EXCEPTION) in "plugins/JoinMessage.phar/src/HyperEnte/JoinMessage/EventListener" at line 27 [15:43:16] [Server thread/CRITICAL]: #0 plugins/JoinMessage.phar/src/HyperEnte/JoinMessage/EventListener(27): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[28] Undefined index: joinmessage, string[91] phar:///home/container/plugins/JoinMessage.phar/src/HyperEnte/JoinMessage/EventL, integer 27, array[5]) [15:43:16] [Server thread/CRITICAL]: #1 src/pocketmine/plugin/MethodEventExecutor(42): HyperEnte\JoinMessage\EventListener->onJoin(object pocketmine\event\player\PlayerJoinEvent) [15:43:16] [Server thread/CRITICAL]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object HyperEnte\JoinMessage\EventListener, object pocketmine\event\player\PlayerJoinEvent) [15:43:16] [Server thread/CRITICAL]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent) [15:43:16] [Server thread/CRITICAL]: #4 src/pocketmine/Player(1086): pocketmine\event\Event->call() [15:43:16] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn() [15:43:16] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [15:43:16] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [15:43:16] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [15:43:16] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [15:43:16] [Server thread/CRITICAL]: #10 src/pocketmine/Player(3250): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [15:43:16] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [15:43:16] [Server thread/CRITICAL]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 83.55.43.245 64157, object raklib\protocol\EncapsulatedPacket, integer 0) [15:43:16] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [15:43:16] [Server thread/CRITICAL]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [15:43:16] [Server thread/CRITICAL]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [15:43:16] [Server thread/CRITICAL]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [15:43:16] [Server thread/CRITICAL]: #17 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1597765396.7905) [15:43:16] [Server thread/CRITICAL]: #18 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor() [15:43:16] [Server thread/CRITICAL]: #19 src/pocketmine/Server(1588): pocketmine\Server->start() [15:43:16] [Server thread/CRITICAL]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [15:43:16] [Server thread/CRITICAL]: #21 src/pocketmine/PocketMine(304): pocketmine\server() [15:43:16] [Server thread/CRITICAL]: #22 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Please fix it :(

MisledPaul58 commented 3 years ago

Here you have it on pastebin if you prefer it https://pastebin.com/yr9vRBc2

HyperEnte commented 3 years ago

Restart the server, then it should work