CLADevs / VanillaX

A plugin which adds Vanilla blocks, items, entities and more to your server.
80 stars 28 forks source link

cant load #3

Closed efor89 closed 3 years ago

efor89 commented 3 years ago

hi i have this error onload

arseError: "syntax error, unexpected 'VanillaX' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)" (EXCEPTION) in "plugins/VanillaX.phar/src/CLADevs/VanillaX/VanillaX" at line 15

xXNiceYT commented 3 years ago

You most likely arent using the lastest version

efor89 commented 3 years ago

same error i use dev #25

efor89 commented 3 years ago

[Server thread/CRITICAL]: ParseError: "syntax error, unexpected 'VanillaX' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)" (EXCEPTION) in "plugins/VanillaX.phar/src/CLADevs/VanillaX/VanillaX" at line 15 [15:09:31] [Server thread/CRITICAL]: #0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(124): BaseClassLoader->loadClass(string[25] CLADevs\VanillaX\VanillaX)

[15:09:31] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/PluginManager(167): class_exists(string[25] CLADevs\VanillaX\VanillaX, boolean 1) [15:09:31] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/plugin/PluginManager(346): pocketmine\plugin\PluginManager->loadPlugin(string[73] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\plugins\VanillaX.phar, array[2]) [15:09:31] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1530): pocketmine\plugin\PluginManager->loadPlugins(string[60] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\plugins) [15:09:31] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[52] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\, string[60] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\plugins) [15:09:31] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/PocketMine(303): pocketmine\server() [15:09:31] [Server thread/CRITICAL]: #8 pmsrc(11): require(string[107] phar://C:/Users/Dennis/Desktop/PocketMine-MP-minigames-hub/PocketMine-MP.phar/sr) [15:09:31] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [15:09:31] [Server thread/EMERGENCY]: Please upload the "C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\crashdumps/Fri_Jan_15-15.09.31-GMT_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

efor89 commented 3 years ago

PocketMine-MP Crash Dump Fri Jan 15 15:11:32 GMT 2021

Error: syntax error, unexpected 'VanillaX' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) File: plugins/VanillaX.phar/src/CLADevs/VanillaX/VanillaX Line: 15 Type: ParseError

THIS CRASH WAS CAUSED BY A PLUGIN

Code: [6] use CLADevs\VanillaX\enchantments\EnchantmentManager; [7] use CLADevs\VanillaX\entities\EntityManager; [8] use CLADevs\VanillaX\items\ItemManager; [9] use CLADevs\VanillaX\session\SessionManager; [10] use pocketmine\plugin\PluginBase; [11] use ReflectionException; [12] [13] class VanillaX extends PluginBase{ [14] [15] private static VanillaX $instance; [16] [17] private EntityManager $entityManager; [18] private BlockManager $blockManager; [19] private ItemManager $itemManager; [20] private SessionManager $sessionManager; [21] private EnchantmentManager $enchantmentManager; [22] [23] public function onLoad(): void{ [24] @mkdir($this->getDataFolder()); [25] self::$instance = $this;

Backtrace:

0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(124): BaseClassLoader->loadClass(string[25] CLADevs\VanillaX\VanillaX)

1 (): BaseClassLoader->{closure}(string[25] CLADevs\VanillaX\VanillaX)

2 (): spl_autoload_call(string[25] CLADevs\VanillaX\VanillaX)

3 pmsrc/src/pocketmine/plugin/PluginManager(167): class_exists(string[25] CLADevs\VanillaX\VanillaX, boolean 1)

4 pmsrc/src/pocketmine/plugin/PluginManager(346): pocketmine\plugin\PluginManager->loadPlugin(string[73] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\plugins\VanillaX.phar, array[2])

5 pmsrc/src/pocketmine/Server(1530): pocketmine\plugin\PluginManager->loadPlugins(string[60] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\plugins)

6 pmsrc/src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[52] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\, string[60] C:\Users\Dennis\Desktop\PocketMine-MP-minigames-hub\plugins)

7 pmsrc/src/pocketmine/PocketMine(303): pocketmine\server()

8 pmsrc(11): require(string[107] phar://C:/Users/Dennis/Desktop/PocketMine-MP-minigames-hub/PocketMine-MP.phar/sr)

PocketMine-MP version: 3.17.1 [Protocol 422] Git commit: 260c55f23a7c630a43f264d94de0b31e5327263d uname -a: Windows NT DESKTOP-ORFVSSK 10.0 build 19041 (Windows 10) AMD64 PHP Version: 7.3.19 Zend version: 3.3.19 OS : WINNT, win Composer libraries:

Loaded plugins: PurePerms 1.4.3 by 64FF00 & ProjectInfinity for API(s) 3.0.0 CustomAlerts 2.1 by EvolSoft for API(s) 3.0.0 CityBuildCommands 1.0.0 by efor89 for API(s) 3.0.0, 4.0.0 PureChat 1.4.11 by 64FF00 for API(s) 3.0.0 MultiWorld 1.5.2 by CzechPMDevs, VixikCZ, fuyutsuki, kaliiks for API(s) 3.0.0 SignCommand 1.0.0 by for API(s) 3.0.0, 4.0.0 CommandLogger 1.0.0 by for API(s) 3.0.0 Perks 2.0.0 by efor89 for API(s) 3.0.0, 4.0.0 BlueReport 1.3 by Plasma for API(s) 3.7.0

efor89 commented 3 years ago

===BEGIN CRASH DUMP=== eNrtW4lv28aa/1dmlWIbLySZhyRKKlwk9fHq1zj2xkrz8OrCGJJDic+8ysO2WvR/39/3zVCiZKdt tsHiYdGghcg5vvscjn/pRXmZyvr2XpVVnGe9+ajfq+NU9eb2xLY8xx3NnOHYtcc2JppCT1nD8cga ue506k4mk9nMcfq9RFb1aVnmZW/+S69eF1jWu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VBmHpsNuv8Nw6/xcxuKEzhm64mKSOzP6cA1aTbrtkq/xMg36UdB3G8oK OnttMc7F2ZvXi7nzldcfzx7tvvvo9p2v7K9CFeQ6xr6sS4UXBNejqaVDsX4bjQ902aPP47uNrfZw yi2QsTl34tKDD46gtWAt9IXWpmyDclvNl5uTfI44gINUFfCXkqoV2KD9CgBb0PXdizMONYyK1+8A abhSMH/J0RkZcLE13B6R5fyXCkLfrDaNUHBH9XLFRT8k4seoVNe6Z+Z1xC9fe090GtE+o7lk+ChG yk2s7vV7/IcOFd8Amf/SO0aF0L1n6QfmutxmhL7AZKEsd8by9DbMawTDnVHzdzfbgaZMuu8UIrrv UZzUagfwMt259blC+ui+x/Cy++4A3eXkb9Uef09Pff05qbuEKjGQH3bHimCX6+3fi+zs5LBf7Q6h QEm7I9dXb7qv6br6KeGrquZJjId0SY/O4QXqCcseWyPLw+MX53AJLwjw32yiJt44moSeo8ZBZEXO xItGU2VPvIDuNDqu+AKw6/xOZSgPdiS2lvw10qFbrHRPNi5YHvZ4SHdVf9bXBDer8fqY7uokJ3Yc y3Jt26GBq5PLHVGF+S2zsj+IoXhXnQgXWVXtLLyOKSD842JHRnsU4JVa0l22MPhQxnvW0bkQ6tJd TLq4DIJXu8a5zda3XIx1L9uSiOKlvoSrL2HyNSMGicchy4gCWui3Fz7Jjst1Uec84PLAMnyi83jH TFg2bneoVPAGcrtlo42xJeefVLNdXvFRynbDr7/+D8ykyeA= ===END CRASH DUMP===

xXNiceYT commented 3 years ago

Thanks, I’ll be looking into it right now.