menu
#2907636 Undefined property: Playek\EW\teams\Team::$arena

Submitted by PocketMine-MP 3.9.6+dev.1777

General information

Version: 3.9.6+dev.1777
Git commit: 247875e3
Plugin involvement: Direct
Report date: 2019-10-10 02:19:10 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux nchosting 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 x86_64

Error information

Warning: the EggWars_PO plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined property: Playek\EW\teams\Team::$arena
File: plugins/EggWars.phar/src/Playek/EW/teams/Team
Line: #24
Error level: ErrorException
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
		$this->main = $main;
}

public function getMaxPerTeam(): int {
$cfg = $this->main->newConfig("Setup");
return $cfg->get("MaxPerTeam");
}

public function getAllTeams() {
$name = $this->arena->id;
$red = $this->main->red_team[$name];
$cyan = $this->main->cyan_team[$name];
$purple = $this->main->purple_team[$name];
$yellow = $this->main->yellow_team[$name];
$orange = $this->main->orange_team[$name];
$blue = $this->main->orange_team[$name];
$aqua = $this->main->aqua_team[$name];
return [$red, $cyan, $purple, $yellow, $orange, $blue, $aqua];
}

#0 plugins/EggWars.phar/src/Playek/EW/teams/Team(24): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[48] Undefined property: Playek\EW\teams\Team::$arena, string[99] phar:///home/minecraft/multicraft/servers/server1/plugins/EggWars.phar/src/Playe, integer 24, array[0])
#1 plugins/EggWars.phar/src/Playek/EW/task/EWGame(56): Playek\EW\teams\Team->getAllTeams()
#2 src/pocketmine/scheduler/TaskHandler(159): Playek\EW\task\EWGame->onRun(integer 943)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 943)
#4 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 943)
#5 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 943)
#6 src/pocketmine/Server(2346): pocketmine\Server->tick()
#7 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1784): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[43] /home/minecraft/multicraft/servers/server1/, string[51] /home/minecraft/multicraft/servers/server1/plugins/)
#10 src/pocketmine/PocketMine(299): pocketmine\server()
#11 (1): require(string[88] phar:///home/minecraft/multicraft/jar/Pocketmine-1.12.phar/src/pocketmine/Pocket)

Loaded Plugins

  • Show

Server Settings

  • Show