menu
#3759868 opendir(/root/PT/testbysipsam/plugins/PT/player/): failed to open dir: No such file or directory

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-02-13 08:34:18 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux sksfeel12.cafe24.com 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64

Error information

Warning: the PT plugin was directly involved in this crash. Please contact the plugin author.
Message: opendir(/root/PT/testbysipsam/plugins/PT/player/): failed to open dir: No such file or directory
File: plugins/PT.phar/src/pt/data/PlayerData
Line: #69
Error level: ErrorException
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
				}elseif($mod == 'decrease' || $mod == 'dec' || $mod == 'd'){
$array[$info] -= $change;
}
file_put_contents($dir.$name.'.yml', yaml_emit($array));
}
return;
}
}
public function getFiles($dir){
$handle = opendir($dir);
$files = [];
while ($filename = readdir($handle)) {
if($filename == '.' || $filename == '..') continue;
$filepath = $dir.$filename;
if(is_file($filepath)){
array_push($files, $filename);
}
}
closedir($handle);
sort($files);
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[96] opendir(/root/PT/testbysipsam/plugins/PT/player/): failed to open dir: No such f, string[71] phar:///root/PT/testbysipsam/plugins/PT.phar/src/pt/data/PlayerData.php, integer 69, array[1])
#1 plugins/PT.phar/src/pt/data/PlayerData(69): opendir(string[40] /root/PT/testbysipsam/plugins/PT/player/)
#2 plugins/PT.phar/src/pt/data/PlayerData(35): pt\data\PlayerData->getFiles(string[40] /root/PT/testbysipsam/plugins/PT/player/)
#3 plugins/PT.phar/src/pt/task/AutoHealingTask(14): pt\data\PlayerData->getPlayerData(object pocketmine\Player, string[8] customhp)
#4 src/pocketmine/scheduler/TaskHandler(169): pt\task\AutoHealingTask->onRun(integer 6241)
#5 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 6241)
#6 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 6241)
#7 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 6241)
#8 src/pocketmine/Server(2403): pocketmine\Server->tick()
#9 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1811): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[22] /root/PT/testbysipsam/, string[30] /root/PT/testbysipsam/plugins/)
#12 src/pocketmine/PocketMine(297): pocketmine\server()
#13 (1): require(string[77] phar:///root/PT/testbysipsam/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show