menu
#7863655 FantasyGirl1988\SendPlugin\Main::FantasyGirl1988\SendPlugin\{closure}(): Argument #2 ($data) must be of type array, null given, called in phar:///home/container/plugins/FormAPI.phar/src/jojoe77777/FormAPI/Form.php on line 46

Submitted by PocketMine-MP 4.10.0

General information

Version: 4.10.0
Git commit: 0d5287bf
Plugin involvement: Direct
Report date: 2022-11-24 18:56:00 +0000 UTC
Server uptime: 4 days 5 hours 40 minutes 16 seconds

System Information

PHP version: 8.0.22
JIT status: Not available
Operating system: linux
System banner: Linux 3bcc0547-3209-48e0-b924-b093c647b204 5.4.0-132-generic #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022 x86_64

Error information

Warning: the SendPlugin plugin was directly involved in this crash. Please contact the plugin author.
Message: FantasyGirl1988\SendPlugin\Main::FantasyGirl1988\SendPlugin\{closure}(): Argument #2 ($data) must be of type array, null given, called in phar:///home/container/plugins/FormAPI.phar/src/jojoe77777/FormAPI/Form.php on line 46
File: plugins/SendPlugin (70).phar/src/FantasyGirl1988/SendPlugin/Main
Line: #263
Error level: TypeError
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
    });
$teamchatmenu->setTitle("§aTeamChat");
$teamchatmenu->addLabel("§aWillkommen, §e" . $player->getName() . " §ain Teamchat Menu!");
$teamchatmenu->addInput("§aSchreibe hier deine Nachricht hinein:", "Ich liebe dieses Plugin....");
$teamchatmenu->sendToPlayer($player);
return $teamchatmenu;
}

public function msgsupporter(Player $player){
$msgsupporter = new CustomForm(function(Player $player, array $data){
if($data === null){
$player->sendMessage("§l§6SUPPORT SYSTEM §r§8» §aDu hast das Menu geschlossen!");
return true;
}
foreach($this->getServer()->getOnlinePlayers() as $players){
if($players->hasPermission("sup.see") && Server::getInstance()->isOp($players->getName())){
$players->sendMessage("§l§6SUPPORT SYSTEM §r§8» §e" . $player->getName() . " §8» §7" . $data[1]);
}
}
});
#0 plugins/FormAPI.phar/src/jojoe77777/FormAPI/Form(46): FantasyGirl1988\SendPlugin\Main->FantasyGirl1988\SendPlugin\{closure}(object pocketmine\player\Player#135623, null)
#1 pmsrc/src/player/Player(2038): jojoe77777\FormAPI\Form->handleResponse(object pocketmine\player\Player#135623, null)
#2 pmsrc/src/network/mcpe/handler/InGamePacketHandler(890): pocketmine\player\Player->onFormSubmit(int 1, null)
#3 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(63): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#160115)
#4 pmsrc/src/network/mcpe/NetworkSession(410): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#175249)
#5 pmsrc/src/network/mcpe/NetworkSession(373): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#160115, string[5] e....)
#6 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[8] cMed`d..)
#7 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 5, string[17] .E...`.W...F...p.)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#102331)
#9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#11 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1669316160.0885)
#12 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#13 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#14 pmsrc/src/PocketMine(328): pocketmine\server()
#15 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show