Closed ghost closed 6 years ago
This is a compatibility issue caused by using the API updater on https://pmt.mcpe.fun/
@ElementalMinecraftGaming Please use the issue creation template when creating issues on this repository. I'm going to have to mark it invalid otherwise. @95CivicSi The issue was caused by some flawed SQL within the SQLite3 Provider. Please don't mislead the issue creator as to what the issue is.
Also, this issue isn't the latest version of MyPlot
I have a minigame server but I have tried to add plots...and then when I try to load the plugin it brakes. On the first run the plugin worked without complaint but when you try to turn on the server again, it won't enable because of a stupid error that I don't know how to fix. I have been told to delete the files and load it again but I don't want to do that every time because it doesn't save player claims. Please help. Please don't tell me to go to the forum as it won't let me post. I made no edits.
First load:
[11:25:43] [Server thread/NOTICE]: [MyPlot] Loading... [11:25:44] [Server thread/INFO]: Loading PureChat v1.4.10-4 [11:25:44] [Server thread/INFO]: Enabling AlwaysSpawn v2.2.3-4 [11:25:44] [Server thread/INFO]: AlwaysSpawn Enabled! [11:25:44] [Server thread/INFO]: Enabling Colormatic v1.0.0 [11:25:44] [Server thread/INFO]: [Colormatic] Colormatic Loaded! [11:25:44] [Server thread/INFO]: Enabling CustomAlerts v1.7.2-3 [11:25:44] [Server thread/INFO]: Enabling DevTools v1.12.8 [11:25:44] [Server thread/INFO]: [DevTools] Registered folder plugin loader [11:25:44] [Server thread/INFO]: Enabling MyPlot v1.2.2 [11:25:44] [Server thread/NOTICE]: [MyPlot] Enabled!
All of those plugins except MyPlot loaded on second load
Second load:
[10:47:34] [Server thread/NOTICE]: [MyPlot] Loading... [10:47:34] [Server thread/CRITICAL]: ErrorException: "SQLite3::exec(): duplicate column name: done" (EXCEPTION) in "MyPlot_v1.2.2.phar/src/MyPlot/provider/SQLiteDataProvider" at line 33
[10:47:34] [Server thread/DEBUG]: #1 MyPlot_v1.2.2.phar/src/MyPlot/provider/SQLiteDataProvider(33): SQLite3->exec(string ALTER TABLE plots ADD COLUMN done INTEGER;) [10:47:34] [Server thread/DEBUG]: #2 MyPlot_v1.2.2.phar/src/MyPlot/MyPlot(579): MyPlot\provider\SQLiteDataProvider->construct(MyPlot\MyPlot object, integer 256) [10:47:34] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PharPluginLoader(112): MyPlot\MyPlot->onLoad() [10:47:34] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PharPluginLoader(65): pocketmine\plugin\PharPluginLoader->initPlugin(MyPlot\MyPlot object, pocketmine\plugin\PluginDescription object, string C:\Users\mathe_000\Documents\PocketMine-MP\plugins\MyPlot, string phar://C:\Users\mathe_000\Documents\PocketMine-MP\plugins\MyPlot_v1.2.2.phar) [10:47:34] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(161): pocketmine\plugin\PharPluginLoader->loadPlugin(string phar://C:\Users\mathe_000\Documents\PocketMine-MP\plugins\MyPlot_v1.2.2.phar) [10:47:34] [Server thread/DEBUG]: #6 src/pocketmine/plugin/PluginManager(319): pocketmine\plugin\PluginManager->loadPlugin(string C:\Users\mathe_000\Documents\PocketMine-MP\plugins\MyPlot_v1.2.2.phar, array Array()) [10:47:34] [Server thread/DEBUG]: #7 src/pocketmine/Server(1651): pocketmine\plugin\PluginManager->loadPlugins(string C:\Users\mathe_000\Documents\PocketMine-MP\plugins) [10:47:34] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(554): pocketmine\Server->construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\mathe_000\Documents\PocketMine-MP\, string C:\Users\mathe_000\Documents\PocketMine-MP\plugins) [10:47:34] [Server thread/DEBUG]: #9 C:/Users/mathe_000/Documents/PocketMine-MP/PocketMine-MP.phar(1): require(string phar://C:/Users/mathe_000/Documents/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php) [10:47:34] [Server thread/CRITICAL]: Could not load plugin 'MyPlot'