menu
#3548252 Call to undefined method pocketmine\Server::getScheduler()

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-01-13 22:19:38 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux f64ff690a631 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64

Error information

Warning: the Broadcaster plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method pocketmine\Server::getScheduler()
File: plugins/Broadcaster_v1.1 SkyPixel.phar/src/Broadcaster/Broadcaster
Line: #202
Error level: Error
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
                if($recipient){
$recipient->sendMessage(TextFormat::colorize($msg));
return;
}
foreach($this->getServer()->getOnlinePlayers() as $player){
$player->sendMessage(TextFormat::colorize(str_replace("{PLAYER}", $player->getName(), $msg)));
}
return;
case self::TYPE_POPUP:
$this->getServer()->getScheduler()->scheduleTask(new Tasks\PopupDurationTask($this, $msg, $recipient, $this->cfg["popup-broadcast"]["duration"]));
return;
case self::TYPE_TITLE:
if($recipient){
$msg = explode("{SUBTITLE}", $msg);
$recipient->addTitle(TextFormat::colorize($msg[0]), isset($msg[1]) ? TextFormat::colorize($msg[1]) : "");
return;
}
foreach($this->getServer()->getOnlinePlayers() as $player){
$out = str_replace("{PLAYER}", $player->getName(), $msg);
$out = explode("{SUBTITLE}", $out);
#0 plugins/Broadcaster_v1.1 SkyPixel.phar/src/Broadcaster/Commands/SendPopup(37): Broadcaster\Broadcaster->broadcast(integer 1, string[7] CONSOLE, string[15] rtttretert5etgr, object pocketmine\Player)
#1 src/pocketmine/command/PluginCommand(58): Broadcaster\Commands\SendPopup->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[9] sendpopup, array[2])
#2 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[9] sendpopup, array[2])
#3 src/pocketmine/Server(2026): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[38] sendpopup rgamesmcpc10 rtttretert5etgr)
#4 src/pocketmine/Server(1617): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[38] sendpopup rgamesmcpc10 rtttretert5etgr)
#5 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#6 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#7 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1578953978.6876)
#8 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1785): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-40925/, string[23] /home/gs-40925/plugins/)
#11 src/pocketmine/PocketMine(291): pocketmine\server()
#12 (1): require(string[94] phar:///pro/bin/mcpe/pocketmine-stable-1.14.0/PocketMine-MP.phar/src/pocketmine/)

Loaded Plugins

  • Show

Server Settings

  • Show