menu
#4775072 getimagesize(/home/container/plugin_data/Modos_Naruto_X/saveskin/http_asca.png): failed to open stream: No such file or directory

Submitted by PocketMine-MP 3.17.5

General information

Version: 3.17.5
Git commit: 3a0c8dd5
Plugin involvement: Direct
Report date: 2021-02-23 03:09:12 +0000 UTC
Server uptime: 0 days 0 hours 30 minutes 42 seconds

System Information

PHP version: 7.4.14
Operating system: linux
System banner: Linux c1815309-35cc-457d-b8a7-f68b03069469 5.8.0-36-generic #40-Ubuntu SMP Tue Jan 5 21:54:35 UTC 2021 x86_64

Error information

Warning: the Modos_Naruto_X plugin was directly involved in this crash. Please contact the plugin author.
Message: getimagesize(/home/container/plugin_data/Modos_Naruto_X/saveskin/http_asca.png): failed to open stream: No such file or directory
File: plugins/Modos.phar/src/TungstenVn/Clothes/skinStuff/resetSkin
Line: #20
Error level: ErrorException
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30


public function setSkin(Player $player)
{
$skin = $player->getSkin();
$name = $player->getName();
$path = Clothes::$instance->getDataFolder() . "saveskin/" . $name . ".png";

$img = @imagecreatefrompng($path);
$size = getimagesize($path);
$skinbytes = "";
for ($y = 0; $y < $size[1]; $y++) {
for ($x = 0; $x < $size[0]; $x++) {
$colorat = @imagecolorat($img, $x, $y);
$a = ((~((int)($colorat >> 24))) << 1) & 0xff;
$r = ($colorat >> 16) & 0xff;
$g = ($colorat >> 8) & 0xff;
$b = $colorat & 0xff;
$skinbytes .= chr($r) . chr($g) . chr($b) . chr($a);
}
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[129] getimagesize(/home/container/plugin_data/Modos_Naruto_X/saveskin/http_asca.png):, string[88] phar:///home/container/plugins/Modos.phar/src/TungstenVn/Clothes/skinStuff/reset, integer 20, array[5])
#1 plugins/Modos.phar/src/TungstenVn/Clothes/skinStuff/resetSkin(20): getimagesize(string[65] /home/container/plugin_data/Modos_Naruto_X/saveskin/http_asca.png)
#2 plugins/Modos.phar/src/TungstenVn/Clothes/Clothes(158): TungstenVn\Clothes\skinStuff\resetSkin->setSkin(object JackMD\NameSpaceRemover\CustomPlayer)
#3 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): TungstenVn\Clothes\Clothes->onQuit(object pocketmine\event\player\PlayerQuitEvent)
#4 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object TungstenVn\Clothes\Clothes, object pocketmine\event\player\PlayerQuitEvent)
#5 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent)
#6 pmsrc/src/pocketmine/Player(3683): pocketmine\event\Event->call()
#7 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(122): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[17] client disconnect)
#8 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(127): pocketmine\network\mcpe\RakLibInterface->closeSession(string[20] 179.222.35.246 51813, string[17] client disconnect)
#9 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#10 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/src/pocketmine/Server(2156): pocketmine\snooze\SleeperHandler->sleepUntil(double 1614049752.9251)
#14 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#15 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#16 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#17 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#18 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show