menu
#4583592 Undefined variable: player

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-10-18 04:28:14 +0000 UTC

System Information

PHP version: 7.4.10
Operating system: linux
System banner: Linux ubuntu 5.4.0-1019-raspi #21-Ubuntu SMP PREEMPT Mon Sep 14 07:20:34 UTC 2020 aarch64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: player
File: plugins/@J_rhdgkdrPtks
Line: #113
Error level: ErrorException
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
        Server::getInstance()->getLevelByName('JEJU')->setBlock(new Vector3(23, 4, 175), Block::get(0));
Server::getInstance()->getLevelByName('JEJU')->setBlock(new Vector3(23, 5, 175), Block::get(0));
Server::getInstance()->getLevelByName('JEJU')->setBlock(new Vector3(22, 4, 175), Block::get(0));
Server::getInstance()->getLevelByName('JEJU')->setBlock(new Vector3(22, 5, 175), Block::get(0));

$main = Server::getInstance();

ScheduleAPI::delayedTask (function () use ($main) {
$main->getLevelByName('JEJU')->setBlock(new Vector3(23, 4, 175), Block::get(236, 4));
Jsoundapi::playsound($player, 'jeju.closedoor');
$main->getLevelByName('JEJU')->setBlock(new Vector3(23, 5, 175), Block::get(236, 4));
$main->getLevelByName('JEJU')->setBlock(new Vector3(22, 4, 175), Block::get(236, 4));
$main->getLevelByName('JEJU')->setBlock(new Vector3(22, 5, 175), Block::get(236, 4));
}, 20 * 3);

}

public function sendUI(Player $player, $code, $data){
$packet = new ModalFormRequestPacket();
$packet->formId = $code;
#0 plugins/@J_rhdgkdrPtks(113): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[26] Undefined variable: player, string[59] /root/server/dev/jejuonline/jeju/plugins/@J_rhdgkdrPtks.php, integer 113, array[1])
#1 plugins/ScheduleAPI/src/skh6075/ScheduleAPI/ScheduleAPI(38): JUN\JrhdgkdrPtks->JUN\{closure}()
#2 src/pocketmine/scheduler/TaskHandler(137): [email protected]�/root/server/dev/jejuonline/jeju/plugins/ScheduleAPI/src/skh6075/ScheduleAPI/ScheduleAPI.php:30$2c8->onRun(integer 707)
#3 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 707)
#4 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 707)
#5 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 707)
#6 src/pocketmine/Server(2154): pocketmine\Server->tick()
#7 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1588): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[33] /root/server/dev/jejuonline/jeju/, string[41] /root/server/dev/jejuonline/jeju/plugins/)
#10 src/pocketmine/PocketMine(304): pocketmine\server()
#11 (11): require(string[88] phar:///root/server/dev/jejuonline/jeju/PocketMine-MP.phar/src/pocketmine/Pocket)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies