menu
#5039085 Undefined index: is gaming2

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: Direct
Report date: 2021-07-22 08:21:05 +0000 UTC
Server uptime: 0 days 0 hours 42 minutes 2 seconds

System Information

PHP version: 7.4.21
Operating system: linux
System banner: Linux bfe75a6ae340 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64

Error information

Warning: the KnockbackFFA plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: is gaming2
File: plugins/KnockbackFFA.phar/src/ItzLightyHD/KnockbackFFA/utils/KnockbackPlayer
Line: #48
Error level: ErrorException
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
            $player->teleport(Server::getInstance()->getLevelByName($lobbyWorld)->getSpawnLocation());
}
}

public function onQuit(PlayerQuitEvent $event): void {
$player = $event->getPlayer();
foreach(Server::getInstance()->getOnlinePlayers() as $p) {
$world = $p->getLevel()->getFolderName();
if($world == GameSettings::getInstance()->world) {
if($this->lastDmg[strtolower($p->getName())] == strtolower($player->getName())) {
$this->lastDmg[strtolower($p->getName())] = "none";
}
}
}
}

public function playSound(string $soundName, Player $player) {
$pk = new PlaySoundPacket();
$pk->soundName = $soundName;
$pk->x = $player->getX();
#0 plugins/KnockbackFFA.phar/src/ItzLightyHD/KnockbackFFA/utils/KnockbackPlayer(48): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[27] Undefined index: is gaming2, string[95] phar:///server/plugins/KnockbackFFA.phar/src/ItzLightyHD/KnockbackFFA/utils/Knoc, integer 48, array[4])
#1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): ItzLightyHD\KnockbackFFA\utils\KnockbackPlayer->onQuit(object pocketmine\event\player\PlayerQuitEvent)
#2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object ItzLightyHD\KnockbackFFA\utils\KnockbackPlayer, object pocketmine\event\player\PlayerQuitEvent)
#3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent)
#4 pmsrc/src/pocketmine/Player(3713): pocketmine\event\Event->call()
#5 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(122): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[17] client disconnect)
#6 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(127): pocketmine\network\mcpe\RakLibInterface->closeSession(string[19] 36.37.207.128 54879, string[17] client disconnect)
#7 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#8 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#11 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1626942065.1547)
#12 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#13 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#14 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[8] /server/, string[16] /server/plugins/)
#15 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#16 pmsrc(11): require(string[56] phar:///server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show