menu
#7557977 Undefined array key "gray"

Submitted by PocketMine-MP 4.8.1

General information

Version: 4.8.1
Git commit: 0a92e91a
Plugin involvement: Direct
Report date: 2022-09-23 06:13:19 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 4 seconds

System Information

PHP version: 8.0.22
JIT status: Not available
Operating system: linux
System banner: Linux localhost 4.14.193+-ab543 #1 SMP PREEMPT Wed Aug 3 17:12:38 CST 2022 aarch64

Error information

Warning: the BedWarsUltimate plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "gray"
File: plugins/BedWarsUltimate_dev-13 (1).phar/src/BedWars/game/Game
Line: #159
Error level: ErrorException
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
        $this->lobbyName = explode(":", $data['lobby'])[3];
$this->mapName = $data['mapName'];
$this->teamInfo = $data['teamInfo'];
$this->plugin->getServer()->getWorldManager()->loadWorld(explode(":", $data['lobby'])[3]);
$this->lobby = Utils::stringToPosition(":", $data['lobby']);
$this->generatorInfo = $data['generatorInfo'];
$this->safeAreas = isset($data['safe_areas']) ? $data['safe_areas'] : [];

foreach($this->teamInfo as $teamName => $data){
$this->teams[$teamName] = new Team($teamName, BedWars::TEAMS[strtolower($teamName)]);
}

$this->maxPlayers = count($this->teams) * $this->playersPerTeam;
$this->reload();
$this->plugin->getScheduler()->scheduleRepeatingTask(new GameTick($this), 20);
}

/**
* @param Vector3 $lobby
* @param string $worldName
#0 plugins/BedWarsUltimate_dev-13 (1).phar/src/BedWars/game/Game(159): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[26] Undefined array key "gray", string[92] phar:///home/pocket/server/plugins/BedWarsUltimate_dev-13 (1).phar/src/BedWars/g, int 159)
#1 plugins/BedWarsUltimate_dev-13 (1).phar/src/BedWars/BedWars(226): BedWars\game\Game->__construct(object BedWars\BedWars#23047, array[5])
#2 plugins/BedWarsUltimate_dev-13 (1).phar/src/BedWars/BedWars(138): BedWars\BedWars->loadGame(string[3] bw1)
#3 plugins/BedWarsUltimate_dev-13 (1).phar/src/BedWars/BedWars(109): BedWars\BedWars->loadAllGames()
#4 pmsrc/src/plugin/PluginBase(117): BedWars\BedWars->onEnable()
#5 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#6 pmsrc/src/Server(1419): pocketmine\plugin\PluginManager->enablePlugin(object BedWars\BedWars#23047)
#7 pmsrc/src/Server(1024): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21897)
#8 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[20] /home/pocket/server/, string[28] /home/pocket/server/plugins/)
#9 pmsrc/src/PocketMine(328): pocketmine\server()
#10 pmsrc(11): require(string[64] phar:///home/pocket/server/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show