menu
#2467191 Argument 1 passed to jojoe77777\FormAPI\Form::sendToPlayer() must be an instance of pocketmine\Player, instance of pocketmine\command\ConsoleCommandSender given

Submitted by PocketMine-MP 3.8.4

General information

Version: 3.8.4
Git commit: a42f68d3
Plugin involvement: Direct
Report date: 2019-06-12 03:03:24 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT EC2AMAZ-Q8E6MID 10.0 build 14393 (Windows Server 2016) AMD64

Error information

Warning: the WingUI plugin was directly involved in this crash. Please contact the plugin author.
Message: Argument 1 passed to jojoe77777\FormAPI\Form::sendToPlayer() must be an instance of pocketmine\Player, instance of pocketmine\command\ConsoleCommandSender given
File: plugins/WingUI_v1.phar/src/jojoe77777/FormAPI/Form
Line: #30
Error level: TypeError
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
        $this->callable = $callable;
}

/**
* @deprecated
* @see Player::sendForm()
*
* @param Player $player
*/
public function sendToPlayer(Player $player) : void {
$player->sendForm($this);
}

public function getCallable() : ?callable {
return $this->callable;
}

public function setCallable(?callable $callable) {
$this->callable = $callable;
}
#0 plugins/EconomyJobUI-master/src/onebone/economyjob/EconomyJob(189): jojoe77777\FormAPI\Form->sendToPlayer(object pocketmine\command\ConsoleCommandSender)
#1 plugins/EconomyJobUI-master/src/onebone/economyjob/EconomyJob(149): onebone\economyjob\EconomyJob->FormJob(object pocketmine\command\ConsoleCommandSender)
#2 src/pocketmine/command/PluginCommand(58): onebone\economyjob\EconomyJob->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[3] job, array[0])
#3 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[3] job, array[0])
#4 src/pocketmine/Server(2019): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[3] job)
#5 src/pocketmine/Server(1606): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[3] job)
#6 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#7 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#8 src/pocketmine/Server(2338): pocketmine\snooze\SleeperHandler->sleepUntil(double 1560308604.3538)
#9 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1774): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[52] C:\Users\Administrator\Desktop\PocketMine-MP-stable\, string[60] C:\Users\Administrator\Desktop\PocketMine-MP-stable\plugins\)
#12 (1): require(string[107] phar://C:/Users/Administrator/Desktop/PocketMine-MP-stable/PocketMine-MP.phar/sr)

Loaded Plugins

  • Show

Server Settings

  • Show