menu
#3069501 Undefined variable: player

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Direct
Report date: 2019-11-06 11:17:21 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux Flick 4.4.0-165-generic #193-Ubuntu SMP Tue Sep 17 17:42:52 UTC 2019 x86_64

Error information

Warning: the SkyWars plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: player
File: plugins/SkyWars_v1.0.0.phar/src/vixikhd/skywars/arena/ArenaScheduler
Line: #84
Error level: ErrorException
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
                    foreach ($this->plugin->players as $p) {
$api = Scoreboards::getInstance();
KDR::getInstance();
$api->new($p, "SkyWars1", "§l§eSKYWARS");
$api->setLine($p, 1, " ");
$api->setLine($p, 2, "§fMulai dalam: §e".Time::calculateTime($this->startTime)."");
$api->setLine($p, 3, " ");
$api->setLine($p, 4, "§fJumlah Pemain: §e".count($this->plugin->players)."");
$api->setLine($p, 5, " ");
$api->setLine($p, 6, "§fDibunuh: §e".KDR::getInstance()->getProvider()->getPlayerKillPoints($player)."");
$api->setLine($p, 7, " ");
$api->setLine($p, 8, "§fPeta: §e{$this->plugin->level->getFolderName()}");
$api->setLine($p, 9, "§fMode: §cInsane");
$api->setLine($p, 10, " ");
$api->setLine($p, 11, "§e§lHusle§6Pixel");
$api->getObjectiveName($p);
}
//$t = str_repeat(" ", 65);
//$this->plugin->broadcastMessage($t. "§l§aSKY§2WARS§r\n" .$t. "\n" .$t. "§fPlayers: §a" .count($this->plugin->players). "§r\n" .$t. "\n" .$t. "§fDimulai dalam: §a" .Time::calculateTime($this->startTime). "§r\n". $t. "\n" .$t. "§fMap: §a{$this->plugin->level->getFolderName()}\n" .$t. "\n" .$t. "§fMode: §aSolo\n" .$t. "\n" .$t. "§ahexazor.sytes.net". str_repeat("\n", 20), Arena::MSG_TIP);
if($this->startTime == 10){
#0 plugins/SkyWars_v1.0.0.phar/src/vixikhd/skywars/arena/ArenaScheduler(84): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[26] Undefined variable: player, string[92] phar:///root/server/plugins/SkyWars_v1.0.0.phar/src/vixikhd/skywars/arena/ArenaS, integer 84, array[3])
#1 src/pocketmine/scheduler/TaskHandler(159): vixikhd\skywars\arena\ArenaScheduler->onRun(integer 1740841)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1740841)
#3 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1740841)
#4 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 1740841)
#5 src/pocketmine/Server(2346): pocketmine\Server->tick()
#6 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1784): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/server/, string[21] /root/server/plugins/)
#9 src/pocketmine/PocketMine(300): pocketmine\server()
#10 (1): require(string[68] phar:///root/server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show