menu
#2580830 Undefined offset: 2

Submitted by PocketMine-MP 3.8.1

General information

Version: 3.8.1
Git commit: 7521160f
Plugin involvement: Direct
Report date: 2019-07-11 18:52:26 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux node2 4.15.18-15-pve #1 SMP PVE 4.15.18-40 (Tue, 21 May 2019 17:43:20 +0200) x86_64

Error information

Warning: the ClanWars plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined offset: 2
File: plugins/ClanWars/src/Mastercoding/ClanWars/task/ClanWarsTask
Line: #210
Error level: ErrorException
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
                if (isset(\Mastercoding\Clan\Main::$wars[$red])){
if (\Mastercoding\Clan\Main::$wars[$blue]){
$clanRed = \Mastercoding\Clan\Main::$wars[$red];
$clanBlue = \Mastercoding\Clan\Main::$wars[$blue];

$text = ($beds[1]["s"] === true) ? "§a✔" : "§c✘";
$redText = "$text §4{$red} §7[§2{$clanRed->getElo()}§7]";
$vs = " §evs ";
$blueText = "§9{$blue} §7[§2{$clanBlue->getElo()}§7]";
$text = ($beds[2]["s"] === true) ? " §a✔" : " §c✘";
$title = $redText . $vs . $blueText . $text;
}
}

foreach ($lobby->getArena()->getLevel()->getPlayers() as $player) {
$langPlayer = Language::$players[$player->getName()];
$prim = str_replace("{prim}", $langPlayer->getPrim(), self::ANIMATION[$this->animation]);
$sek = str_replace("{sek}", $langPlayer->getSek(), $prim);

$bs = Main::$bossBar["cw"];
#0 plugins/ClanWars/src/Mastercoding/ClanWars/task/ClanWarsTask(210): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined offset: 2, string /home/dupegames/Cloud/Wrapper/temp/ClanWars-0$d27867b6-b4a6-4c81-8c06-8b40716c20da/plugins/ClanWars/src/Mastercoding/ClanWars/task/ClanWarsTask.php, integer 210, array Array())
#1 src/pocketmine/scheduler/TaskHandler(159): Mastercoding\ClanWars\task\ClanWarsTask->onRun(integer 10761)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 10761)
#3 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 10761)
#4 src/pocketmine/Server(2559): pocketmine\plugin\PluginManager->tickSchedulers(integer 10761)
#5 src/pocketmine/Server(2335): pocketmine\Server->tick()
#6 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1775): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(258): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/dupegames/Cloud/Wrapper/temp/ClanWars-0$d27867b6-b4a6-4c81-8c06-8b40716c20da/, string /home/dupegames/Cloud/Wrapper/temp/ClanWars-0$d27867b6-b4a6-4c81-8c06-8b40716c20da/plugins/)
#9 (1): require(string phar:///home/dupegames/Cloud/Wrapper/temp/ClanWars-0$d27867b6-b4a6-4c81-8c06-8b40716c20da/pocketmine.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show