menu
#3754483 scandir(): failed to open dir: No such file or directory

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Indirect
Report date: 2020-02-12 20:24:34 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: linux
System banner: Linux 9f4607f8-121d-4e9b-affa-8b6ab4c0290e 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64

Error information

Warning: the AllSigns plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: scandir(): failed to open dir: No such file or directory
File: src/pocketmine/Server
Line: #1215
Error level: ErrorException
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
	 *
* @return bool
*/
public function isLevelGenerated(string $name) : bool{
if(trim($name) === ""){
return false;
}
$path = $this->getDataPath() . "worlds/" . $name . "/";
if(!($this->getLevelByName($name) instanceof Level)){
return is_dir($path) and count(array_filter(scandir($path, SCANDIR_SORT_NONE), function($v){
return $v !== ".." and $v !== ".";
})) > 0;
}

return true;
}

/**
* Searches all levels for the entity with the specified ID.
* Useful for tracking entities across multiple worlds without needing strong references.
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[85] scandir(/home/container/worlds/Arena/): failed to open dir: No such file or dire, string[67] phar:///home/container/PocketMine-MP.phar/src/pocketmine/Server.php, integer 1215, array[2])
#1 src/pocketmine/Server(1215): scandir(string[29] /home/container/worlds/Arena/, integer 2)
#2 plugins/AllSigns_dev-30.phar/src/surva/allsigns/tasks/SignUpdate(32): pocketmine\Server->isLevelGenerated(string[5] Arena)
#3 src/pocketmine/scheduler/TaskHandler(159): surva\allsigns\tasks\SignUpdate->onRun(integer 7621)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 7621)
#5 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 7621)
#6 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 7621)
#7 src/pocketmine/Server(2346): pocketmine\Server->tick()
#8 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1785): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#11 src/pocketmine/PocketMine(291): pocketmine\server()
#12 (1): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show