menu
#4530790 Use of undefined constant ooo - assumed 'ooo' (this will throw an Error in a future version of PHP)

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-15 23:57:24 +0000 UTC

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux 7c83cafd-7a37-474b-bfdc-7233fdbbce20 4.18.0-193.14.2.el8_2.x86_64 #1 SMP Sun Jul 26 03:54:29 UTC 2020 x86_64

Error information

Warning: the skymlg plugin was directly involved in this crash. Please contact the plugin author.
Message: Use of undefined constant ooo - assumed 'ooo' (this will throw an Error in a future version of PHP)
File: plugins/ZSkyMlg.phar/src/vixikhd/skymlg/arena/Arena
Line: #410
Error level: ErrorException
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
        $player = $event->getPlayer();

if(!$this->inGame($player)) return;

foreach ($event->getDrops() as $item) {
$player->getLevel()->dropItem($player, $item);
}
$this->toRespawn[$player->getName()] = $player;
$this->disconnectPlayer($player, "", true);
$this->broadcastMessage("§a> {$this->plugin->getServer()->getLanguage()->translate($event->getDeathMessage(ooo))} §7[".count($this->players)."/{$this->data["slots"]}]");
$event->setDeathMessage("You Died");
$event->setDrops([]);
}

/**
* @param PlayerRespawnEvent $event
*/
public function onRespawn(PlayerRespawnEvent $event) {
$player = $event->getPlayer();
if(isset($this->toRespawn[$player->getName()])) {
#0 plugins/ZSkyMlg.phar/src/vixikhd/skymlg/arena/Arena(410): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[99] Use of undefined constant ooo - assumed 'ooo' (this will throw an Error in a fut, string[78] phar:///home/container/plugins/ZSkyMlg.phar/src/vixikhd/skymlg/arena/Arena.php, integer 410, array[3])
#1 src/pocketmine/plugin/MethodEventExecutor(42): vixikhd\skymlg\arena\Arena->onDeath(object pocketmine\event\player\PlayerDeathEvent)
#2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object vixikhd\skymlg\arena\Arena, object pocketmine\event\player\PlayerDeathEvent)
#3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerDeathEvent)
#4 src/pocketmine/Player(3787): pocketmine\event\Event->call()
#5 src/pocketmine/entity/Living(605): pocketmine\Player->onDeath()
#6 src/pocketmine/Player(3776): pocketmine\entity\Living->kill()
#7 src/pocketmine/entity/Entity(983): pocketmine\Player->kill()
#8 src/pocketmine/entity/Living(145): pocketmine\entity\Entity->setHealth(double 0)
#9 src/pocketmine/entity/Entity(940): pocketmine\entity\Living->setHealth(double 0)
#10 src/pocketmine/entity/Living(545): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageEvent)
#11 src/pocketmine/Player(3873): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageEvent)
#12 src/pocketmine/entity/Entity(1033): pocketmine\Player->attack(object pocketmine\event\entity\EntityDamageEvent)
#13 src/pocketmine/entity/Living(642): pocketmine\entity\Entity->entityBaseTick(integer 1)
#14 src/pocketmine/entity/Human(627): pocketmine\entity\Living->entityBaseTick(integer 1)
#15 src/pocketmine/Player(1785): pocketmine\entity\Human->entityBaseTick(integer 1)
#16 src/pocketmine/level/Level(852): pocketmine\Player->onUpdate(integer 4139)
#17 src/pocketmine/level/Level(785): pocketmine\level\Level->actuallyDoTick(integer 4139)
#18 src/pocketmine/Server(2267): pocketmine\level\Level->doTick(integer 4139)
#19 src/pocketmine/Server(2398): pocketmine\Server->checkTickUpdates(integer 4139, double 1600214243.9744)
#20 src/pocketmine/Server(2154): pocketmine\Server->tick()
#21 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#22 src/pocketmine/Server(1588): pocketmine\Server->start()
#23 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#24 src/pocketmine/PocketMine(304): pocketmine\server()
#25 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies