menu
#2467585 A non-numeric value encountered

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-06-12 04:13:40 +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: A non-numeric value encountered
File: plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask
Line: #57
Error level: ErrorException
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
	    if(in_array($this->block[$i],SSManagement::$blockPlace)){
unset(SSManagement::$blockPlace[array_search($this->block[$i],SSManagement::$blockPlace)]);
}
}
$this->block = [];
}
public function winThisGameRound(){
for($i = 0;$i < count($this->players);$i++){
for($b = 0;$b < count($this->winthisround);$b++){
print("b: ".$b."/count....: ".count($this->winthisround) -1);
if($this->players[$i]->getName() == $this->winthisround[$b]){
if(count($this->game) == 0){
$this->players[$i]->sendPopup("You win this round,game end in: ".$this->waittimepergame);
}else{
$this->players[$i]->sendPopup("You win this round,next game in: ".$this->waittimepergame);
}
print("win");
return;
}
if($b == count($this->winthisround) -1){
#0 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(57): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string A non-numeric value encountered, string C:\Users\Administrator\Desktop\MCPE\plugins\#SimonSay\src\tungsten_simonsay\Task\GameTask.php, integer 57, array Array())
#1 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(115): tungsten_simonsay\Task\GameTask->winThisGameRound()
#2 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(218): tungsten_simonsay\Task\GameTask->createGame()
#3 src/pocketmine/scheduler/TaskHandler(159): tungsten_simonsay\Task\GameTask->onRun(integer 821)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 821)
#5 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 821)
#6 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 821)
#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