menu
#4550178 file_get_contents(): failed to open stream: phar error: internal corruption of phar "/home/gs10510/Server/plugins/EC-TableUI.phar" (actual filesize mismatch on file "icon.png")

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-26 16:29:37 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux c4412420c393 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64

Error information

Warning: the DevTools plugin was directly involved in this crash. Please contact the plugin author.
Message: file_get_contents(): failed to open stream: phar error: internal corruption of phar "/home/gs10510/Server/plugins/EC-TableUI.phar" (actual filesize mismatch on file "icon.png")
File: plugins/PocketMine-DevTools.phar/src/DevTools/commands/ExtractPluginCommand
Line: #91
Error level: ErrorException
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

$reflection = new \ReflectionClass(PluginBase::class);
$file = $reflection->getProperty("file");
$file->setAccessible(true);
$pharPath = str_replace("\\", "/", rtrim($file->getValue($plugin), "\\/"));

foreach(new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($pharPath)) as $fInfo){
$path = $fInfo->getPathname();
@mkdir(dirname($folderPath . str_replace($pharPath, "", $path)), 0755, true);
file_put_contents($folderPath . str_replace($pharPath, "", $path), file_get_contents($path));
}
$sender->sendMessage("Source plugin " . $description->getName() . " v" . $description->getVersion() . " has been created on " . $folderPath);
return true;
}
}
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[236] file_get_contents(phar:///home/gs10510/Server/plugins/EC-TableUI.phar/icon.png):, string[107] phar:///home/gs10510/Server/plugins/PocketMine-DevTools.phar/src/DevTools/comman, integer 91, array[12])
#1 plugins/PocketMine-DevTools.phar/src/DevTools/commands/ExtractPluginCommand(91): file_get_contents(string[60] phar:///home/gs10510/Server/plugins/EC-TableUI.phar/icon.png)
#2 src/pocketmine/command/SimpleCommandMap(248): DevTools\commands\ExtractPluginCommand->execute(object pocketmine\command\RemoteConsoleCommandSender, string[13] extractplugin, array[1])
#3 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\RemoteConsoleCommandSender, string[24] extractplugin EC-TableUI)
#4 src/pocketmine/network/rcon/RCON(138): pocketmine\Server->dispatchCommand(object pocketmine\command\RemoteConsoleCommandSender, string[24] extractplugin EC-TableUI)
#5 src/pocketmine/network/rcon/RCON(106): pocketmine\network\rcon\RCON->check()
#6 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\rcon\RCON->pocketmine\network\rcon\{closure}()
#7 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#8 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1601137777.6129)
#9 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1588): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[21] /home/gs10510/Server/, string[29] /home/gs10510/Server/plugins/)
#12 src/pocketmine/PocketMine(304): pocketmine\server()
#13 (11): require(string[76] phar:///home/gs10510/Server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies