menu
#4583565 Undefined variable: pl

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-10-18 03:59:39 +0000 UTC

System Information

PHP version: 7.3.22
Operating system: linux
System banner: Linux pacmanlife.cf 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64

Error information

Warning: the SkyWarsNet plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: pl
File: plugins/SkyWars.vNet by TG.phar/src/Build/api/PrivateMaps
Line: #68
Error level: ErrorException
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
						$config = new Config(Build::getInstance()->getDataFolder()."PRIVATE/code.yml", Config::YAML);
$time = $config->get("TIMEOFF".$this->world);
if($time>=1) {
$time--;
$config->set("TIMEOFF".$this->world,$time);
$config->save();
if($time%30==0) {
$global = Build::getInstance()->getServer()->getLevelByName($world)->getPlayers();
foreach($global as $players) {
$pl->sendMessage("§l§bT§3I§bM§3E§cO§4F§cF§f»§r§7 en:§6 ".$time."sg§7 la partida se volvera global, codigo de partida:§a ".$this->getCodePV());
}
}
} else {
$this->quitSand();
$global = Build::getInstance()->getServer()->getLevelByName($world)->getPlayers();
foreach($global as $players) {
$pl->sendMessage("§l§bT§3I§bM§3E§cO§4F§cF§f»§r§7 la partida se volvio global..");
}
}
}
#0 plugins/SkyWars.vNet by TG.phar/src/Build/api/PrivateMaps(68): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[22] Undefined variable: pl, string[85] phar:///root/Servers/TG/plugins/SkyWars.vNet by TG.phar/src/Build/api/PrivateMap, integer 68, array[6])
#1 plugins/SkyWars.vNet by TG.phar/src/Build/task/GameTask(49): Build\api\PrivateMaps->sendTimeOff()
#2 src/pocketmine/scheduler/TaskHandler(137): Build\task\GameTask->onRun(integer 2801)
#3 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 2801)
#4 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 2801)
#5 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 2801)
#6 src/pocketmine/Server(2154): pocketmine\Server->tick()
#7 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1588): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[17] /root/Servers/TG/, string[25] /root/Servers/TG/plugins/)
#10 src/pocketmine/PocketMine(304): pocketmine\server()
#11 (11): require(string[72] phar:///root/Servers/TG/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies