menu
#7557969 file_get_contents(phar://C:/Users/A/OneDrive/Masaüstü/PocketMine-MP/PocketMine-MP.phar/vendor/pocketmine/bedrock-data/vanilla/block_id_map.json): Failed to open stream: phar error: "vendor/pocketmine/bedrock-data/vanilla/block_id_map.json" is not a file in phar "C:/Users/A/OneDrive/Masaüstü/PocketMine-MP/PocketMine-MP.phar"

Submitted by PocketMine-MP 4.8.1

General information

Version: 4.8.1
Git commit: 0a92e91a
Plugin involvement: Direct
Report date: 2022-09-23 06:09:53 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.12
JIT status: Disabled
Operating system: win
System banner: Windows NT DESKTOP-PTDF15E 10.0 build 19044 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: file_get_contents(phar://C:/Users/A/OneDrive/Masaüstü/PocketMine-MP/PocketMine-MP.phar/vendor/pocketmine/bedrock-data/vanilla/block_id_map.json): Failed to open stream: phar error: "vendor/pocketmine/bedrock-data/vanilla/block_id_map.json" is not a file in phar "C:/Users/A/OneDrive/Masaüstü/PocketMine-MP/PocketMine-MP.phar"
File: plugins/LibraVanilla/src/libra/vanilla/utils/Utils
Line: #51
Error level: ErrorException
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
        }
}

/**
* @return int[]
*/
public static function getBlockIdsMap(): array{
$file = "block_id_map.json";
var_dump(BEDROCK_DATA_PATH);
return array_merge(json_decode(file_get_contents(BEDROCK_DATA_PATH . "vanilla/$file"), true));
}

/**
* @return int[]
*/
public static function getItemIdsMap(): array{
$file = "item_id_map.json";
return array_merge(json_decode(file_get_contents(BEDROCK_DATA_PATH . "vanilla/$file"), true));
}

#0 (): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[329] file_get_contents(phar://C:/Users/A/OneDrive/Masa..st../PocketMine-MP/PocketMine, string[99] C:\Users\A\OneDrive\Masa..st..\PocketMine-MP\plugins\LibraVanilla\src\libra\vani, int 51)
#1 plugins/LibraVanilla/src/libra/vanilla/utils/Utils(51): file_get_contents(string[127] phar://C:/Users/A/OneDrive/Masa..st../PocketMine-MP/PocketMine-MP.phar/vendor/po)
#2 plugins/LibraVanilla/src/libra/vanilla/blocks/IBlockFactory(37): libra\vanilla\utils\Utils::getBlockIdsMap()
#3 plugins/LibraVanilla/src/libra/vanilla/LibraVanilla(15): libra\vanilla\blocks\IBlockFactory->init()
#4 pmsrc/src/plugin/PluginBase(75): libra\vanilla\LibraVanilla->onLoad()
#5 pmsrc/src/plugin/PluginManager(213): pocketmine\plugin\PluginBase->__construct(object DevTools\FolderPluginLoader#21914, object pocketmine\Server#10, object pocketmine\plugin\PluginDescription#21932, string[69] C:/Users/A/OneDrive/Masa..st../PocketMine-MP/plugin_data/LibraVanilla, string[65] C:\Users\A\OneDrive\Masa..st..\PocketMine-MP\plugins\LibraVanilla, object pocketmine\plugin\DiskResourceProvider#21913)
#6 pmsrc/src/plugin/PluginManager(362): pocketmine\plugin\PluginManager->internalLoadPlugin(string[65] C:\Users\A\OneDrive\Masa..st..\PocketMine-MP\plugins\LibraVanilla, object DevTools\FolderPluginLoader#21914, object pocketmine\plugin\PluginDescription#21932)
#7 pmsrc/src/Server(1007): pocketmine\plugin\PluginManager->loadPlugins(string[53] C:\Users\A\OneDrive\Masa..st..\PocketMine-MP\plugins\, int 0)
#8 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[45] C:\Users\A\OneDrive\Masa..st..\PocketMine-MP\, string[53] C:\Users\A\OneDrive\Masa..st..\PocketMine-MP\plugins\)
#9 pmsrc/src/PocketMine(328): pocketmine\server()
#10 pmsrc(11): require(string[89] phar://C:/Users/A/OneDrive/Masa..st../PocketMine-MP/PocketMine-MP.phar/src/Pocke)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show