menu
#2471260 Undefined offset: 1

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-06-12 14:55:54 +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 offset: 1
File: plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask
Line: #267
Error level: ErrorException
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
		} 
if($this->waittimepergame == 0){
if(count($this->game) == 0){
print("Line83");
$this->getWinner();
return false;
};
print("Line89");
$g = rand(0,count($this->game)-1);
$this->gamePlayingName = $this->game[$g];
unset($this->game[array_search($this->game[$g],$this->game)]);
$this->readyForAGame();
$this->isPlayingAGame = true;
}
}
}
}

///---------------------------------------------------------------------
public function readyForAGame(){
#0 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(267): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined offset: 1, string C:\Users\Administrator\Desktop\MCPE\plugins\#SimonSay\src\tungsten_simonsay\Task\GameTask.php, integer 267, array Array())
#1 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(323): tungsten_simonsay\Task\GameTask->createGame()
#2 src/pocketmine/scheduler/TaskHandler(159): tungsten_simonsay\Task\GameTask->onRun(integer 1041)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1041)
#4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1041)
#5 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 1041)
#6 src/pocketmine/Server(2334): pocketmine\Server->tick()
#7 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1774): pocketmine\Server->start()
#9 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\)
#10 (1): require(string phar://C:/Users/Administrator/Desktop/MCPE/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show