menu
#3749259 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.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Direct
Report date: 2020-02-12 07:59:22 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux www 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64

Error information

Warning: the MeRpgSkill 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/MeRpgSkill_v1.1.8.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/MeShopGuiPlus_v1.0.2.phar/src/MeKO/MeShopGuiPlus/MeShopGuiPlus(362): jojoe77777\FormAPI\Form->sendToPlayer(object pocketmine\command\ConsoleCommandSender)
#1 plugins/MeShopGuiPlus_v1.0.2.phar/src/MeKO/MeShopGuiPlus/MeShopGuiPlus(42): MeKO\MeShopGuiPlus\MeShopGuiPlus->sendGui(object pocketmine\command\ConsoleCommandSender)
#2 src/pocketmine/command/PluginCommand(58): MeKO\MeShopGuiPlus\MeShopGuiPlus->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[4] shop, array[0])
#3 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[4] shop, array[0])
#4 src/pocketmine/Server(2026): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[4] shop)
#5 src/pocketmine/Server(1617): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[4] shop)
#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(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1581494362.64)
#9 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1785): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /home/xia/pm/, string[21] /home/xia/pm/plugins/)
#12 src/pocketmine/PocketMine(295): pocketmine\server()
#13 (1): require(string[68] phar:///home/xia/pm/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show