menu
#4774863 file_put_contents(): failed to open stream: No such file or directory

Submitted by PocketMine-MP 3.17.5

General information

Version: 3.17.5
Git commit: 3a0c8dd5
Plugin involvement: None
Report date: 2021-02-23 01:09:45 +0000 UTC
Server uptime: 0 days 3 hours 26 minutes 59 seconds

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux ip135-148-6-172 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021 x86_64

Error information

Message: file_put_contents(): failed to open stream: No such file or directory
File: pmsrc/src/pocketmine/level/format/io/leveldb/LevelDB
Line: #278
Error level: ErrorException
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
		}
}

public function saveLevelData(){
$this->levelData->setInt("NetworkVersion", ProtocolInfo::CURRENT_PROTOCOL);
$this->levelData->setInt("StorageVersion", self::CURRENT_STORAGE_VERSION);

$nbt = new LittleEndianNBTStream();
$buffer = $nbt->write($this->levelData);
file_put_contents($this->getPath() . "level.dat", (\pack("V", self::CURRENT_STORAGE_VERSION)) . (\pack("V", strlen($buffer))) . $buffer);
}

public function getGenerator() : string{
return $this->levelData->getString("generatorName", "");
}

public function getGeneratorOptions() : array{
return ["preset" => $this->levelData->getString("generatorOptions", "")];
}

#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[136] file_put_contents(/home/minecraft/multicraft/servers/server924/worlds/ARENA/leve, string[102] phar:///home/minecraft/multicraft/jar/1.16.100.phar/src/pocketmine/level/format/, integer 278, array[2])
#1 pmsrc/src/pocketmine/level/format/io/leveldb/LevelDB(278): file_put_contents(string[67] /home/minecraft/multicraft/servers/server924/worlds/ARENA/level.dat, string[1055] ..............DayCycleStopTime.......Difficulty.......ForceGameType....GameType.)
#2 pmsrc/src/pocketmine/level/Level(1173): pocketmine\level\format\io\leveldb\LevelDB->saveLevelData()
#3 pmsrc/src/pocketmine/command/defaults/SaveCommand(56): pocketmine\level\Level->save(boolean 1)
#4 pmsrc/src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\defaults\SaveCommand->execute(object pocketmine\command\ConsoleCommandSender, string[8] save-all, array[0])
#5 pmsrc/src/pocketmine/Server(1810): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[8] save-all)
#6 pmsrc/src/pocketmine/Server(1422): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[8] save-all)
#7 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\Server->pocketmine\{closure}()
#8 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#9 pmsrc/src/pocketmine/Server(2156): pocketmine\snooze\SleeperHandler->sleepUntil(double 1614042585.507)
#10 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#11 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#12 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] /home/minecraft/multicraft/servers/server924/, string[53] /home/minecraft/multicraft/servers/server924/plugins/)
#13 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#14 pmsrc(11): require(string[81] phar:///home/minecraft/multicraft/jar/1.16.100.phar/src/pocketmine/PocketMine.ph)

Loaded Plugins

  • Show

Server Settings

  • Show