menu
#7304511 scandir(phar:///home/container/plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrelcodes\procedure\functions): Failed to open directory: operation failed

Submitted by PocketMine-MP 4.6.1

General information

Version: 4.6.1
Git commit: b20e0453
Plugin involvement: Direct
Report date: 2022-08-06 00:16:50 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux e7fe6667-1b83-4bd0-addb-ed8cb8196217 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64

Error information

Warning: the AcsrelCodes plugin was directly involved in this crash. Please contact the plugin author.
Message: scandir(phar:///home/container/plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrelcodes\procedure\functions): Failed to open directory: operation failed
File: plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrelcodes/AcsrelCodes
Line: #95
Error level: ErrorException
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
        self::$instance = $this;
new FormsManager();
if (!is_dir($this->getDataFolder() . "commands")) mkdir($this->getDataFolder() . "commands");
if (!is_dir($this->getDataFolder() . "recyclebin")) mkdir($this->getDataFolder() . "recyclebin");
if (file_exists($this->getDataFolder() . "events.dat")) $this->events = unserialize(file_get_contents($this->getDataFolder() . "events.dat"));
if (file_exists($this->getDataFolder() . "removeOps.dat")) $this->removeOps = unserialize(file_get_contents($this->getDataFolder() . "removeOps.dat"));
foreach ($this->removeOps as $player) $this->getServer()->removeOp($player);
$this->removeOps = [];
file_put_contents($this->getDataFolder() . "removeOps.dat", serialize($this->removeOps));
foreach (array_diff(scandir((__DIR__ . '\procedure\functions')), [".", "..", "BaseFunction.php"]) as $file) {
/** @var BaseFunction $function */
$function = 'acsrel\acsrelcodes\procedure\functions\\' . str_replace(".php", "", $file);
self::$functionsClasses[strtolower($function::getName())] = $function;
}
foreach (self::$supportedEvents as $event) {
if (!array_key_exists($event, $this->events)) $this->events[$event] = [];
$this->saveEvents();
}
foreach ($this->getAllRecycleBinCommands() as $command) {
if ((microtime(true) - $command->deleted) >= 1209600) {
#0 (): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[150] scandir(phar:///home/container/plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrel, string[93] phar:///home/container/plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrelcodes/Ac, int 95)
#1 plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrelcodes/AcsrelCodes(95): scandir(string[97] phar:///home/container/plugins/AcsrelCodes_v1.0.0.phar/src/acsrel/acsrelcodes\pr)
#2 pmsrc/src/plugin/PluginBase(117): acsrel\acsrelcodes\AcsrelCodes->onEnable()
#3 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1419): pocketmine\plugin\PluginManager->enablePlugin(object acsrel\acsrelcodes\AcsrelCodes#25756)
#5 pmsrc/src/Server(1024): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#25752)
#6 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(327): pocketmine\server()
#8 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show