menu
#2907663 Undefined offset: 0

Submitted by PocketMine-MP 3.9.5

General information

Version: 3.9.5
Git commit: f0539f48
Plugin involvement: Direct
Report date: 2019-10-10 02:37:05 +0000 UTC

System Information

PHP version: 7.3.9
Operating system: linux
System banner: Linux 4d0e06e5-6e79-447d-8828-203bf67e65d8 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64

Error information

Warning: the UHC_ChampionsPlus plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined offset: 0
File: plugins/UHC_ChampionsPlus_v0.1.2-beta EXPERMIENTAL.phar/src/larryTheCoder/arena/Arena
Line: #422
Error level: ErrorException
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432

Utils::sendDebug("stopGame(" . $forced . ") is being called");
}

public function broadcastResult(){
foreach($this->players as $p){
$p->setXpLevel(0);
}

$p = $this->plugin->getServer()->getPlayerExact($this->winners[0][0]);
if(!is_null($p)){
$pd = $this->plugin->getDatabase()->getPlayerData($p->getName());
$pd->time += $this->totalPlayed;
$pd->wins += 1;
$pd->kill += $this->winners[0][1];
$this->plugin->getDatabase()->setPlayerData($p->getName(), $pd);
}

foreach($this->winners as $winner){
$p = $this->plugin->getServer()->getPlayer($winner[0]);
#0 plugins/UHC_ChampionsPlus_v0.1.2-beta EXPERMIENTAL.phar/src/larryTheCoder/arena/Arena(422): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 0, string[112] phar:///home/container/plugins/UHC_ChampionsPlus_v0.1.2-beta EXPERMIENTAL.phar/s, integer 422, array[1])
#1 plugins/UHC_ChampionsPlus_v0.1.2-beta EXPERMIENTAL.phar/src/larryTheCoder/arena/Arena(408): larryTheCoder\arena\Arena->broadcastResult()
#2 plugins/UHC_ChampionsPlus_v0.1.2-beta EXPERMIENTAL.phar/src/larryTheCoder/commands/SkyWarsCommand(241): larryTheCoder\arena\Arena->stopGame()
#3 plugins/UHC_ChampionsPlus_v0.1.2-beta EXPERMIENTAL.phar/src/larryTheCoder/SkyWarsPE(292): larryTheCoder\commands\SkyWarsCommand->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, array[2])
#4 src/pocketmine/command/PluginCommand(58): larryTheCoder\SkyWarsPE->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[3] uhc, array[2])
#5 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[3] uhc, array[2])
#6 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[13] uhc stop UHC1)
#7 src/pocketmine/Server(1616): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[13] uhc stop UHC1)
#8 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#9 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#10 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1570675025.1688)
#11 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1784): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#14 src/pocketmine/PocketMine(299): pocketmine\server()
#15 (1): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show