menu
#2469727 Undefined index: VietNamHT2018

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-06-12 10:28:23 +0000 UTC

System Information

PHP version: 7.2.2
Operating system: win
System banner: Windows NT UHUVV16TSDJ7IAR 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) AMD64

Error information

Warning: the SimonSay plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: VietNamHT2018
File: plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask
Line: #278
Error level: ErrorException
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
			  if($this->listscore[$this->players[$i]->getName()] > $this->bestscore){
$this->bestscore = $this->listscore[$this->players[$i]->getName()];
$this->winner = $this->players[$i]->getName();
}
}
}
for($i = 0;$i< count($this->players);$i++){
if($this->players[$i]->getName() != $this->winner){
print("Ten ".$this->players[$i]->getName());
if($this->listscore[$this->players[$i]->getName()] == $this->bestscore){
print("Diem: ".$this->listscore[$this->players[$i]->getName()]);
array_push($this->equallyRank,$this->players[$i]->getName());
}
}
}
$this->onWinner();
}
public function onWinner(){
if(isset($this->winner)){
if(count($this->equallyRank) == 0){
#0 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(278): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined index: VietNamHT2018, string C:\Users\Administrator\Desktop\MCPE\plugins\#SimonSay\src\tungsten_simonsay\Task\GameTask.php, integer 278, array Array())
#1 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(134): tungsten_simonsay\Task\GameTask->getWinner()
#2 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(220): tungsten_simonsay\Task\GameTask->createGame()
#3 src/pocketmine/scheduler/TaskHandler(159): tungsten_simonsay\Task\GameTask->onRun(integer 14661)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 14661)
#5 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 14661)
#6 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 14661)
#7 src/pocketmine/Server(2334): pocketmine\Server->tick()
#8 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1774): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Administrator\Desktop\MCPE\, string C:\Users\Administrator\Desktop\MCPE\plugins\)
#11 (1): require(string phar://C:/Users/Administrator/Desktop/MCPE/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show