menu
#5038177 Undefined index: ThirdPartyName

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: Direct
Report date: 2021-07-22 01:47:52 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 15 seconds

System Information

PHP version: 7.4.21
Operating system: linux
System banner: Linux 18ca89db-e659-4dae-98b2-3dee642572bd 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64

Error information

Warning: the Clothes plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: ThirdPartyName
File: plugins/Clothes_dev-71.phar/src/TungstenVn/Clothes/Clothes
Line: #98
Error level: ErrorException
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
                    $player->sendMessage("┬žaSuccessfully changing entity skin");
}
}
}
}
public function dataReceiveEv(DataPacketReceiveEvent $ev)
{
if ($ev->getPacket() instanceof LoginPacket) {
$data = $ev->getPacket()->clientData;
$name = $data["ThirdPartyName"];
if ($data["PersonaSkin"]) {
if (!file_exists($this->getDataFolder() . "saveskin")) {
mkdir($this->getDataFolder() . "saveskin", 0777);
}
copy($this->getDataFolder()."steve.png",$this->getDataFolder() . "saveskin/$name.png");
return;
}
if ($data["SkinImageHeight"] == 32) {
}
$saveSkin = new saveSkin();
#0 plugins/Clothes_dev-71.phar/src/TungstenVn/Clothes/Clothes(98): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[31] Undefined index: ThirdPartyName, string[85] phar:///home/container/plugins/Clothes_dev-71.phar/src/TungstenVn/Clothes/Clothe, integer 98, array[2])
#1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): TungstenVn\Clothes\Clothes->dataReceiveEv(object pocketmine\event\server\DataPacketReceiveEvent)
#2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object TungstenVn\Clothes\Clothes, object pocketmine\event\server\DataPacketReceiveEvent)
#3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
#4 pmsrc/src/pocketmine/plugin/PluginManager(677): pocketmine\event\Event->call()
#5 plugins/Specter_forked.phar/src/specter/network/SpecterInterface(302): pocketmine\plugin\PluginManager->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
#6 plugins/Specter_forked.phar/src/specter/network/SpecterInterface(236): specter\network\SpecterInterface->sendPacket(object specter\network\SpecterPlayer, object [email protected]/Specter_forked.phar/src/specter/network/SpecterInterface#L202)
#7 plugins/Specter_forked.phar/src/specter/Specter(54): specter\network\SpecterInterface->openSession(string[3] bot, string[7] SPECTER, integer 19133)
#8 pmsrc/src/pocketmine/command/PluginCommand(54): specter\Specter->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[1] s, array[2])
#9 pmsrc/src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[1] s, array[2])
#10 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[11] s spawn bot)
#11 pmsrc/src/pocketmine/Server(1422): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[11] s spawn bot)
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\Server->pocketmine\{closure}()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#14 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1626918472.7555)
#15 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#16 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#17 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#18 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#19 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show