menu
#7305620 getimagesize(/home/container/plugin_data/CustomWing/skin/devil.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 04:42:32 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 46 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: getimagesize(/home/container/plugin_data/CustomWing/skin/devil.png): Failed to open stream: No such file or directory
File: plugins/CustomWing_v1.5.phar/src/CustomWing/setSkin
Line: #61
Error level: ErrorException
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
        imagesavealpha($down, true);
imagecopymerge($down, $upper, 0, 0, 0, 0, $size[0], $size[1], 100);
imagepng($down, $path . 'temp.png');
return Main::$instance->getDataFolder() . 'temp.png';

}

public function resize_image($file, $w, $h, $crop = FALSE)
{
list($width, $height) = getimagesize($file);
$r = $width / $height;
if ($crop) {
if ($width > $height) {
$width = ceil($width - ($width * abs($r - $w / $h)));
} else {
$height = ceil($height - ($height * abs($r - $w / $h)));
}
$newwidth = $w;
$newheight = $h;
} else {
#0 (): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[117] getimagesize(/home/container/plugin_data/CustomWing/skin/devil.png): Failed to o, string[78] phar:///home/container/plugins/CustomWing_v1.5.phar/src/CustomWing/setSkin.php, int 61)
#1 plugins/CustomWing_v1.5.phar/src/CustomWing/setSkin(61): getimagesize(string[53] /home/container/plugin_data/CustomWing/skin/devil.png)
#2 plugins/CustomWing_v1.5.phar/src/CustomWing/setSkin(46): CustomWing\setSkin->resize_image(string[53] /home/container/plugin_data/CustomWing/skin/devil.png, int 64, int 64)
#3 plugins/CustomWing_v1.5.phar/src/CustomWing/setSkin(20): CustomWing\setSkin->imgTricky(string[62] /home/container/plugin_data/CustomWing/saveskin/ItzMeFoxy1.png, string[5] devil, string[4] skin, array[3])
#4 plugins/CustomWing_v1.5.phar/src/CustomWing/Main(159): CustomWing\setSkin->setSkin(object pocketmine\player\Player#104477, string[5] devil)
#5 plugins/FormAPI-PM4.phar/src/jojoe77777/FormAPI/Form(33): CustomWing\Main->CustomWing\{closure}(object pocketmine\player\Player#104477, int 7)
#6 pmsrc/src/player/Player(2011): jojoe77777\FormAPI\Form->handleResponse(object pocketmine\player\Player#104477, int 7)
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(871): pocketmine\player\Player->onFormSubmit(int 1, int 7)
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(46): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#140096)
#9 pmsrc/src/network/mcpe/NetworkSession(392): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#133866)
#10 pmsrc/src/network/mcpe/NetworkSession(355): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#140096, string[5] e..7.)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[60] [email protected];;[email protected]@..x};P...)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[69] .s.%.1..|.G.]%7...#[email protected]#[email protected]:..w..J.........e..D.#[email protected]<....cC[i......)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#103563)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1659760952.5463)
#17 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show