menu
#4583267 opendir(/home/gs-41813/plugin_data/SkyWarsPC/arenas): failed to open dir: No such file or directory

Submitted by PocketMine-MP 3.15.2

General information

Version: 3.15.2
Git commit: d7a66ad7
Plugin involvement: Direct
Report date: 2020-10-17 22:54:51 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux d4aaf08b0a24 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:27:52 UTC 2020 x86_64

Error information

Warning: the SkyWarsPC plugin was directly involved in this crash. Please contact the plugin author.
Message: opendir(/home/gs-41813/plugin_data/SkyWarsPC/arenas): failed to open dir: No such file or directory
File: plugins/SkyWars (1).phar/src/SkyWarsPC/Arena/ArenaManager
Line: #188
Error level: ErrorException
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
	}


/**
* @return array
*/
public static function getAllArenas(): array
{
$arenas = [];
if ($handle = opendir(SkyWars::getInstance()->getDataFolder() . 'arenas')) {
while (false !== ($entry = readdir($handle))) {
if ($entry !== '.' && $entry !== '..') {
$parsedArena = explode('.',basename($entry));
$arenas[] = $parsedArena[0];
}
}
closedir($handle);
}
return array_filter($arenas);
}
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[99] opendir(/home/gs-41813/plugin_data/SkyWarsPC/arenas): failed to open dir: No suc, string[83] phar:///home/gs-41813/plugins/SkyWars (1).phar/src/SkyWarsPC/Arena/ArenaManager., integer 188, array[1])
#1 plugins/SkyWars (1).phar/src/SkyWarsPC/Arena/ArenaManager(188): opendir(string[43] /home/gs-41813/plugin_data/SkyWarsPC/arenas)
#2 plugins/SkyWars (1).phar/src/SkyWarsPC/Scheduler/GameTask(62): SkyWarsPC\Arena\ArenaManager::getAllArenas()
#3 src/pocketmine/scheduler/TaskHandler(137): SkyWarsPC\Scheduler\GameTask->onRun(integer 241)
#4 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 241)
#5 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 241)
#6 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 241)
#7 src/pocketmine/Server(2154): pocketmine\Server->tick()
#8 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1588): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41813/, string[23] /home/gs-41813/plugins/)
#11 src/pocketmine/PocketMine(304): pocketmine\server()
#12 (11): require(string[95] phar:///pro/bin/mcpe/pocketmine-stable-1.16.20/PocketMine-MP.phar/src/pocketmine)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies