How fix this internal server error? Code: [00:51:54] [Server thread/CRITICAL]: Error: "Call to a member function getUserDataMgr() on null" (EXCEPTION) in "plugins/PureChat_v1.4.11.phar/src/_64FF00/PureChat/PureChat" at line 558 [00:51:54] [Server thread/DEBUG]: #0 plugins/PureChat_v1.4.11.phar/src/_64FF00/PureChat/PureChat(507): _64FF00\PureChat\PureChat->getOriginalNametag(object pocketmine\Player, NULL ) [00:51:54] [Server thread/DEBUG]: #1 plugins/PureChat_v1.4.11.phar/src/_64FF00/PureChat/PCListener(63): _64FF00\PureChat\PureChat->getNametag(object pocketmine\Player, NULL ) [00:51:54] [Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(38): _64FF00\PureChat\PCListener->onPlayerJoin(object pocketmine\event\player\PlayerJoinEvent) [00:51:54] [Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object _64FF00\PureChat\PCListener, object pocketmine\event\player\PlayerJoinEvent) [00:51:54] [Server thread/DEBUG]: #4 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent) [00:51:54] [Server thread/DEBUG]: #5 src/pocketmine/Player(1082): pocketmine\event\Event->call() [00:51:54] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(298): pocketmine\Player->doFirstSpawn() [00:51:54] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [00:51:54] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [00:51:54] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [00:51:54] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [00:51:54] [Server thread/DEBUG]: #11 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [00:51:54] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [00:51:54] [Server thread/DEBUG]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 103.5.1.130 61686, object raklib\protocol\EncapsulatedPacket, integer 0) [00:51:54] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [00:51:54] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [00:51:54] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [00:51:54] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [00:51:54] [Server thread/DEBUG]: #18 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1567810314.0609) [00:51:54] [Server thread/DEBUG]: #19 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor() [00:51:54] [Server thread/DEBUG]: #20 src/pocketmine/Server(1784): pocketmine\Server->start() [00:51:54] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/minecraft/, string[24] /home/minecraft/plugins/) [00:51:54] [Server thread/DEBUG]: #22 (1): require(string[68] phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php) [00:51:54] [Server thread/INFO]: Unloading world "is-0.19062200 1567332141"
that means you are using getUserDataMgr function wrongly "it's a player function", send your code so i can help.