menu
#4774663 Undefined offset: 5

Submitted by PocketMine-MP 3.17.5

General information

Version: 3.17.5
Git commit: 3a0c8dd5
Plugin involvement: Direct
Report date: 2021-02-22 23:17:13 +0000 UTC
Server uptime: 0 days 0 hours 32 minutes 0 seconds

System Information

PHP version: 7.4.13
Operating system: linux
System banner: Linux 1f6a204c-2184-49c8-9f1c-f21d63b47828 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64

Error information

Warning: the Core plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined offset: 5
File: plugins/Core_dev-112.phar/src/Core/Tasks/BroadcastTask
Line: #30
Error level: ErrorException
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
        $this->plugin = $plugin;
$this->i = 0;
}
public function onRun(int $currentTick){
$messages = $this->plugin->cfg["message-broadcast"]["messages"];
back:
if($this->i < count($messages)){
foreach($this->plugin->getServer()->getOnlinePlayers() as $p){
if(!$this->plugin->isSeeMessages($p)){
$p->sendMessage(TF::colorize($this->plugin->formatMessage($messages[$this->i])));
$this->i++;
}
}
}else{
$this->i = 0;
goto back;
}
}
}
#0 plugins/Core_dev-112.phar/src/Core/Tasks/BroadcastTask(30): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 5, string[81] phar:///home/container/plugins/Core_dev-112.phar/src/Core/Tasks/BroadcastTask.ph, integer 30, array[3])
#1 pmsrc/src/pocketmine/scheduler/TaskHandler(137): Core\Tasks\BroadcastTask->onRun(integer 38401)
#2 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 38401)
#3 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 38401)
#4 pmsrc/src/pocketmine/Server(2390): pocketmine\plugin\PluginManager->tickSchedulers(integer 38401)
#5 pmsrc/src/pocketmine/Server(2153): pocketmine\Server->tick()
#6 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#7 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#8 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#9 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#10 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show