menu
#4656982 Undefined index: ItsukaWawanKun

Submitted by PocketMine-MP 3.15.4

General information

Version: 3.15.4
Git commit: e8b6b563
Plugin involvement: Direct
Report date: 2020-11-22 03:09:45 +0000 UTC

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux 45cdf148-7ba7-426c-b18c-1644f629825a 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64

Error information

Warning: the FriendSystem plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: ItsukaWawanKun
File: plugins/FriendSystem_v1.14.0 (1).phar/src/api/FriendApi
Line: #119
Error level: ErrorException
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
	}

function isFriend(string $name, string $target): bool
{
return isset($this->friend_data[$name][$target]);
}

function getFriendList(string $name): array
{
return $this->friend_data[$name];
}

function getOnlineFriends(string $name): array
{
$result = [];
foreach (Server::getInstance()->getOnlinePlayers() as $online) {
if (in_array($online->getName(), array_keys($this->getFriendList($name)), true)) {
$result[] = $online->getName();
}
}
#0 plugins/FriendSystem_v1.14.0 (1).phar/src/api/FriendApi(119): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[31] Undefined index: ItsukaWawanKun, string[82] phar:///home/container/plugins/FriendSystem_v1.14.0 (1).phar/src/api/FriendApi.p, integer 119, array[1])
#1 plugins/FriendSystem_v1.14.0 (1).phar/src/api/FriendApi(126): api\FriendApi->getFriendList(string[14] ItsukaWawanKun)
#2 plugins/FriendSystem_v1.14.0 (1).phar/src/api/FriendApi(50): api\FriendApi->getOnlineFriends(string[14] ItsukaWawanKun)
#3 plugins/FriendSystem_v1.14.0 (1).phar/src/event/player/PlayerQuit(12): api\FriendApi->notice(string[14] ItsukaWawanKun, integer 1)
#4 src/pocketmine/plugin/MethodEventExecutor(42): event\player\PlayerQuit->onQuit(object pocketmine\event\player\PlayerQuitEvent)
#5 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object event\player\PlayerQuit, object pocketmine\event\player\PlayerQuitEvent)
#6 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent)
#7 src/pocketmine/Player(3643): pocketmine\event\Event->call()
#8 src/pocketmine/network/mcpe/RakLibInterface(122): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[7] timeout)
#9 vendor/pocketmine/raklib/src/server/ServerHandler(127): pocketmine\network\mcpe\RakLibInterface->closeSession(string[19] 116.206.28.13 43065, string[7] timeout)
#10 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#11 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#12 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#13 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#14 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1606014585.7535)
#15 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#16 src/pocketmine/Server(1588): pocketmine\Server->start()
#17 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#18 src/pocketmine/PocketMine(304): pocketmine\server()
#19 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show