menu
#7305724 copy(/home/container/plugin_data/CustomWing/steve.png): Failed to open stream: No such file or directory

Submitted by PocketMine-MP 4.6.0

General information

Version: 4.6.0
Git commit: 3ccd288a
Plugin involvement: Direct
Report date: 2022-08-06 05:11:05 +0000 UTC
Server uptime: 0 days 0 hours 25 minutes 23 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux 78eb8ef1-9351-4ec7-8e5a-11805de3548f 5.13.0-1031-azure #37~20.04.1-Ubuntu SMP Mon Jun 13 22:51:01 UTC 2022 x86_64

Error information

Warning: the CustomWing plugin was directly involved in this crash. Please contact the plugin author.
Message: copy(/home/container/plugin_data/CustomWing/steve.png): Failed to open stream: No such file or directory
File: plugins/CustomWing_v1.5 - Remake.phar/src/CustomWing/Main
Line: #64
Error level: ErrorException
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
        $packet = $ev->getPacket();
$player = $ev->getOrigin()->getPlayer();
if ($packet instanceof LoginPacket) {
$data = self::decodeClientData($packet->clientDataJwt);
$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();
$saveSkin->saveSkin(base64_decode($data->SkinData, true), $name);
}
}

public function onQuit(PlayerQuitEvent $ev)
#0 (): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[104] copy(/home/container/plugin_data/CustomWing/steve.png): Failed to open stream: N, string[84] phar:///home/container/plugins/CustomWing_v1.5 - Remake.phar/src/CustomWing/Main, int 64)
#1 plugins/CustomWing_v1.5 - Remake.phar/src/CustomWing/Main(64): copy(string[48] /home/container/plugin_data/CustomWing/steve.png, string[65] /home/container/plugin_data/CustomWing/saveskin/Albertus44888.png)
#2 pmsrc/src/event/RegisteredListener(60): CustomWing\Main->dataReceiveEv(object pocketmine\event\server\DataPacketReceiveEvent#150242)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent#150242)
#4 pmsrc/src/network/mcpe/NetworkSession(391): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(355): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\LoginPacket#151476, string[589209] .......#....{"chain":["eyJhbGciOiJFUzM4NCIsIng1dSI6Ik1IWXdFQVlIS29aSXpqMENBUVlGS)
#6 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[26478] ...................!..].W.....D...p........brs..8M?...o...8SJQ.*[email protected]/V..9JR^)
#7 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[26479] ....................!..].W.....D...p........brs..8M?...o...8SJQ.*[email protected]/V..9JR)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#103778)
#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(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1659762665.0805)
#12 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#13 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#14 pmsrc/src/PocketMine(327): 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